Method for acquiring dislocation space coordinates in crystal material in molecular dynamics simulation and method for determining dislocation slippage trajectory and slippage speed in crystal material
By segmenting and averaging dislocation fragments, combined with time series data, the analysis of dislocation slip trajectory and velocity in molecular dynamics simulation is simplified, and the problem of analysis complexity in the existing technology is solved, and the operation is simple and fast acquisition of dislocation slip trajectory and velocity.
Patent Information
- Application Number
- CN202411101282.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-12
AI Technical Summary
It is difficult to identify and determine the slip trajectory and slip speed of crystal material dislocations in molecular dynamics simulation. The existing methods require researchers to be familiar with the standard spatial positional relationship of the material and have strong programming capabilities, which leads to complex and difficult analysis process. .
By obtaining a stereoscopic map of the crystal material, establishing a three-dimensional coordinate system, dividing the dislocations into multiple fragments, calculating the coordinates of each fragment and averaging the weights, and drawing the slip trajectory and velocity map with time series data, simplifying the dislocation coordinate position Its slip trajectory and speed acquisition.
It realizes simple and rapid processing of dislocation coordinate position and its slip trajectory and speed, reducing the requirements for researchers' material theoretical knowledge reserve and programming ability, and is more applicable.
Smart Images

Figure CN119007841A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of molecular dynamics simulation calculation, and in particular to a method for obtaining the spatial coordinates of dislocations in a crystal material and a method for determining the slip trajectory and slip velocity of dislocations in a crystal material in a molecular dynamics simulation. Background Art
[0002] The study of the dynamic behavior of dislocations in crystalline materials generally includes experimental methods and simulation methods. Experimental methods generally have disadvantages such as complex operation, high randomness, and low success rate. The molecular dynamics (MD) method has been widely used to simulate the dynamic behavior of dislocations such as slip and accumulation during the deformation and fracture of crystalline materials under external stress due to its obvious advantages in modeling breadth, research scale, and result presentation. However, during molecular dynamics simulation, it is still difficult to identify and determine the position of dislocations at different times, so as to finally clarify the slip trajectory and slip velocity of dislocations.
[0003] There are many methods for identifying dislocations in molecular dynamics simulations. For example, first obtain the spatial coordinate positions of all atoms in the crystal configuration, then calculate the spatial orientation relationship between each atom and the atoms within a certain range around it. When this orientation relationship conforms to certain rules, the corresponding area is judged to be an atomic dislocation area, and whether it is a dislocation is determined. The disadvantages of this method are as follows: (1) Researchers must be familiar with the standard spatial orientation relationship of the atomic arrangement in the material being studied and the spatial orientation relationship of the atomic arrangement in the dislocation area, that is, they must have a complete reserve of basic knowledge of material theory; (2) This method requires self-programming, which requires researchers to have strong programming skills. Based on the above two disadvantages, the implementation process of dislocation identification is complicated and difficult. Summary of the invention
[0004] The purpose of the present invention is to overcome the problem that it is difficult to analyze the slip trajectory and slip velocity of dislocations in the prior art, and to provide a method for obtaining the spatial coordinates of dislocations in a crystal material in a molecular dynamics simulation and a method for determining the slip trajectory and slip velocity of dislocations in a crystal material. The method has the advantages of simple operation and fast processing.
[0005] In order to achieve the above object, a first aspect of the present invention provides a method for obtaining the spatial coordinates of dislocations in a crystal material, the method comprising the following steps:
[0006] obtaining a stereogram of a crystal configuration of a crystalline material including a dislocation;
[0007] Establishing a three-dimensional coordinate system based on the stereogram of the crystal configuration;
[0008] dividing the dislocation into a plurality of dislocation segments;
[0009] Obtaining the coordinates of each of the dislocation fragments on the X-axis, Y-axis and Z-axis in the three-dimensional coordinate system;
[0010] Based on the weight algorithm, the coordinates of all the dislocation fragments on the X-axis, Y-axis and Z-axis are weighted respectively to obtain the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis.
[0011] The second aspect of the present invention provides a method for determining the slip trajectory and slip velocity of dislocations in a crystal material, wherein a stereogram of the crystal configuration at the corresponding time is saved every Δt within the time 0-t, and the method provided by the first aspect of the present invention is used to obtain the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis at the corresponding time in the stereogram, and a spectrum is drawn with the average coordinates of the dislocation in the three-dimensional coordinate system within the time 0-t to obtain the slip trajectory of the dislocation;
[0012] The dislocation coordinates at time t+Δt Subtract the dislocation coordinates at time t Obtain the slip displacement ΔS of the dislocation in the direction parallel to the X-axis, Y-axis, and Z-axis in the Δt time period x , ΔS y , ΔS z , divide the slip displacement by Δt to obtain the slip velocity ΔV of the dislocation in the direction parallel to the X-axis, Y-axis, and Z-axis in the Δt time period x , ΔV y , ΔV z ;
[0013] With t as the horizontal axis, the sliding displacement ΔS in a series of Δt time periods x , ΔS y , ΔS z Draw a graph for the ordinate to obtain the slip displacement variation law of the dislocation in the corresponding directions parallel to the X-axis, Y-axis, and Z-axis;
[0014] With t as the horizontal axis, the slip velocity ΔV in a series of Δt time periods x , ΔV y , ΔV z A spectrum is drawn for the ordinate to obtain the slip velocity law of the dislocation in the corresponding directions parallel to the X-axis, Y-axis, and Z-axis.
[0015] Through the above technical solution, the coordinate position of the dislocation and its slip trajectory and slip speed in a certain time period can be simply and quickly processed. Compared with the existing analysis method, the method provided by the present invention does not require high theoretical knowledge of materials from the researcher, does not require strong programming ability, and is more applicable. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 To visualize atomic position information or crystal configuration using OVITO software;
[0017] Figure 2 It is a bcc Fe matrix crystal configuration;
[0018] Figure 3 The dislocations were identified using the "Dislocation analysis (DXA)" function module in the OVITO software;
[0019] Figure 4 The front view and left view are the obtained crystal configuration stereograms;
[0020] Figure 5 These are the front and left views after meshing;
[0021] Figure 6 It is the dislocation morphology after spatial reorganization;
[0022] Figure 7 is the slip trajectory of the dislocation in the range of 0-250ps;
[0023] Figure 8 The graph shows the change of slip displacement and slip velocity of dislocation in the stage time (Δt = 5ps) within the range of 0-250ps;
[0024] Fig. 9 Constructed crystal configurations containing loop-shaped and zigzag dislocations;
[0025] Fig.10 The slip changes of circular and zigzag dislocations on the XZ plane at different times;
[0026] Fig.11 The slip changes of circular and zigzag dislocations on the YZ plane at different times;
[0027] Fig.12 Slip trajectory diagram of the circular dislocation at different times;
[0028] Fig.13 Slip trajectory diagram of zigzag dislocation at different times. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0030] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0032] In the present invention, the three-dimensional coordinate system is a rectangular coordinate system.
[0033] In the present invention, a dislocation exists in a three-dimensional diagram of a crystal configuration, and its shape itself is also three-dimensional; a dislocation segment refers to a dislocation divided into multiple small segments, any one of which is a dislocation segment, and its shape is also three-dimensional; a line segment refers to a dislocation projected into a plane projection diagram, and then the corresponding projection diagram is divided into multiple small segments, any one of which is a line segment, and its shape is two-dimensional.
[0034] A first aspect of the present invention provides a method for obtaining the spatial coordinates of a dislocation in a crystalline material, the method comprising the following steps:
[0035] obtaining a stereogram of a crystal configuration of a crystalline material including a dislocation;
[0036] Establishing a three-dimensional coordinate system based on the stereogram of the crystal configuration;
[0037] dividing the dislocation into a plurality of dislocation segments;
[0038] Obtaining the coordinates of each of the dislocation fragments on the X-axis, Y-axis and Z-axis in the three-dimensional coordinate system;
[0039] Based on the weight algorithm, the coordinates of all the dislocation fragments on the X-axis, Y-axis and Z-axis are weighted respectively to obtain the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis.
[0040] The origin of the established three-dimensional coordinate system can be at any position, and can be inside, on the surface or outside the stereogram of the crystal configuration. In addition to the method disclosed in the present application, any other method can be used to obtain the coordinates of the dislocation fragment on the X-axis, Y-axis and Z-axis, such as directly segmenting the stereogram of the crystal configuration into sufficiently small pieces, obtaining the coordinates of the center point of the small piece where the dislocation fragment is located on the X-axis, Y-axis and Z-axis, and using them as the coordinates of the dislocation fragment on the X-axis, Y-axis and Z-axis, and then taking the weighted average of the coordinates of all the dislocation fragments on the X-axis, Y-axis and Z-axis to obtain the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis.
[0041] The method provided by the present invention can adapt to dislocations in pure material crystal materials, and can also accurately process dislocations in multi-component system crystal materials, wherein multi-component system crystal materials refer to crystal materials in which, in addition to the matrix atom category, there are other second, third or Nth atom categories, and the presence of these other categories of atoms will cause the crystal structure of the matrix atoms in the surrounding area to change, and the presence of these other categories of atoms may cause the crystal structure category of the matrix atoms in the surrounding area to be the same as the crystal structure category of the matrix atoms in the dislocation area, which may affect the accuracy of dislocation identification, resulting in errors in the analysis results of the dislocation space coordinates, which may ultimately affect the accuracy of the research results of the dislocation slip trajectory and slip velocity. Through the method provided by the present invention, the spatial coordinates of the dislocation can be accurately and efficiently identified without being affected by the presence of other categories of atoms.
[0042] The present invention is applicable to various dislocations, such as screw dislocations, edge dislocations, mixed dislocations, etc., according to relative orientation. The dislocations that can be analyzed can be relatively simple to handle in a smooth shape, or more complex, such as spiral, zigzag, or annular. These dislocations can exist simultaneously or separately, and their positions and shapes can change separately or simultaneously. The spatial coordinates of these dislocations can be accurately obtained by using the method of the present invention.
[0043] In some embodiments of the present invention, preferably, the process of dividing the dislocation into multiple dislocation fragments includes: obtaining at least two first plane views of the stereogram by a forward projection method, and any two of the first plane views are perpendicular to each other; wherein the first plane view has a projection image of the dislocation, and the first plane view is gridded.
[0044] In some embodiments of the present invention, preferably, the gridding refers to a process including: Δx, Δy and Δz are used as the interval distances to divide the X-axis, Y-axis and Z-axis corresponding to the projection map of the dislocation into a number of line segments; wherein the values of Δx, Δy and Δz are respectively satisfied so that the number of equally divided line segments on the corresponding X-axis, Y-axis and Z-axis is ≥ 100. The purpose of gridding is mainly to divide the projection map of the dislocation into sufficiently small segments to prepare for the subsequent acquisition of coordinates. During gridding, the number of line segments on each coordinate axis will directly affect the amount of data to be processed. Too much data will result in slow processing speed, and too little data will result in distorted results. The number of divided line segments is generally not less than 100, and can also be not less than 150, and can also be not less than 200, etc.
[0045] In some embodiments of the present invention, preferably, the method further comprises: before meshing the first plane view, clipping the first plane view to obtain a second plane view of the same size as the orthographic projection of the stereogram on the corresponding plane; wherein the length of each of the second plane views along the X-axis direction is Lx, the length along the Y-axis direction is Ly, and the length along the Z-axis direction is Lz;
[0046] Then the second plane view is gridded so that the projection of the dislocation is divided into a plurality of line segments. By cutting the first plane view, a plane view containing only the crystal configuration and the dislocation projection inside it is obtained, noise is eliminated, and processing speed and effect are improved.
[0047] In some embodiments of the present invention, preferably, when Lx, Ly and Lz are independently , then Δx, Δy, and Δz are independently equal to
[0048] When Lx, Ly and Lz are independently When , Δx, Δy and Δz are calculated independently by the following formulas:
[0049] Δx=Lx / 100, Δy=Ly / 100, Δz=Lz / 100.
[0050] The values of Δx, Δy and Δz determine the size of the grid, which is related to the amount of data processing and the actual situation of dislocation changes. Therefore, their values being too large or too small are not conducive to subsequent analysis. The specific meaning of independent is: when When Δx is equal to when , Δx=Lx / 100, and so on for Δy and Δz, and their values do not interfere with each other.
[0051] In some embodiments of the present invention, preferably, the three first plane views of the stereogram are obtained by orthographic projection, and three mutually perpendicular first plane views are generated from the stereogram, the three first plane views including the projections of the dislocation in all necessary directions.
[0052] In some embodiments of the present invention, preferably, the method further comprises: after dividing the dislocation into a plurality of dislocation fragments, obtaining the number M of the line fragments in each of the first plane views, comparing the sizes of M in the three first plane views, selecting two first plane views with larger M values, and then entering the step of obtaining the coordinates of each dislocation fragment on the X-axis, Y-axis and Z-axis in the three-dimensional coordinate system. In order to further reduce the amount of data analysis, the coordinates of the dislocation fragments can be obtained by selecting two necessary first plane views for analysis, and it is preferred that the two selected first plane views have a larger number of line fragments, so that the dislocation changes can be more clearly and completely reflected.
[0053] In some embodiments of the present invention, preferably, the process of obtaining the coordinates of each dislocation fragment on the X-axis, Y-axis and Z-axis in the three-dimensional coordinate system includes:
[0054] Identify the grid where the line segment corresponding to the dislocation segment is located in each of the first plane views;
[0055] Obtain the coordinates of the center point of the grid on the X-axis, Y-axis and Z-axis respectively;
[0056] The coordinates of the center point of the grid on the X axis, the Y axis and the Z axis are used as the coordinates of the dislocation segment corresponding to the line segment on the X axis, the Y axis and the Z axis.
[0057] When the divided grid is small enough, the coordinates of each line segment can be replaced by the coordinates of the center point of the grid. Through different first plane views, the coordinates of the line segment on the X-axis, Y-axis, and Z-axis can be obtained. By combining these coordinates, the coordinates of the dislocation segment corresponding to the line segment can be obtained.
[0058] Preferably, the weight calculation process includes: the coordinates of a dislocation fragment are (x i ,y i ,z i ), the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis can be expressed as: Wherein, the value of i is 1, 2, ..., n, and n is the number of the dislocation fragments into which the dislocation is divided;
[0059] And / or, combining the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis to obtain the average coordinates of the dislocation in the three-dimensional coordinate system
[0060] The average coordinate of the entire dislocation on the X-axis is obtained by weighted averaging the coordinates of each dislocation fragment on the X-axis, and the average coordinates of the dislocation on the Y-axis and Z-axis are obtained by analogy, and the coordinates of the dislocation in the three-dimensional coordinate system are combined.
[0061] Preferably, the dislocation is coloured such that the colour of the dislocation is different from the colour of atoms elsewhere in the crystal configuration.
[0062] And / or, the three-dimensional image of the crystal configuration is a cube, a cylinder or a sphere. When performing simulation analysis, the crystal configuration is constructed as a regular three-dimensional shape to facilitate the processing speed, and the dislocation is given a specific color for distinction, which facilitates the subsequent acquisition of the coordinates of the dislocation fragments. The three-dimensional coordinate system is preferably a spatial Cartesian coordinate system.
[0063] The second aspect of the present invention provides a method for determining the slip trajectory and slip velocity of dislocations in a crystal material, wherein a stereogram of the crystal configuration at the corresponding time is saved every Δt within the time 0-t, and the method provided by the first aspect of the present invention is used to obtain the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis at the corresponding time in the stereogram, and a spectrum is drawn with the average coordinates of the dislocation in the three-dimensional coordinate system within the time 0-t to obtain the slip trajectory of the dislocation;
[0064] The dislocation coordinates at time t0+Δt are Subtract the dislocation coordinates at time t0 Obtain the slip displacement ΔS of the dislocation in the direction parallel to the X-axis, Y-axis, and Z-axis in the Δt time period x , ΔS y , ΔS z , divide the slip displacement by Δt to obtain the slip velocity ΔV of the dislocation in the direction parallel to the X-axis, Y-axis, and Z-axis in the Δt time period x , ΔV y , ΔV z ;
[0065] With t as the horizontal axis, the sliding displacement ΔS in a series of Δt time periods x , ΔS y , ΔS z Draw a graph for the ordinate to obtain the slip displacement variation law of the dislocation in the corresponding directions parallel to the X-axis, Y-axis, and Z-axis;
[0066] With t as the horizontal axis, the slip velocity ΔV in a series of Δt time periods x , ΔV y , ΔV zA spectrum is drawn for the ordinate to obtain the slip velocity law of the dislocation in the corresponding directions parallel to the X-axis, Y-axis, and Z-axis.
[0067] Through the above technical solution, the coordinate position of the dislocation and its slip trajectory and slip speed in a certain time period can be simply and quickly processed. Compared with the existing analysis method, the method provided by the present invention does not require high theoretical knowledge of materials from the researcher, does not require strong programming ability, and is more applicable.
[0068] The origin of the established three-dimensional coordinate system can be at any position, and can be inside, on the surface or outside the stereogram of the crystal configuration. In addition to the method disclosed in the present application, any other method can be used to obtain the coordinates of the dislocation fragment on the X-axis, Y-axis and Z-axis, such as directly segmenting the stereogram of the crystal configuration into sufficiently small pieces, obtaining the coordinates of the center point of the small piece where the dislocation fragment is located on the X-axis, Y-axis and Z-axis and using them as the coordinates of the dislocation fragment on the X-axis, Y-axis and Z-axis, and then taking the weighted average of the coordinates of all the dislocation fragments on the X-axis, Y-axis and Z-axis to obtain the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis.
[0069] The following uses the molecular dynamics (MD) method to simulate the shear behavior of the bcc Fe (iron) system as an example to explain the present application in detail. The MD simulation mainly includes four steps: crystal configuration construction, model setting, calculation operation and data analysis. The basic methods and steps of crystal configuration construction, model setting and calculation operation are the same as those in the prior art and are only briefly introduced.
[0070] (1) Crystal configuration construction:
[0071] When using the MD method for related research, it is first necessary to determine the atomic arrangement structural characteristics and model size range of the calculation system based on the characteristics of the research object and research objectives, so as to construct the initial crystal configuration.
[0072] In this example, the crystal configuration of the corresponding bcc Fe matrix must be constructed according to relevant research requirements, that is, the position arrangement relationship of the Fe atoms in the crystal configuration must satisfy the body-centered cubic structure (bcc structure), and the directions of the X, Y and Z axes of the crystal configuration correspond to certain crystal direction indices; the crystal direction indices corresponding to the X, Y and Z axis directions of the crystal configuration in the example of the present invention are respectively and [1 1 1], and their initial sizes are 21.15 nm, 20.00 nm, and 12.45 nm, respectively, with a total of 450,000 Fe atoms, such as Figure 1As shown. Then, dislocations are artificially introduced at relevant positions of the crystal configuration, so that a bcc Fe crystal configuration containing dislocations can be obtained; in this example, the type of dislocation artificially introduced is a screw dislocation, which is parallel to the Z axis and has an initial position of (6.35, 6.00) nm on the XY plane. Depending on the purpose and object of research, the constructed dislocation type and crystal direction index can be different.
[0073] It should be noted that when constructing the crystal configuration, it can be achieved through professional software (such as Atomsk) or self-programming. In addition, in this example, dislocations are artificially introduced in the initial crystal configuration, but for some research needs, dislocations are not artificially introduced in the initial crystal configuration, that is, there are no dislocations, but in the subsequent deformation process under the action of external stress, dislocations will spontaneously generate and slip in the crystal configuration. In this case, the method provided by the present invention is still suitable for identifying dislocations and analyzing and obtaining dislocation slip trajectories and slip velocities.
[0074] (2) Model settings:
[0075] For molecular dynamics simulation, you can either program yourself to perform related calculations or use many existing mature commercial software platforms. Before running the MD calculation, you need to set up the relevant model for the initial crystal configuration, that is, write a script language that meets the calculation rules of the relevant software platform to achieve specific research goals. The model setting mainly includes the boundary conditions of the calculation system, potential function selection, energy minimization, relaxation equilibrium, shear deformation, output parameters, etc.
[0076] The present invention uses the LAMMPS (Large-scale Atomic / Molecular Massively Parallel Simulator) software platform to implement the molecular dynamics method to simulate the dislocation slip behavior of the bcc Fe system under shear. Therefore, it is necessary to write a model script according to the relevant calculation / command line rules of the LAMMPS software platform to implement the relevant settings of the model.
[0077] When setting up the model on the LAMMPS software platform, the boundary conditions in the X, Y, and Z axis directions are all set to contraction boundary conditions (s-boundaries). The model size (or model boundary position) of the s-boundary will expand or shrink with the movement position of all atoms in the calculation system to ensure that all atoms are within the model boundary range.
[0078] After setting the system boundary conditions, select the appropriate potential function according to the research object (the potential function is an expression function used to calculate the forces between atoms. The potential function is different for different research objects or atomic systems. This example selects the MEAM type Fe potential function created by Lee-Jang), and then the initial crystal configuration can be energy minimized and relaxed.
[0079] Energy minimization refers to the process of rearranging some atoms in a computational system in a small local area. The initial crystal configuration constructed may have some chaotic atomic arrangement structures in the local area, which causes the entire computational system to not be in the minimum energy state, that is, the computational system is not in the most stable state. Therefore, the initial crystal configuration needs to be minimized first. This example uses the conjugate gradient method (CG) to minimize the energy of the constructed initial crystal configuration under 0K conditions.
[0080] During the energy minimization process, the atoms in the initial crystal configuration can only be rearranged within a small range at 0K, and it is only considered from the perspective of minimizing the energy of the computing system; in fact, atoms are subject to thermal disturbances at a certain temperature, that is, they can perform long-range or short-range diffusion movements within a certain range, and the positions of atoms are not fixed, and the positional relationship between atoms does not necessarily strictly meet the atomic arrangement rules of a specific crystal structure (such as a bcc structure). Therefore, after the energy is minimized, the initial crystal model needs to continue to relax and balance. The relaxation equilibrium process is that all atoms in the computing system perform sufficient diffusion movements under certain ensemble conditions, causing the computing system to reach a balanced steady state and approximately close to the actual state. In this patent, the NPT (isothermal and isobaric) ensemble is selected for system relaxation equilibrium, the temperature is 300K, and the relaxation equilibrium time is 100ps.
[0081] After the relaxation equilibrium of the calculation system is completed, the atomic arrangement in the crystal configuration is in an approximate steady state, and then the crystal configuration can be sheared. In this example, the shearing is performed in the NVT (isothermal and isovolumetric) ensemble, the temperature is 300K, and the shear strain rate is 10 8 / s.
[0082] Figure 2 Middle: (a) is the full picture of the crystal configuration (the inset in the figure is a local enlarged view to show the arrangement and distribution of Fe atoms); (b), (c) and (d) are all local cross-sectional views to fully show the structure of the crystal configuration; in the figure, the green spheres and gray spheres are Fe atoms; the green area is the shear area, and the gray area is the fixed layer.
[0083] In the LAMMPS software platform, the shearing of crystal configurations can be achieved by the following settings: Figure 2In (a), the gray areas on both sides of the crystal configuration along the Y-axis are fixed layers; when shearing, the fixed layer on the right (i.e. Figure 2 (a) The green arrow area) moves along the +X axis at a certain speed (the moving speed in this example is set to ), the fixed layer on the left remains stationary and moves at a speed of 0; the moving speed of the green area in the middle moves from 0 to Linear increase; in this way, an approximate shearing effect can be obtained. It should be pointed out that during the energy minimization, relaxation equilibrium and shearing process of the crystal configuration, the relative positions of all Fe atoms in the gray area (fixed layer) along the Y axis on both sides of the crystal configuration remain unchanged, that is, there is no relative diffusion movement of atoms in the gray area.
[0084] (3) Calculation operation:
[0085] The molecular dynamics method is mainly based on the classical Newtonian mechanics to simulate the movement and distribution of atoms in the calculation system. That is, the distance between atoms determines the force between atoms, which leads to the movement and redistribution of atoms. This cycle is repeated until the atomic position and velocity information under certain conditions are obtained. In short, the calculation operation of the molecular dynamics model is to use a computer to calculate and solve the forces and movements between atoms in the system within a certain period of time according to the crystal configuration and model settings, until the atomic velocity and position information under the target conditions is finally obtained, and finally the relevant research results are obtained based on this analysis. This calculation process can be completely realized by computer.
[0086] Under certain conditions, dislocations in the crystal configuration will slip, that is, the dislocation position will change with the simulation time. Although the "Dislocation analysis (DXA)" function module in the OVITO software can identify and roughly present the dislocation position in the crystal configuration at different times, it cannot accurately obtain the spatial coordinate value of the dislocation position. In order to obtain the dislocation slip trajectory and velocity trajectory, it is necessary to accurately determine the spatial position of the dislocation at the relevant time.
[0087] How to obtain the spatial position of a dislocation is described in detail below through an example.
[0088] S1. Obtain a stereoscopic image of a crystal configuration of a crystalline material containing a dislocation.
[0089] The position information of all atoms in the system during the MD shear simulation at a certain moment is saved in a "dump" file, and then the "dump" file is imported into the OVITO software to visualize the atomic position or crystal configuration to obtain a three-dimensional crystal configuration diagram. The results are as follows: Figure 1As shown, the red balls in the figure are atoms, and the distribution of all atoms constitutes a crystal configuration. In this example, the crystal configuration is a cube. In some other examples, the crystal configuration can also be a cylinder or a sphere, etc.
[0090] Furthermore, the “Dislocation analysis (DXA)” function module in the OVITO software is used to identify and determine the dislocations in the crystal configuration, and the dislocations are given a color different from the crystal configuration, such as Figure 3 As shown, to facilitate the display of the dislocation position, Figure 3 The atoms are colored transparent, the edges of the crystal structure are black, and the dislocations are colored green.
[0091] S2. Establish a Cartesian three-dimensional coordinate system with a certain point in the stereogram of the crystal configuration as the origin.
[0092] In some embodiments, the origin of the Cartesian three-dimensional coordinate system can be any point in the stereogram of the crystal configuration. The origin can be at the edge of the stereogram, inside the stereogram, or outside the stereogram, but generally does not deviate from the stereogram. In this example, the origin is one of the vertices of the crystal configuration.
[0093] S3. Obtain at least two first plane views of the stereogram by orthographic projection, wherein any two of the first plane views are perpendicular to each other, the first plane views contain the projection image of the dislocation, and any two of the first plane views have one same coordinate axis and another different coordinate axis.
[0094] Generally speaking, three first plane views of the stereogram of the crystal configuration can be obtained indiscriminately, and the three first plane views are perpendicular to each other. They can be a front view, a left view and a top view, or views parallel to these three views can be used to replace the corresponding views.
[0095] S4. Crop the first plane view to obtain a second plane view that is the same size as the orthographic projection of the stereoscopic image on the corresponding plane. The length of the second plane view along the X-axis direction is Lx, the length along the Y-axis direction is Ly, and the length along the Z-axis direction is Lz, which respectively correspond to the lengths of the stereoscopic image of the crystal configuration along the X-axis, Y-axis and Z-axis directions, that is, the size of the obtained second plane view is consistent with the corresponding surface area size of the crystal configuration, and possible interference outside the structure is removed. The second plane view has a projection image of the dislocation, and the projection image is green like the dislocation.
[0096] The cropping method may be any prior art. In this example, the outline of the projection frame is found by creating a mask of the same color as the projection frame of the stereogram of the crystal configuration, such as Figure 3As shown, the frame outline of the stereogram is black, and the frame projected in the corresponding first plane view is also black. A black mask is used to find the frame projected in the first plane view, and then it is cropped to obtain the second plane view. The length of the obtained second plane view along the X, Y and Z axis directions is the length of the corresponding stereogram along the X, Y and Z axis directions, which are all known, as shown in FIG. Figure 4 (a) and 4(b).
[0097] S5, dividing the dislocation into a plurality of dislocation fragments. In this example, the dislocation is divided into a plurality of smaller dislocation fragments by gridding. The specific process is as follows:
[0098] Equally divided lines are drawn on the corresponding X-axis, Y-axis and Z-axis on the second plane view with Δx, Δy and Δz as intervals, so as to divide the projection image of the dislocation into a plurality of line segments, and the values of Δx, Δy and Δz satisfy that the number of equally divided line segments on the corresponding X-axis, Y-axis and Z-axis is ≥100.
[0099] Specifically, the length of each of the second plane views after the projection and cropping of the stereogram of the crystal configuration along the X-axis direction is Lx, the length along the Y-axis direction is Ly, and the length along the Z-axis direction is Lz. When Lx, Ly and Lz are independently , then Δx, Δy, and Δz are independently equal to
[0100] When Lx, Ly and Lz are independently When , Δx, Δy and Δz are calculated independently by the following formulas:
[0101] Δx=Lx / 100, Δy=Ly / 100, Δz=Lz / 100.
[0102] In this example, and The value of Δx is The value of Δy is The value of Δz is
[0103] S6. Obtain the number M of the line segments in each of the second plane views, compare the values of M in the three second plane views, and select two second plane views with larger M values to proceed to the next step.
[0104] In this example, after comparison, it is found that there are more line fragments of dislocation projection in the xz direction plane diagram and the yz direction plane diagram, so the xz direction plane diagram and the yz direction plane diagram are taken for analysis, that is, Figure 4 (a) and 4(b) are meshed, and the results are shown in Figure 5 As shown, 5(a) is the xz direction plane view after gridding, and 5(b) is the yz direction plane view after gridding.
[0105] from Figure 5 It can also be seen that since the origin of the coordinates is a vertex of the stereogram, the origin after projection is located at the corresponding vertex of the obtained second plane view, and the length Lx, width Ly, and height Lz of each second plane view are all known, so the coordinates of each point in the second plane view are known, which is ready for the subsequent acquisition of the coordinates of the relevant sites.
[0106] S7. Obtain the coordinates of each dislocation segment on the X-axis, Y-axis and Z-axis in the three-dimensional coordinate system.
[0107] Because the divided grid is small enough, the coordinates of the center point of the small grid are close to the coordinates of the line segment, so the specific process is:
[0108] Identify the grids where the line segments corresponding to the dislocation segments are located in each of the second plane views. In this example, image recognition is used to identify the grids where the line segments are located. Specifically, a mask of the same color as the line segments is created to identify whether there is green in each grid. If there is green, the line segment corresponding to the dislocation exists, and the line segment is selected;
[0109] Obtain the coordinates of the center point of the grid on the X-axis, Y-axis and Z-axis respectively;
[0110] The coordinates of the center point of the grid on the X-axis, the Y-axis and the Z-axis are used as the coordinates of the dislocation segment corresponding to the line segment on the X-axis, the Y-axis and the Z-axis.
[0111] For example, the coordinates of the line segment on the X-axis and Z-axis are obtained through the xz view, and the coordinates of the line segment on the Y-axis and Z-axis are obtained through the yz view. The coordinates of the dislocation segment corresponding to the line segment are obtained by combining them (x i ,y i ,z i ).
[0112] S8, based on a weight algorithm, weighted average the coordinates of all the dislocation fragments on the X-axis, Y-axis, and Z-axis to obtain the corresponding average coordinates of the dislocation on the X-axis, Y-axis, and Z-axis, and combine them to obtain the average coordinate of the dislocation in the three-dimensional coordinate system The value of i is 1, 2, ..., n, and n is the number of the dislocation fragments into which the dislocation is divided.
[0113] In this example, the coordinates of all dislocation fragments at a certain moment are shown in Table 1.
[0114] Table 1 Coordinates of dislocation fragments
[0115]
[0116]
[0117] By spatially connecting the coordinate points of all dislocation fragments, the morphological diagram of the dislocation at that moment can be reconstructed, such as Figure 6 As shown, the figure is Figure 3 This indicates that the spatial position of dislocations in the crystal configuration can be accurately obtained by using the method provided in this application.
[0118] The coordinates of all dislocation fragments on the X-axis are summed up and the average value is calculated to obtain the coordinate of the dislocation on the X-axis. The coordinates of the dislocation on the Y-axis and Z-axis are obtained by analogy. In this example, the coordinates of the 127 dislocation fragments on the X-axis in Table 1 are summed up and the average value is calculated to obtain the average coordinate of the dislocation on the X-axis. By analogy, the average coordinate of the dislocation in this example in the three-dimensional coordinate system is (66.1, 32.0, 63.5).
[0119] By obtaining the coordinates of the dislocation in the three-dimensional coordinate system at different times, the slip trajectory and velocity change of the dislocation can be calculated. The specific process is as follows:
[0120] In the time from 0 to t, a stereogram of the crystal configuration at the corresponding time is saved every Δt, and the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis at the corresponding time are obtained by the aforementioned method, and a map is drawn with the coordinates of the dislocation in the three-dimensional coordinate system in the time from 0 to t to obtain the slip trajectory of the dislocation;
[0121] Furthermore, the dislocation coordinates at time t0+Δt are Subtract the dislocation coordinates at time t0 Obtain the slip displacement ΔS of the dislocation in the direction parallel to the X-axis, Y-axis, and Z-axis in the Δt time period x , ΔS y , ΔS z ,Right now The slip displacement is divided by Δt to obtain the slip velocity ΔV of the dislocation in the direction parallel to the X-axis, Y-axis, and Z-axis in the Δt time period. x , ΔV y , ΔV z , that is, ΔV x =ΔS x / Δt,ΔV y =ΔS y / Δt,ΔV z =ΔSz / Δt; the value of Δt is selected according to the length of the dislocation being analyzed and the amount of data, and generally speaking, Δt≥1fs.
[0122] A graph is drawn with t as the abscissa and the slip displacements ΔSx, ΔSy, and ΔSz in a series of Δt time periods as the ordinates to obtain the slip trajectories of the dislocation in the corresponding directions parallel to the X-axis, the Y-axis, and the Z-axis;
[0123] With t as the horizontal axis, the slip velocity ΔV in the series Δt time period x , ΔV y , ΔV z A graph is drawn for the ordinate to obtain the variation law of the slip velocity of the dislocation in the corresponding directions parallel to the X-axis, Y-axis, and Z-axis.
[0124] In this example, within 0-250ps, the time interval Δt=5ps, the average coordinates of the dislocations in the crystal configuration at different times are shown in Table 2.
[0125] Table 2 Average spatial coordinates of dislocations at different times
[0126]
[0127]
[0128] The average coordinates of the dislocations in the range of 0-250ps are plotted to obtain the slip trajectories of the dislocations in the range of 0-250ps, such as Figure 7 As shown, it can be found that this dislocation mainly slips along the X-axis, while the slip movement in the Y-axis direction is weaker.
[0129] According to the difference in average coordinates of the dislocation at the next moment and the previous moment, the slip displacement of the dislocation in the corresponding time interval (Δt=5ps) can be obtained. The slip displacement at different moments calculated by Table 2 is shown in Table 3.
[0130] Table 3 Slip displacement of dislocation at different times
[0131]
[0132] The time in Table 3 is used as the horizontal axis and the slip displacement is used as the vertical axis to draw a graph to obtain the slip displacement change diagram of the dislocation on the corresponding coordinate axis, such as Figure 8 shown.
[0133] The slip velocity can be obtained by dividing the slip displacement by the time interval. The time in Table 3 is used as the horizontal axis and the slip velocity is used as the vertical axis to draw a graph to obtain the velocity variation diagram of the dislocation on the corresponding coordinate axis, such as Figure 8 shown.
[0134] The above treatment is about smooth dislocations with approximate two-dimensional slip. The following is an analysis of annular and zigzag dislocations in which the dislocation shape and position change simultaneously during slip, as follows:
[0135] Among them, the crystal configuration of the corresponding bcc Fe matrix is constructed. The basic methods of crystal configuration construction, model setting, and calculation operation are basically the same as those mentioned above. The main difference is that the crystal direction indices corresponding to the X, Y, and Z axis directions of the crystal configuration are and [1 1 1], and their initial sizes are 24.87 nm, 20.11 nm, and 14.06 nm, respectively, with a total of 600,000 Fe atoms. After shearing the crystal configuration, ring-shaped and zigzag dislocations will appear inside, such as Fig. 9 As shown (the Fe atoms are hidden), the two green lines represent the ring-shaped and zigzag dislocations respectively.
[0136] The evolution of the slip of the ring and zigzag dislocations in the crystal configuration on the XZ plane at different times (0-40ps) is shown in the figure. Fig.10 As shown in the figure, the evolution law on the YZ plane is as follows Fig.11 As shown in the figure, we can see that the positions and morphologies of the two dislocations have changed. Fig.10 and Fig.11 The results are shown in Table 4 by using the method of the present invention to obtain the average spatial coordinate positions of the two dislocations.
[0137] Table 4 Average spatial coordinates of annular / zigzag dislocations at different times
[0138]
[0139] Further, the method provided by the present invention can be used to obtain the slip trajectory of annular and zigzag dislocations such as Fig.12 and 13 On this basis, the velocity variation diagram of the annular and zigzag dislocations can be further obtained. The specific method is the same as the above method and will not be repeated here.
[0140] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0141] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for obtaining the spatial coordinates of dislocations in a crystalline material, the method comprising the following steps: obtaining a stereogram of a crystal configuration of a crystalline material including a dislocation; Establishing a three-dimensional coordinate system based on the stereogram of the crystal configuration; dividing the dislocation into a plurality of dislocation segments; Obtaining the coordinates of each of the dislocation fragments on the X-axis, Y-axis and Z-axis in the three-dimensional coordinate system; Based on the weight algorithm, the coordinates of all the dislocation fragments on the X-axis, Y-axis and Z-axis are weighted respectively to obtain the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis.
2. The method according to claim 1, wherein: The process of dividing the dislocation into multiple dislocation fragments includes: obtaining at least two first plane views of the stereogram by a forward projection method, wherein any two first plane views are perpendicular to each other; wherein the first plane view has a projection of the dislocation, and the first plane view is gridded.
3. The method according to claim 2, wherein: The gridding process includes: dividing the projection image of the dislocation into a plurality of line segments by dividing the corresponding X-axis, Y-axis and Z-axis on the first plane view with Δx, Δy and Δz as interval distances; wherein the values of Δx, Δy and Δz respectively satisfy the number of the corresponding equally divided line segments on the X-axis, Y-axis and Z-axis ≥ 100.
4. The method according to claim 3, wherein: The method further includes: before meshing the first plane view, clipping the first plane view to obtain a second plane view of the same size as the orthographic projection of the stereogram on the corresponding plane; wherein each of the second plane views has a length along the X-axis direction of Lx, a length along the Y-axis direction of Ly, and a length along the Z-axis direction of Lz; The second plan view is then gridded so that the projection image of the dislocation is divided into a plurality of line segments.
5. The method according to claim 4, wherein: When Lx, Ly and Lz are independently , then Δx, Δy, and Δz are independently equal to When Lx, Ly and Lz are independently When , Δx, Δy and Δz are calculated independently by the following formulas: Δx=Lx / 100, Δy=Ly / 100, Δz=Lz / 100.
6. The method according to any one of claims 3 to 5, wherein: The three first plane views of the stereogram are obtained by orthographic projection.
7. The method according to claim 6, wherein: The method further includes: after dividing the dislocation into a plurality of dislocation segments, obtaining the number M of the line segments in each of the first plane views, comparing the sizes of M in the three first plane views, selecting two first plane views with larger M values, and then entering the step of obtaining the coordinates of each of the dislocation segments on the X-axis, Y-axis and Z-axis in the three-dimensional coordinate system.
8. The method according to any one of claims 3 to 7, wherein: The process of obtaining the coordinates of each dislocation segment on the X-axis, Y-axis and Z-axis in the three-dimensional coordinate system includes: Identify the grid where the line segment corresponding to the dislocation segment is located in each of the first plane views; Obtain the coordinates of the center point of the grid on the X-axis, Y-axis and Z-axis respectively; The coordinates of the center point of the grid on the X axis, the Y axis and the Z axis are used as the coordinates of the dislocation segment corresponding to the line segment on the X axis, the Y axis and the Z axis.
9. The method according to any one of claims 1 to 8, wherein: The weight calculation process includes: the coordinates of a dislocation segment are (x i ,y i ,z i ), the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis can be expressed as: Wherein, the value of i is 1, 2, ..., n, and n is the number of the dislocation fragments into which the dislocation is divided; And / or, combining the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis to obtain the average coordinates of the dislocation in the three-dimensional coordinate system 10. A method for determining dislocation slip trajectories and slip velocities in a crystalline material, wherein: In the time from 0 to t, a stereogram of the crystal configuration at the corresponding time is saved every Δt, and the method described in any one of claims 1 to 9 is used to obtain the average coordinates of the dislocation on the X-axis, Y-axis and Z-axis at the corresponding time in the stereogram, and a map is drawn with the average coordinates of the dislocation in the three-dimensional coordinate system in the time from 0 to t to obtain the slip trajectory of the dislocation; The average coordinate of the dislocation at time t0+Δt Subtract the average coordinate of the dislocation at time t0 Obtain the slip displacement ΔS of the dislocation in the direction parallel to the X-axis, Y-axis, and Z-axis in the Δt time period x , ΔS y , ΔS z ; Divide the slip displacement by Δt to obtain the slip velocity ΔV of the dislocation in the direction parallel to the X-axis, Y-axis, and Z-axis in the Δt time period x , ΔV y , ΔV z ; With t as the horizontal axis, the sliding displacement ΔS in a series of Δt time periods x , ΔS y , ΔS z Draw a graph for the ordinate to obtain the slip displacement variation law of the dislocation in the corresponding directions parallel to the X-axis, Y-axis, and Z-axis; With t as the horizontal axis, the slip velocity ΔV in a series of Δt time periods x , ΔV y , ΔV z A spectrum is drawn for the ordinate to obtain the slip velocity variation law of the dislocation in the corresponding directions parallel to the X-axis, Y-axis, and Z-axis.
Citation Information
Patent Citations
Method and a system for calibrating vectors in a high-resolution atomic image of a transmission electron microscope
CN109523599A
Dislocation three-dimensional quantitative characterization method and system based on transmission electron microscope
CN112505071A
Three-dimensional graphical representation method for dislocation characteristics
CN113506366A
Construction and application of coal mine safety prediction model based on three-dimensional field model
CN117932721A
Authentication system and authentication method using QR code based on blockchain
KR1020250064690A
Cited By
Dislocation configuration identification and statistical method and system for molecular dynamics simulation
CN119811514A
