Method and apparatus for simulating molecular dynamics of electron collision dislocation effect
The slip process after electron impact dislocation is simulated by molecular dynamics simulation software, which solves the problem in the existing technology of being unable to quantitatively simulate electron impact dislocation, and improves the forming ability of lightweight materials such as titanium alloys.
Patent Information
- Application Number
- PCT/CN2023/121297
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-02
- Filing Date
- 2023-09-26
- Publication Date
- 2024-09-06
AI Technical Summary
Existing technology cannot quantitatively simulate the effects of electron impact dislocations, resulting in difficulty in forming lightweight materials such as titanium alloys and poor plastic deformation capabilities.
Molecular dynamics simulation software is used to establish a crystal model. By randomly selecting the scattering angle and determining the velocity vector of electrons impacting atoms, the slip process after electrons impact dislocations is simulated. Molecular dynamics simulation software is used to conduct all atomic states in the crystal model. simulation.
It achieves quantitative simulation of the dislocation slip process after electrons impact dislocations, improves the plastic deformation ability of the formed parts, and reduces the difficulty of forming.
Smart Images

Figure CN2023121297_06092024_PF_FP
Abstract
Description
Molecular dynamics simulation method and device for electron impact dislocation effect Technical Field
[0001] The embodiments of the present invention relate to the field of material processing technology, and in particular to a molecular dynamics simulation method and device for electron impact dislocation effects. Background Art
[0002] With the rapid development of high-end industries such as aerospace, the complexity of component shapes continues to increase. In particular, lightweight materials such as titanium alloys have poor plastic deformation capabilities, which greatly increases the difficulty of component forming. Electroplastic forming refers to the application of electric current to the formed part during the forming process. The theoretical basis is the electroplastic effect of metals. It uses the interaction between drifting electrons and dislocations to promote dislocation slip, thereby improving the plastic deformation ability of the formed part. Therefore, the force exerted by electrons on dislocations (i.e., electron wind force) is the most important theoretical system of electroplastic forming technology.
[0003] At present, the mechanism of the effect of electrons impacting dislocations is still limited to theoretical analysis based on experience and is at the qualitative analysis stage, and it is impossible to achieve quantitative simulation of the effect of electrons impacting dislocations.
[0004] Summary of the Invention
[0005] The embodiments of the present invention provide a molecular dynamics simulation method and apparatus for the effect of electron impact on dislocations, which can quantitatively simulate the slip process of dislocations after electron impact on dislocations.
[0006] In a first aspect, an embodiment of the present invention provides a molecular dynamics simulation method for electron impact dislocation effects, comprising:
[0007] S1. Using molecular dynamics simulation software to establish a crystal model to be simulated; wherein the surface of the crystal model includes at least one dislocation;
[0008] S2. Determine the incident energy of the electron;
[0009] S3. Randomly select at least one scattering angle within a preset scattering angle range;
[0010] S4. For each randomly selected scattering angle, determining, based on the incident energy, a velocity vector of an atom struck by an electron when the electron strikes the dislocation and is scattered at the selected scattering angle.
[0011] S5. Inputting the determined at least one velocity vector into the molecular dynamics simulation software to obtain simulation data of simulating the states of all atoms in the crystal model after the molecular dynamics simulation software assigns the at least one velocity vector to at least one target atom in a one-to-one correspondence; the target atom is located in the region where the dislocation is located;
[0012] S6. Simulating the slip process of dislocations in the crystal model according to the simulation data.
[0013] In a second aspect, an embodiment of the present invention further provides a molecular dynamics simulation device for electron impact dislocations, comprising:
[0014] A crystal model building unit, configured to build a crystal model to be simulated using molecular dynamics simulation software; the surface of the crystal model includes at least one dislocation;
[0015] A first determining unit, configured to determine the incident energy of the electron;
[0016] A selection unit, configured to randomly select at least one scattering angle within a preset scattering angle range;
[0017] a second determining unit, for each randomly selected scattering angle, determining, based on the incident energy, a velocity vector of an atom struck by an electron when the electron strikes the dislocation and is scattered at the selected scattering angle when the electron is incident on the region where the dislocation of the crystal model is located;
[0018] a simulation data acquisition unit, configured to input the determined at least one velocity vector into the molecular dynamics simulation software to obtain simulation data of the molecular dynamics simulation software simulating the states of all atoms in the crystal model after assigning the at least one velocity vector to at least one target atom in a one-to-one correspondence; the target atom is located in the region where the dislocation is located;
[0019] A simulation unit is used to simulate the slip process of dislocations in the crystal model according to the simulation data.
[0020] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in any embodiment of this specification is implemented.
[0021] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method described in any embodiment of this specification.
[0022] The embodiment of the present invention provides a molecular dynamics simulation method and device for the effect of electron impact on dislocation. By analyzing the process of electron impact on dislocation, after the electron beam is incident on the dislocation region, not every incident electron will hit the atom in the dislocation region, and the scattering angle of the electron after hitting the atom is also random. Therefore, assuming that at least one electron collides with the atom in each incident electron, at least one scattering angle is randomly selected, and the velocity vector of the electron after hitting the atom and scattering at the scattering angle is determined; in addition, since the molecular dynamics simulation software can quantitatively simulate the process related to the atomic motion path, the at least one determined velocity vector is input into the molecular dynamics simulation software so that the molecular dynamics simulation software assigns at least one velocity vector one-to-one to at least one target atom in the dislocation region, and then simulates all atomic states in the crystal model, so that these simulation data can be used to quantitatively simulate the slip process of the dislocation in the crystal model. It can be seen that this scheme can quantitatively simulate the slip process of the dislocation after the electron hits the dislocation. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0024] FIG1 is a flow chart of a molecular dynamics simulation method for electron impact dislocations provided by one embodiment of the present invention;
[0025] FIG2 is a flow chart of another molecular dynamics simulation method for electron impact dislocations provided by one embodiment of the present invention;
[0026] FIG3 is a hardware architecture diagram of an electronic device provided by an embodiment of the present invention;
[0027] FIG4 is a structural diagram of a molecular dynamics simulation device for electron impact dislocations according to an embodiment of the present invention;
[0028] FIG5 is a structural diagram of another molecular dynamics simulation device for electron impact dislocations provided by one embodiment of the present invention;
[0029] FIG6 is a structural diagram of another molecular dynamics simulation device for electron impact dislocations provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0031] As mentioned above, the mechanism of the effect of electron impact on dislocations is still limited to theoretical analysis based on experience and is at the qualitative analysis stage, and it is impossible to achieve quantitative simulation of the effect of electron impact on dislocations.
[0032] To address the lack of quantitative simulations of the effects of electron impacts on dislocations, the inventors conducted the following analysis to find a quantitative simulation method. When a pulsed current flows through a metal, electrons exert an impact. When the energy passing through a unit cross-section of the crystal per unit time is high, the resulting impact causes atoms at the lattice nodes to move. Dislocations in a crystal indicate that some of the lattice nodes within the crystal are misaligned. When electrons impact a dislocated region, the atoms in that region move, resulting in dislocation slip.
[0033] Further analysis shows that molecular dynamics simulation software can quantitatively simulate the basic processes related to the path of atomic motion. It is a very effective atomic-scale simulation technology that can provide many details of atomic properties at the microscopic scale. Based on this, it is possible to consider using molecular dynamics simulation software to simulate the slip of dislocations after electrons hit dislocations. In order to use molecular dynamics simulation software to simulate the effect of electrons hitting dislocations, the process of electrons hitting dislocations can be determined outside the molecular dynamics simulation software, so that the velocity vector obtained by the determined hit atom can be input into the molecular dynamics simulation software, and the molecular dynamics simulation software can simulate the states of all atoms in the established crystal model, thereby realizing the entire simulation process of the electron hitting dislocation effect.
[0034] The specific implementation of the above concept is described below.
[0035] Referring to FIG1 , an embodiment of the present invention provides a molecular dynamics simulation method for electron impact dislocations, the method comprising:
[0036] S1. Using molecular dynamics simulation software to establish a crystal model to be simulated; wherein the surface of the crystal model includes at least one dislocation;
[0037] S2. Determine the incident energy of the electron;
[0038] S3. Randomly select at least one scattering angle within a preset scattering angle range;
[0039] S4. For each randomly selected scattering angle, determining, based on the incident energy, a velocity vector of an atom struck by an electron when the electron strikes the dislocation and is scattered at the selected scattering angle.
[0040] S5. Inputting the determined at least one velocity vector into the molecular dynamics simulation software to obtain simulation data of simulating the states of all atoms in the crystal model after the molecular dynamics simulation software assigns the at least one velocity vector to at least one target atom in a one-to-one correspondence; the target atom is located in the region where the dislocation is located;
[0041] S6. Simulating the slip process of dislocations in the crystal model according to the simulation data.
[0042] In the embodiment of the present invention, by analyzing the process of electron impacting dislocation, after the electron beam is incident on the dislocation region, not every incident electron will impact the atom in the dislocation region, and the scattering angle of the electron after impacting the atom is also random. Therefore, assuming that at least one electron collides with the atom in each incident electron, at least one scattering angle is randomly selected, and the velocity vector of the electron after impacting the atom and scattering at the scattering angle is determined; in addition, since the molecular dynamics simulation software can quantitatively simulate the process related to the atomic motion path, the at least one determined velocity vector is input into the molecular dynamics simulation software so that the molecular dynamics simulation software assigns at least one velocity vector one-to-one to at least one target atom in the dislocation region, and then simulates all atomic states in the crystal model, so that these simulation data can be used to quantitatively simulate the slip process of the dislocation in the crystal model. It can be seen that this solution can quantitatively simulate the slip process of the dislocation after the electron impacts the dislocation.
[0043] The following describes how to execute each step shown in FIG1 .
[0044] First, for step S1, a crystal model to be simulated is established using molecular dynamics simulation software; the surface of the crystal model includes at least one dislocation.
[0045] Molecular dynamics simulation is a method based on Newtonian mechanics to simulate the physical motion trajectories and states of atoms and molecules. Currently, there are many types of molecular dynamics simulation software, such as Lammps, Materials Studio, Ls1-MarDyn, IMD, and CoMD.
[0046] Before using molecular dynamics simulation software to build a crystal model, it is necessary to know the crystal structure of the crystal to be simulated, wherein the surface of the crystal to be simulated includes at least one dislocation. By inputting the relevant parameters of the crystal structure of the crystal to be simulated into the molecular dynamics simulation software, a corresponding crystal model can be built.
[0047] In this example, the molecular dynamics simulation software Lammps is used as an example. When establishing a crystal model, the NVT ensemble can be used for relaxation, and the Anderson thermostat can be used to control the system temperature after electron scattering. Using the Velocity-Verlet algorithm, fixed boundary conditions are applied to the upper and lower surfaces of the crystal model, while periodic boundary conditions are applied to the remaining surfaces. Because the surface of the crystal to be simulated includes at least one dislocation, the surface of the established crystal model also contains at least one dislocation.
[0048] Then, step S2 "determining the incident energy of the electron", step S3 "randomly selecting at least one scattering angle within a preset scattering angle range" and step S4 "for each randomly selected scattering angle, determining, based on the incident energy, the velocity vector acquired by the impacted atom when the electron hits the dislocation and is scattered at the selected scattering angle when the electron is incident on the region where the dislocation of the crystal model is located" are explained simultaneously.
[0049] In the embodiment of the present invention, since the displacement changes of atoms in the crystal will be different when electrons with different incident energies hit the crystal, in order to accurately simulate the slip of dislocations, it is necessary to determine the incident energy of the electrons incident on the dislocation area of the crystal model.
[0050] In the process of electron impact on dislocation, a large number of electrons are incident on the area where the dislocation is located, but not every incident electron will collide with the atoms in the area where the dislocation is located. Therefore, the number of electrons impacting atoms is random; in addition, when electrons collide with atoms, they will be scattered, and the scattering angle is also random; based on this, assuming that when the electron beam is incident on the area where the dislocation is located, the number of electrons colliding with the atoms in the area where the dislocation is located is randomly determined, for example, the number of electrons is one, and for example, the number of electrons is 10, and each electron that collides is scattered, then the scattering angle of each electron that collides is randomly determined, that is, at least one scattering angle needs to be randomly selected within the preset scattering angle range, and the number of randomly selected scattering angles is the same as the number of electrons that collide.
[0051] The preset scattering angle range is (0, 180°).
[0052] In the embodiment of the present invention, since the molecular dynamics simulation software can only simulate processes related to the atomic motion path, it is necessary to determine the velocity vector of the atom outside the molecular dynamics simulation software. Specifically, the velocity vector obtained by an atom after an electron collides with the atom can be determined by the following method (S41-S44):
[0053] S41. Based on the principle of conservation of energy and the incident energy, determine the energy transferred to the struck atom when the electron is incident on the region where the dislocation of the crystal model is located and scatters at the selected scattering angle after impacting the dislocation.
[0054] Based on the principle of conservation of energy, the energy transferred to the struck atom can be calculated using the following formula:
[0055] Among them, E t is the energy transferred to the struck atom; m is the atomic mass; E e 、m e , θ are the incident energy, mass and scattering angle of the electron respectively; c is the speed of light.
[0056] S42. Determine the velocity of the electron after scattering and the velocity obtained by the struck atom according to the energy of the struck atom.
[0057] The velocity v′ of the electron after scattering can be calculated using the following formula:
[0058] The velocity v obtained by the struck atom can be calculated using the following formula: s :
[0059] S43. Determine the scattering angle of the struck atom according to the velocity of the electron after scattering, the velocity obtained by the struck atom, and the scattering angle.
[0060] The scattering angle ψ of the impacted atom can be calculated using the following formula:
[0061] Here, γ is the Lorentz factor.
[0062] S44, randomly generate an azimuth angle within a preset azimuth angle range, and calculate the velocity vector obtained by the struck atom based on the randomly generated azimuth angle and the scattering angle of the struck atom
[0063] in, is the azimuth angle, and the default azimuth angle range is [0,2π].
[0064] In the embodiment of the present invention, for each randomly selected scattering angle, the above S41 to S44 can be used to determine the velocity vector obtained by each struck atom after the electron scatters toward the corresponding scattering angle after striking the atom, that is, to obtain at least one velocity vector.
[0065] Finally, step S5 "inputting the determined at least one velocity vector into the molecular dynamics simulation software to obtain simulation data of simulating the states of all atoms in the crystal model after the molecular dynamics simulation software assigns at least one velocity vector one-to-one to at least one target atom; the target atom is located in the area where the dislocation is located" and step S6 "simulating the slip process of the dislocation in the crystal model according to the simulation data" are explained at the same time.
[0066] After receiving at least one velocity vector as input, the molecular dynamics simulation software assigns the at least one velocity vector to at least one target atom in a one-to-one correspondence to simulate the states of all atoms in the crystal model. Since electrons need to be incident on the region where the dislocation is located during the component forming process, in order to quantify the slip of the dislocation, the target atoms (i.e., the atoms being struck) are all located in the region where the dislocation is located. It can be seen that in the embodiment of the present invention, it is necessary to determine the individual target atoms that are struck during the process of the electron striking the dislocation.
[0067] In an embodiment of the present invention, the target atoms can be determined by molecular dynamics simulation software, or they can be determined outside the molecular dynamics simulation software and input into the molecular dynamics simulation software. However, no matter which entity determines the target atoms, they can be determined by the following determination method: based on the crystal model established by the molecular dynamics simulation software, the atoms located in the region where the dislocation is located are determined; and at least one target atom with the same number as the velocity vector is randomly selected from the atoms located in the region where the dislocation is located.
[0068] After the crystal model is established, the positions of all atoms in the crystal model can be known. When electrons are incident on the area where the dislocation is located, they will collide with electrons on the crystal surface. Therefore, target atoms can be selected from the atoms on the crystal surface based on the positions of all atoms. In addition, if the surface of the crystal model contains at least one dislocation, the area where the dislocation is located can be pre-demarcated, and target atoms can be selected from the atoms in the area where the dislocation is located and on the crystal surface.
[0069] To further improve the simulation accuracy, within the atomic range that satisfies the target atoms, the same number of atoms as the velocity vector are randomly selected as target atoms.
[0070] After at least one target atom is determined outside the molecular dynamics simulation software, the method further includes: inputting information of the at least one target atom into the molecular dynamics simulation software. This inputting process can be performed simultaneously with inputting the determined at least one velocity vector into the molecular dynamics simulation software.
[0071] It should be noted that when the molecular dynamics simulation software assigns at least one velocity vector to at least one target atom in a one-to-one correspondence, the correspondence may also be random.
[0072] After electrons are incident on the dislocation area of the crystal model, the impacted atoms will undergo displacement changes based on the assigned velocity vector. When the displacement changes, it may cause displacement changes of other atoms in the crystal model. When a large number of atoms in the crystal model undergo displacement changes, the crystal structure will change.
[0073] The simulation data includes the atomic positions of all atoms in the crystal model before and after the simulation. In embodiments of the present invention, based on the atomic positions of all atoms in the crystal model before and after the simulation, the displacement change of each atom can be determined. Based on the displacement change of each atom, the slip process of dislocations in the crystal model can be simulated.
[0074] Furthermore, since after a wave of electron beams is incident on the region where the dislocations of the crystal model are located, it takes a period of action time for the structure inside the crystal model to be stable, in one embodiment of the present invention, in step S5, the molecular dynamics simulation software outputs the simulation data within the period of action after the simulation time reaches the period of action, so as to simulate the slip process of the dislocations after the wave of electron beams is incident on the region where the dislocations of the crystal model are located.
[0075] In order to simulate the electron beam continuously incident on the dislocation area of the crystal model so that the crystal structure gradually takes shape, each time the electron beam is incident on the dislocation area of the crystal model, the structure of the crystal model after the dislocation slips can be determined as a new crystal model, and the new crystal model can be used to return to execute S3, S4, S5 and S6 to continue simulating the slip process of the dislocation in the crystal model when the electron hits the dislocation next time.
[0076] Since molecular dynamics simulation software can only output these simulation data, by analyzing the simulation data, visualization software can be used to visualize the slip process of dislocations in the crystal model, thereby intuitively characterizing the slip process of dislocations during the action of electrons impacting dislocations.
[0077] It should be noted that the various steps outside the molecular dynamics simulation software can be implemented using Python, C, Java, etc.
[0078] Based on the analysis in the above embodiment, it can be seen that after the electron is incident on the region where the dislocation of the crystal model is located, the impacted atom will undergo a displacement change based on the assigned velocity vector, but this displacement change may not cause a displacement change of other atoms in the crystal model, that is, the crystal structure will not change. Based on this, the embodiment of the present invention provides another molecular dynamics simulation method for the effect of electron impact on dislocations. Please refer to Figure 2. This method may include:
[0079] S1, using molecular dynamics simulation software to establish a crystal model to be simulated; the surface of the crystal model includes at least one dislocation.
[0080] S2, determine the incident energy of the electron.
[0081] S3. Randomly select at least one scattering angle within a preset scattering angle range.
[0082] S4. For each randomly selected scattering angle, determine, based on the incident energy, the velocity vector acquired by the impacted atom when the electron is incident on the region where the dislocation of the crystal model is located and scatters at the selected scattering angle after impacting the dislocation.
[0083] S5. Inputting the determined at least one velocity vector into the molecular dynamics simulation software to obtain simulation data of simulating the states of all atoms in the crystal model after the molecular dynamics simulation software assigns the at least one velocity vector to at least one target atom in a one-to-one correspondence; the target atom is located in the region where the dislocation is located.
[0084] It should be noted that steps S1 to S5 in this embodiment are the same as steps S1 to S5 in the above embodiment and will not be described in detail here.
[0085] S50. Determine whether the structure of the crystal model can change based on the simulation data corresponding to the first time threshold set when the molecular dynamics simulation software simulates all atomic states in the crystal model; if the judgment result is yes, execute step S51; if the judgment result is no, execute step S52.
[0086] S51. Simulation data corresponding to a second time threshold set when simulating all atomic states in the crystal model according to the molecular dynamics simulation software is reached, and S6 is executed; the second time threshold is greater than the first time threshold.
[0087] S52 , triggering the molecular dynamics simulation software to stop simulation and return to execute S3 , S4 , S5 and S50 .
[0088] For example, if the collision between electrons and atoms causes the crystal structure to change, and the change can only be stabilized after 10,000 steps or 5 picoseconds of simulation time (i.e., the second time threshold), in order to improve the simulation efficiency, a first time threshold can be set, for example, the first time threshold is 2,000 steps or 1 picosecond, then the simulation data when the molecular dynamics simulation software simulates the first time threshold can be used to determine whether the velocity vector input in S3 can cause the structure of the crystal model to change. If it is determined that the change can occur, the simulation of the molecular dynamics simulation software can continue to be waited for until the simulation time reaches the set second time threshold, and it is determined that the structure of the crystal model is stable, then the simulation of the dislocation slip process in step S6 is executed; if it is determined that the change cannot occur, there is no need to wait, and the scattering angle that can cause the structure of the crystal model to change needs to be reselected, thereby reducing the waiting time and improving the simulation efficiency.
[0089] In an embodiment of the present invention, in step S50, whether the structure of the crystal model can change can be determined in at least one of the following ways: based on the atomic position of each atom in the crystal model before simulation and the atomic position after simulation, the displacement of each atom within the first time threshold is calculated; whether the maximum displacement of all atoms is greater than the set displacement threshold; if so, it is determined that the structure of the crystal model can change; otherwise, it is determined that the structure of the crystal model will not change.
[0090] It should be noted that, in addition to this determination method, other determination methods may also be used, for example, directly determining whether the structure of the crystal model will change based on the velocity vector or the energy transferred to the collided atoms.
[0091] S6. Simulating the slip process of dislocations in the crystal model according to the simulation data.
[0092] After step S6, the structure of the crystal model after the dislocation slip can also be determined as a new crystal model, and the new crystal model can be used to return to execute S3, S4, S5, S50, S51, S52 and S6 to continue simulating the slip process of the dislocation in the crystal model when the electron hits the dislocation next time.
[0093] As shown in Figures 3 and 4, an embodiment of the present invention provides a molecular dynamics simulation device for the effect of electron impacting dislocations. The device embodiment can be implemented through software, or through hardware or a combination of software and hardware. From the hardware level, as shown in Figure 3, it is a hardware architecture diagram of an electronic device where a molecular dynamics simulation device for the effect of electron impacting dislocations provided by an embodiment of the present invention is located. In addition to the processor, memory, network interface, and non-volatile memory shown in Figure 3, the electronic device where the device is located in the embodiment can generally also include other hardware, such as a forwarding chip responsible for processing messages, etc. Taking software implementation as an example, as shown in Figure 4, as a device in a logical sense, it is formed by the CPU of the electronic device where it is located reading the corresponding computer program in the non-volatile memory into the memory for execution. A molecular dynamics simulation device for the effect of electron impacting dislocations provided in this embodiment includes:
[0094] The crystal model building unit 401 is used to build a crystal model to be simulated using molecular dynamics simulation software; the surface of the crystal model includes at least one dislocation;
[0095] A first determining unit 402 is configured to determine the incident energy of the electron;
[0096] A selection unit 403 is configured to randomly select at least one scattering angle within a preset scattering angle range;
[0097] A second determining unit 404 is configured to determine, for each randomly selected scattering angle, based on the incident energy, a velocity vector of an atom struck by an electron when the electron strikes the dislocation and is scattered at the selected scattering angle.
[0098] a simulation data acquisition unit 405 for inputting the determined at least one velocity vector into the molecular dynamics simulation software to obtain simulation data of the molecular dynamics simulation software simulating the states of all atoms in the crystal model after assigning the at least one velocity vector to at least one target atom in a one-to-one correspondence; the target atom is located in the region where the dislocation is located;
[0099] The simulation unit 406 is configured to simulate the slip process of dislocations in the crystal model according to the simulation data.
[0100] In one embodiment of the present invention, the second determining unit 404, when determining, based on the incident energy, the velocity vector obtained by the impacted atom when the electron strikes the dislocation and is scattered at the selected scattering angle, specifically includes:
[0101] Based on the principle of conservation of energy and the incident energy, determining the energy transferred to the struck atom when the electron is incident on the region where the dislocation of the crystal model is located and scatters at the selected scattering angle after impacting the dislocation;
[0102] Determine the velocity of the electron after scattering and the velocity obtained by the struck atom according to the energy of the struck atom;
[0103] Determining the scattering angle of the struck atom according to the velocity of the electron after scattering, the velocity obtained by the struck atom, and the scattering angle;
[0104] An azimuth angle is randomly generated within a preset azimuth angle range, and a velocity vector obtained by the struck atom is calculated based on the randomly generated azimuth angle and the scattering angle of the struck atom.
[0105] In one embodiment of the present invention, the second determination unit 404 is further used to determine each atom located in the region where the dislocation is located based on the crystal model established by the molecular dynamics simulation software; randomly select at least one target atom with the same number as the velocity vector from each atom located in the region where the dislocation is located, so as to trigger the simulation data acquisition unit 405 to input the information of the at least one target atom into the molecular dynamics simulation software.
[0106] In one embodiment of the present invention, referring to FIG5 , the apparatus further includes a structure change determination unit 407 configured to perform the following operations:
[0107] determining whether the structure of the crystal model can change according to simulation data corresponding to a set first time threshold when the molecular dynamics simulation software simulates the states of all atoms in the crystal model;
[0108] If the judgment result is yes, then performing the simulation of the slip process of the dislocation in the crystal model according to the simulation data corresponding to the second time threshold set when the molecular dynamics simulation software simulates all the atomic states in the crystal model; the second time threshold is greater than the first time threshold;
[0109] If the judgment result is no, the molecular dynamics simulation software is triggered to stop the simulation, and the selection unit 403, the second determination unit 404, the simulation data acquisition unit 405 and the structure change judgment unit 407 are triggered to re-execute corresponding operations.
[0110] In one embodiment of the present invention, the simulation data includes: atomic positions before simulation and atomic positions after simulation;
[0111] When the structure change judgment unit 407 judges whether the structure of the crystal model can change, it specifically includes: calculating the displacement of each atom within the first time threshold based on the atomic position of each atom in the crystal model before simulation and the atomic position after simulation; judging whether the maximum displacement of all atoms is greater than the set displacement threshold; if so, determining that the structure of the crystal model can change; otherwise, determining that the structure of the crystal model will not change.
[0112] In one embodiment of the present invention, after executing the simulation of the slip process of the dislocation in the crystal model, the simulation unit 406 is also used to determine the structure of the crystal model after the dislocation slips as a new crystal model, and use the new crystal model to trigger the execution of the selection unit 403, the second determination unit 404, the simulation data acquisition unit 405, the structure change judgment unit 407 and the simulation unit 406 to re-execute corresponding operations to continue simulating the slip process of the dislocation in the crystal model when the electron hits the dislocation next time.
[0113] In one embodiment of the present invention, referring to FIG. 6 , the apparatus further includes: a display unit 408 for visually displaying the slip process of the dislocation in the crystal model using visualization software.
[0114] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on a molecular dynamics simulation device for electron impact dislocations. In other embodiments of the present invention, a molecular dynamics simulation device for electron impact dislocations may include more or fewer components than shown, or may combine or separate certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0115] The information interaction, execution process, etc. between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For specific contents, please refer to the description in the embodiment of the method of the present invention and will not be repeated here.
[0116] An embodiment of the present invention further provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, a molecular dynamics simulation method of electron impact dislocation effect according to any embodiment of the present invention is implemented.
[0117] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes a molecular dynamics simulation method of electron impact dislocation effect according to any embodiment of the present invention.
[0118] Specifically, a system or device equipped with a storage medium can be provided, on which software program codes that implement the functions of any of the above-mentioned embodiments are stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program codes stored in the storage medium.
[0119] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute part of the present invention.
[0120] Examples of storage media for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, the program code can be downloaded from a server computer via a communication network.
[0121] In addition, it should be clear that the functions of any of the above embodiments can be achieved not only by executing the program code read by the computer, but also by enabling the operating system operating on the computer to complete part or all of the actual operations based on the instructions of the program code.
[0122] In addition, it can be understood that the program code read from the storage medium is written into a memory provided in an expansion board inserted into the computer or into a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above embodiments.
[0123] It should be noted that, in this article, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical factors in the process, method, article or device comprising the elements.
[0124] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk, etc. Various media that can store program codes.
[0125] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A molecular dynamics simulation method for electron impact dislocation, characterized in that: include: S1. Using molecular dynamics simulation software to establish a crystal model to be simulated; the surface of the crystal model includes at least one dislocation; S2. Determine the incident energy of the electron; S3, randomly selecting at least one scattering angle within a preset scattering angle range; S4, for each randomly selected scattering angle, determining, according to the incident energy, a velocity vector of an atom struck by an electron when the electron strikes a dislocation region of the crystal model and scatters at the selected scattering angle; S5, inputting the determined at least one velocity vector into the molecular dynamics simulation software to obtain simulation data of simulating the states of all atoms in the crystal model after the molecular dynamics simulation software assigns the at least one velocity vector to at least one target atom in a one-to-one correspondence; the target atom is located in the region where the dislocation is located; S6. Simulating the slip process of dislocations in the crystal model according to the simulation data.
2. The method according to claim 1, characterized in that Determining, based on the incident energy, the velocity vector of the atom struck by the electron when the electron strikes the dislocation region of the crystal model and scatters at the selected scattering angle after striking the dislocation, comprises: Based on the energy conservation principle and the incident energy, determining the energy transferred to the struck atom when the electron strikes the dislocation region of the crystal model and scatters at the selected scattering angle after striking the dislocation; According to the energy of the struck atom, the speed of the electron after scattering and the speed obtained by the struck atom are determined; Determine the scattering angle of the struck atom according to the velocity of the electron after scattering, the velocity obtained by the struck atom and the scattering angle; An azimuth angle is randomly generated within a preset azimuth angle range, and a velocity vector acquired by the struck atom is calculated based on the randomly generated azimuth angle and the scattering angle of the struck atom.
3. The method according to claim 1, characterized in that After obtaining the molecular dynamics simulation software to assign at least one velocity vector to at least one target atom in a one-to-one correspondence, and before simulating data of all atomic states in the crystal model, the method further includes: Based on the crystal model established by the molecular dynamics simulation software, determining each atom located in the region where the dislocation is located; At least one target atom having the same number as the velocity vector is randomly selected from each atom located in the region where the dislocation is located, and information of the at least one target atom is input into the molecular dynamics simulation software.
4. The method according to claim 1, characterized in that: Before step S6, the method further includes: S50, judging whether the structure of the crystal model can change according to the simulation data corresponding to the first time threshold set when the molecular dynamics simulation software simulates all atomic states in the crystal model; If the judgment result is yes, then simulating the slip process of the dislocation in the crystal model is performed according to the simulation data corresponding to the second time threshold set when the molecular dynamics simulation software simulates all the atomic states in the crystal model; the second time threshold is greater than the first time threshold; If the judgment result is no, the molecular dynamics simulation software is triggered to stop the simulation and return to execute S3, S4, S5 and S50.
5. The method according to claim 4, characterized in that The simulation data includes: atomic positions before simulation and atomic positions after simulation; The determining whether the structure of the crystal model can be changed includes: Calculating the displacement of each atom within the first time threshold according to the atomic position of each atom in the crystal model before simulation and the atomic position after simulation; It is determined whether the maximum displacement of all atoms is greater than a set displacement threshold; if so, it is determined that the structure of the crystal model can change; otherwise, it is determined that the structure of the crystal model will not change.
6. The method according to claim 4, characterized in that After simulating the slip process of the dislocation in the crystal model according to the simulation data corresponding to the second time threshold set when simulating all the atomic states in the crystal model according to the molecular dynamics simulation software, the method further includes: The structure of the crystal model after dislocation slip is determined as a new crystal model, and the new crystal model is used The model returns to execute S3, S4, S5, S50 and S6 to continue simulating the slip process of the dislocation in the crystal model when the electron strikes the dislocation next time.
7. The method according to any one of claims 1 to 6, characterized in that: The sliding process of dislocations in the crystal model is visualized using visualization software.
8. A molecular dynamics simulation device for electron impact dislocation, characterized in that: include: A crystal model building unit, used to build a crystal model to be simulated using molecular dynamics simulation software; the surface of the crystal model includes at least one dislocation; A first determining unit, used to determine the incident energy of the electron; A selection unit, used for randomly selecting at least one scattering angle within a preset scattering angle range; A second determination unit is used to determine, for each randomly selected scattering angle, according to the incident energy, a velocity vector acquired by the impacted atom when the electron impacts the dislocation and scatters at the selected scattering angle when the electron is incident on the dislocation region of the crystal model; A simulation data acquisition unit, used for inputting the determined at least one velocity vector into the molecular dynamics simulation software to obtain simulation data of simulating the states of all atoms in the crystal model after the molecular dynamics simulation software assigns the at least one velocity vector to at least one target atom in a one-to-one correspondence; the target atom is located in the region where the dislocation is located; A simulation unit is used to simulate the slip process of dislocations in the crystal model according to the simulation data.
9. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Modeling method of sine waveform dislocation climbing atomic structure
CN109215744A
A method for constructing hybrid dislocation atomic structure
CN109299786A
Molecular dynamics method for simulating uniform deformation of high-entropy alloy
CN115565628A
Molecular dynamics simulation method and device for electron impact dislocation effect
CN116090253A
Method for dynamically calculating scattering angle distribution on which incident electrons are scattered by crystal, device and program thereof
JP2014052213A
