Method and equipment for carrying out short-range correction on molecular dynamics potential function and medium
By constructing a smooth transition function and a list potential function in the molecular dynamic potential function, the correction potential function is optimized, and the problem of short-range atomic repulsion is solved, and the accuracy and application effect of material irradiation damage simulation is improved.
Patent Information
- Application Number
- CN202411409084.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-10-10
AI Technical Summary
The existing molecular dynamic potential function fails to effectively consider the strong repulsion between short-range atoms when simulating material radiation damage, resulting in difficult displacement cascade simulation and inability to truly simulate the radiation damage process.
By finding the potential energy value of the atomic pair determined by the molecular dynamic potential function within a range less than the ideal equilibrium distance, the potential energy value of the DFT calculated by the set proportion is smaller than the set proportion, the pair of atomic energy insufficient short-range atomic energy is recorded, and a smooth transition function is constructed based on this, the list potential is constructed. Add it to the molecular dynamic potential function to be corrected and optimize the correction potential function to achieve the minimum error within the specified accuracy range.
The smooth enhancement of short-range potential energy and the optimization and correction of molecular dynamic potential function are achieved, so that the accuracy and application effect of the simulation are improved under the conditions of taking into account the strong repulsion between short-range atoms in material irradiation damage simulation.
Smart Images

Figure CN118916595A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of material radiation damage simulation, and in particular to a method, device and medium for performing short-range correction on a molecular dynamics potential function. Background Art
[0002] Radiation damage is one of the severe tests faced by many materials, which seriously affects the service performance and service life of the materials. Due to the difficulty, long cycle and high cost of radiation damage experiments, a small number of experiments combined with computer simulation technology are the main methods to study radiation damage of materials. When materials are irradiated by high-energy neutrons or ions in an irradiation environment, they hit the atoms in the lattice to produce displacement cascades and cause damage defects. This damage process can be well simulated by molecular dynamics. However, most molecular dynamics potential functions are fitted using parameters of the material equilibrium state, without including the strong repulsive effect between short-range atoms, which makes it difficult to simulate the displacement cascade and thus cannot simulate the real radiation damage process. Summary of the invention
[0003] The purpose of this application is to provide a method, device and medium for short-range correction of molecular dynamics potential function, to correct the basic molecular dynamics potential function to add short-range repulsive potential energy, thereby improving the application of molecular dynamics potential function in the field of material radiation damage simulation.
[0004] To achieve the above objectives, this application provides the following solutions: In a first aspect, the present application provides a method for performing short-range correction on a molecular dynamics potential function, comprising: According to the simulated material radiation damage scenario, the molecular dynamics potential function to be corrected is selected; The molecular dynamics potential function to be corrected, density functional theory (DFT) and Ziegler-Biersack-Littmark (ZBL) potential function are used to determine the energy values of all atomic pairs at different distances to obtain energy curves between different atomic pairs; the energy values include potential energy values and force values; Determine the lowest potential energy point based on the energy curve, and use the distance corresponding to the lowest potential energy point as the ideal equilibrium distance of the atomic pair; In a range smaller than the ideal equilibrium distance, searching for atomic pairs whose potential energy values determined by the molecular dynamics potential function to be corrected are smaller than a set proportion of DFT calculated values, and treating the found atomic pairs as atomic pairs with insufficient short-range potential energy, and recording the energy values of the atomic pairs with insufficient short-range potential energy; the DFT calculated values are the energy values of the atomic pairs determined by density functional theory; Constructing a smooth transition function, and constructing a list potential based on the smooth transition function; Adding the tabulated potential to the molecular dynamics potential function to be corrected to obtain an added molecular dynamics potential function; The energy value of the atomic pair with insufficient short-range potential energy is determined by using the added molecular dynamics potential function to obtain a corrected value; Determine whether the error between the correction value and the standard reference value is minimized within a specified accuracy range, and obtain a determination result; When the judgment result is yes, the added molecular dynamics potential function is used as the corrected molecular dynamics potential function; When the judgment result is no, the transition interval of the list potential is changed, and the list potential after the change of the transition interval is used as the new list potential, and the step of adding the list potential to the molecular dynamics potential function to be corrected is returned to obtain the added molecular dynamics potential function, until the error between the corrected value and the standard reference value is minimized within the specified accuracy range, and the added molecular dynamics potential function is used as the corrected molecular dynamics potential function.
[0005] Optionally, the set ratio is 50%.
[0006] Optionally, the molecular dynamics potential function to be corrected, density functional theory and ZBL potential function are used to determine the energy values of all atomic pairs at different distances to obtain energy curves between different atomic pairs, and then the method further includes: The energy curves between different atomic pairs are plotted in one graph using the drawing software origin.
[0007] Optionally, different standard reference values are determined for different distance ranges, specifically including: For a first set distance range, using the first principle software VASP, a number of distance points are uniformly selected within the first set distance range, and the energy value of the atomic pair with insufficient short-range potential energy at each distance point is determined using density functional theory to obtain the standard reference value; For the second set distance range, the ZBL potential function is used to determine the energy value of the short-range potential energy deficiency atom pair within the second set distance range to obtain the standard reference value.
[0008] Optionally, the first set distance range is 0.1Å-1Å; the second set distance range is less than 0.1Å.
[0009] Optionally, the ZBL potential function is expressed as: ; In the formula, is the energy value of atom i and atom j determined by the ZBL potential function, is the dielectric constant of vacuum, is the nuclear charge number of atom i, is the nuclear charge number of atom j, is the electron charge, is the distance between atom i and atom j, is the intermediate quantity, is the independent variable, , is the intermediate function, is the ratio of the interatomic distance to the intermediate mass.
[0010] Optionally, a smooth transition function is constructed, specifically including: A high-order polynomial or cosine function is constructed, and the constructed high-order polynomial or cosine function is used as the smooth transition function.
[0011] Optionally, the high-order polynomial is expressed as: ; The cosine function is expressed as: ; The list potential is expressed as: ; In the formula, is the distance between the atom pairs, is the function value, is the first end value of the transition interval, is the second end value of the transition interval, is the potential function energy before correction, is the corrected potential function energy, is the list potential energy, is the distance between atom i and atom j.
[0012] In a second aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-mentioned method for short-range correction of the molecular dynamics potential function.
[0013] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-mentioned method for short-range correction of the molecular dynamics potential function.
[0014] According to the specific embodiments provided in this application, this application discloses the following technical effects: The present application provides a method, device and medium for short-range correction of the molecular dynamics potential function, by finding the atomic pairs whose potential energy values determined by the molecular dynamics potential function to be corrected are less than the DFT calculated value of the set ratio within the range less than the ideal equilibrium distance, and obtaining the atomic pairs with insufficient short-range potential energy, indicating that the molecular dynamics potential function to be corrected needs to be corrected. By constructing a smooth transition function, and constructing a list potential based on the smooth transition function, and then adding the list potential to the molecular dynamics potential function to be corrected, a smooth improvement of the short-range potential energy can be achieved. By judging whether the error between the correction value and the standard reference value is minimized within the specified accuracy range, the optimal transition interval can be determined, and the optimization adjustment of the list potential can be achieved, thereby realizing the optimization correction of the molecular dynamics potential function, so that the present application improves the application of the molecular dynamics potential function in the field of material radiation damage simulation under the condition of considering the strong repulsion between short-range atoms. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 This is an application environment diagram of a method for performing short-range correction on a molecular dynamics potential function in one embodiment of the present application; Figure 2 A schematic flow chart of a method for performing short-range correction on a molecular dynamics potential function provided in one embodiment of the present application; Figure 3 A potential energy curve comparison diagram of the ReaxFF potential function and the DFT and ZBL potential functions provided in another embodiment of the present application; Figure 4 An energy curve diagram of the ReaxFF potential function before and after correction provided by another embodiment of the present application; Figure 5 A schematic diagram of the movement direction of a graphite model and a primary delocalized atom PKA provided in another embodiment of the present application; Figure 6 A schematic diagram of the change in kinetic energy of a PKA atom during simulated motion provided by another embodiment of the present application; Figure 7 A schematic diagram of the movement position of PKA atoms and the change of graphite structure under the ReaxFF potential function simulation provided in another embodiment of the present application; Figure 8A schematic diagram of the movement position of PKA atoms and the change of graphite structure under the modified ReaxFF potential function simulation provided in another embodiment of the present application; Fig. 9 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0018] The simulation of realistic radiation effects requires the modification of the basic molecular dynamics potential function by adding short-range repulsive potential energy, thereby improving the application of the molecular dynamics potential function in the field of radiation simulation. Based on this, the short-range modified molecular dynamics potential function is of great significance for the study of radiation damage of different materials.
[0019] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0020] The method for short-range correction of the molecular dynamics potential function provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set up separately, integrated on the server 104, or placed on the cloud or other servers. The terminal 102 can send the molecular dynamics potential function to be corrected to the server 104. After the server 104 receives the molecular dynamics potential function to be corrected, for the molecular dynamics potential function to be corrected, the server 104 calculates the energy curve before the potential function is corrected, and determines the atomic pair information that needs to be corrected (i.e., the information of the atomic pair with insufficient short-range potential energy). The first principle software is used to calculate the energy and force values of the short-range action of the corresponding atomic pair, and the standard reference value used for fitting correction is obtained. Construct a smooth transition function, fit the calculated value of the molecular dynamics potential function to be corrected to the standard reference value by finding the optimal transition interval, and construct a corrected potential function file. The server 104 can feedback the obtained corrected potential function file to the terminal 102. In addition, in some embodiments, the method for short-range correction of the molecular dynamics potential function can also be implemented independently by the server 104 or the terminal 102. For example, the terminal 102 can directly perform correction processing on the molecular dynamics potential function to be corrected, or the server 104 can obtain the molecular dynamics potential function to be corrected from the data storage system and perform correction processing on the molecular dynamics potential function to be corrected.
[0021] The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers, or may be a cloud server.
[0022] In an exemplary embodiment, Figure 2 As shown, a method for short-range correction of molecular dynamics potential function is provided. The method is executed by a computer device, and can be executed by a computer device such as a terminal or a server alone, or can be executed by a terminal and a server together. In the embodiment of the present application, the method is applied to Figure 1 The server 104 in the example is used as an example to illustrate, including the following steps 200 to 209. Among them: Step 200: According to the simulated material radiation damage scenario, a molecular dynamics potential function to be corrected is selected. The selected molecular dynamics potential function to be corrected is a potential function that can be directly read and calculated by the molecular dynamics simulation software Lammps. The molecular dynamics potential function is referred to as a potential function.
[0023] Step 201: Use the molecular dynamics potential function to be corrected, density functional theory and ZBL potential function to determine the energy values of all atomic pairs at different distances, and obtain energy curves between different atomic pairs. The energy value includes the potential energy value and the force value. Among them, the energy curve between different atomic pairs is the curve of potential energy and distance between different atomic pairs.
[0024] In actual application, the energy curve can be drawn by the drawing software origin, and the determination results of the molecular dynamics potential function to be corrected, the determination results of the density functional theory and the determination results of the ZBL potential function can be plotted on one graph for prominent comparison.
[0025] Step 202: Determine the lowest potential energy point based on the energy curve, and use the distance corresponding to the lowest potential energy point as the ideal equilibrium distance of the atomic pair.
[0026] Step 203: In a range less than the ideal equilibrium distance, find the atomic pairs whose potential energy values determined by the molecular dynamics potential function to be corrected are less than the DFT calculated value of the set ratio, and take the found atomic pairs as the atomic pairs with insufficient short-range potential energy, and record the energy values of the atomic pairs with insufficient short-range potential energy. The DFT calculated value is the energy value of the atomic pairs determined by the density functional theory. The names of the atomic pairs with insufficient short-range potential energy can also be recorded.
[0027] In practical applications, the ideal equilibrium distance is generally greater than 1.0Å. Therefore, within the range less than the ideal equilibrium distance, atomic pairs whose potential energy values are more than 50% less than the DFT calculated values can be regarded as short-range potential energy insufficient atomic pairs.
[0028] Step 204: construct a smooth transition function, and construct a list potential based on the smooth transition function.
[0029] Step 205: Adding the tabulated potential to the molecular dynamics potential function to be corrected to obtain the added molecular dynamics potential function.
[0030] Step 206: Use the added molecular dynamics potential function to determine the energy value of the atom pair with insufficient short-range potential energy to obtain a corrected value.
[0031] Step 207: Determine whether the error between the correction value and the standard reference value is minimized within a specified accuracy range, and obtain a determination result.
[0032] Step 208: When the judgment result is yes, the added molecular dynamics potential function is used as the corrected molecular dynamics potential function.
[0033] Step 209: When the judgment result is no, change the transition interval of the list potential, and use the list potential after the change of the transition interval as the new list potential, return to step 205, until the error between the corrected value and the standard reference value reaches the minimum within the specified accuracy range, and use the added molecular dynamics potential function as the corrected molecular dynamics potential function.
[0034] In practical applications, the transition interval corresponding to when the error between the correction value and the standard reference value reaches the minimum within the specified accuracy range can be used as the final action interval of the tabulated potential.
[0035] By implementing the above steps 201 to 209, by constructing a smooth transition function, and constructing a list potential based on the smooth transition function, and then adding the list potential to the molecular dynamics potential function to be corrected, a smooth improvement of the short-range potential energy can be achieved. By determining whether the error between the correction value and the standard reference value is minimized within a specified accuracy range to determine the optimal transition interval, the list potential can be optimized and adjusted, and then the molecular dynamics potential function is optimized and corrected, so that the present application improves the application of the molecular dynamics potential function in the field of material radiation damage simulation under the condition of considering the strong repulsion between short-range atoms.
[0036] In another exemplary embodiment of the present application, in order to further improve the correction effect, different standard reference values can be determined for different distance ranges. Specifically: (1) For the first set distance range, use the first principle software VASP (Vienna Ab-initioSimulation Package), uniformly select several distance points within the first set distance range, and use density functional theory to determine the energy value of the atomic pair with insufficient short-range potential energy at each distance point to obtain the standard reference value. For example, the first set distance range is 0.1Å-1Å (2) For the second set distance range, the ZBL potential function is used to determine the energy value of the short-range potential energy deficiency atom pair within the second set distance range to obtain a standard reference value. For example, the second set distance range is less than 0.1 Å.
[0037] Furthermore, the expression of the ZBL potential function can be: .
[0038] In the formula, is the energy value of atom i and atom j determined by the ZBL potential function, is the dielectric constant of vacuum, is the nuclear charge number of atom i, is the nuclear charge number of atom j, is the electron charge, is the distance between atom i and atom j, is the intermediate quantity, is the independent variable, , is the intermediate function, is the ratio of the interatomic distance to the intermediate mass.
[0039] In another exemplary embodiment of the present application, a transition list potential is introduced by constructing a high-order polynomial or cosine function. The present application mainly uses a high-order polynomial or cosine function, and uses the constructed high-order polynomial or cosine function as a smooth transition function. Among them, the high-order polynomial is expressed as: .
[0040] The cosine function is expressed as: .
[0041] Based on the high-order polynomial or cosine function constructed above, the list potential constructed in this application can be expressed as: .
[0042] In the formula, is the distance between the atom pairs, is the function value, is the first end value of the transition interval, is the second end value of the transition interval, is the potential function energy before correction, is the energy of the ZBL potential function, is the list potential energy, is the distance between atom i and atom j.
[0043] In another exemplary embodiment of the present application, the Python 3.10 platform can be used to generate a self-written potential function program based on numpy, pandas, scipy libraries, etc., and a new potential function file that can be read can be obtained by combining the list potential.
[0044] In another exemplary embodiment of the present application, in order to accurately describe the short-range effects required for equilibrium properties and high-energy collisions, a modified potential function that can be used to additionally describe short-range interactions is obtained. In this embodiment, the molecular dynamics software Lammps is used to simulate the equilibrium properties and high-energy collisions of materials or the material properties and the required scenarios using the modified molecular dynamics potential function. Based on the obtained simulation results, it can be explained that the present application can realize customized corrections to specific elements in the general potential function, so that the potential function has the ability to describe short-range interactions and expand the scope of use of the potential function.
[0045] Based on the above description, compared with the prior art, the method for short-range correction of the molecular dynamics potential function provided by the present application has the following advantages: 1) This application can perform energy correction on potential functions with insufficient short-range repulsive potential energy based on the calculation results of first principles and ZBL potential functions, and realize the simulation of short-range interactions under high-energy collisions by basic potential functions.
[0046] 2) This application optimizes the energy transition range for different atomic pairs respectively. Compared with the traditional simple addition method of ZBL potential function, it takes into account the differences between different atomic pairs and is based on first-principles data, making the description of short-range interactions of potential functions more accurate, which has practical significance for material irradiation simulation.
[0047] 3) The potential function file generated by the optimization method used in this application can be directly read by the molecular dynamics simulation software, has strong transferability, and is convenient for simulation.
[0048] In an exemplary embodiment, the processing flow of the method provided by the present application is described by taking the modification of the ReaxFF potential function that can accurately describe the properties of the equilibrium state of a material (such as graphite) as an example. Specifically: S1. Select the ReaxFF potential function according to the scenario to be simulated.
[0049] S2. Use ReaxFF potential function, DFT and ZBL potential function to calculate the potential energy and force of all atomic pairs at different distances, and obtain the potential energy and distance curves between different atomic pairs.
[0050] S3. Find the lowest potential energy point of each atom pair according to the potential energy and distance curve. In this embodiment, the equilibrium position of the carbon atom and the carbon atom pair is about 1.25Å. At the same time, the potential energy within 1.0Å is less than the DFT calculation result by more than 50%. It can be judged that the carbon atom pair is an atom pair with insufficient short-range potential energy, such as Figure 3 Then save the potential energy data of carbon atom pairs in the range of 0-1.6Å.
[0051] S4. Using the first-principles software VASP, select 200 distance points evenly distributed within the distance of 0.1-1.0Å, and calculate the potential energy at each distance point for the atomic pairs with insufficient short-range potential energy in step S3. For the distance range less than 0.1Å, use the ZBL potential function to calculate the potential energy of different atomic pairs.
[0052] S5. By constructing a cosine function, a transitional list potential is introduced, and the list potential is added to the original potential function (i.e., the ReaxFF potential function) to achieve a smooth increase in the short-range potential energy.
[0053] S6. By changing the different transition intervals of the tabulated potential, the error between the added potential function energy and the calculated value of the first principle (i.e., DFT) is minimized within the specified accuracy. The transition interval is used as the final action interval of the tabulated potential, and a new potential function file that can be read is obtained through a self-written potential function generation program.
[0054] The calculated transition interval left and right endpoint values (i.e., the first endpoint value) in this embodiment are and the second endpoint value ) See Table 1. Finding the optimal transition interval is achieved by calculating the minimum residual sum of squares. The calculation formula for the minimum residual sum of squares is: .
[0055] In the formula, is the minimum residual sum of squares. For the first principle, the distance is The potential energy calculated when . For the corrected potential function, in the corresponding transition interval, the interatomic distance is The potential energy calculated when . The distance between atoms is The list trend at that time. is the original potential function at a distance of The potential energy calculated when . is the original potential function at a distance of The potential energy calculated when . The ZBL potential function at the distance is The potential energy calculated when . is the number of data points of the standard reference value. represents the differential operator, Represents potential energy Distance The derivative of Represents potential energy Distance The derivative of Represents potential energy Distance The derivative of .
[0056] Furthermore, the final potential energy expression can be obtained as: In the formula, is the final potential energy, The distance between atoms is The list trend at that time.
[0057] The interatomic forces are realized by calculating the negative gradient of the interatomic potential energy. In this example, the distance tolerance value of the tabulated potential is set to 10 -4, the tolerance value of the transition interval optimization process is set to 10 -12 .
[0058] Table 1 Transition interval end values obtained by targeted optimization of carbon atom pairs
[0059] Figure 4 The potential energy and distance curves calculated using the corrected ReaxFF potential function are shown. Compared with the uncorrected ReaxFF potential function, the results of the corrected ReaxFF potential function are closer to the DFT calculated values within 1.0Å (i.e., the agreement is better), and the numerical deviation has been corrected from 90% to less than 5%.
[0060] S7, using the molecular dynamics software Lammps to use a new potential function to simulate the equilibrium properties and high-energy collisions of materials such as graphite and diamond (related to the scope of application of the original potential function), and using the ovito software to visually verify whether the modified potential function can accurately describe the short-range effects required for the equilibrium properties and high-energy collisions, and after successful verification, a modified potential function that can be used to additionally describe the short-range interactions is obtained. In this embodiment, a high-energy collision simulation was performed on a graphite material. Figure 5 The graphite model after relaxation is shown. A carbon atom is selected as the primary knock-on atom (PKA) in the center of the graphite model, and PKA is emitted with a kinetic energy of 380 eV in the diagonal direction. The relationship between the kinetic energy of PKA in the model and the number of simulation steps is shown in Figure 6 , PKA under the ReaxFF potential function simulation only transfers 20% of the kinetic energy in the material and moves out of the model, so there is no damage to the graphite layered structure, such as Figure 7 shown. Figure 7 Part (a) is a schematic diagram of the motion position of PKA atoms under the ReaxFF potential function simulation. Figure 7 Part (b) of the figure is a schematic diagram of the graphite structure change under the ReaxFF potential function simulation. The PKA under the modified ReaxFF potential function simulation transfers 100% of the kinetic energy due to the collision and finally stops in the material. Figure 8 It can be seen that disorder and atomic connection occur between graphite layers, causing radiation damage. This shows that ReaxFF cannot simulate high-energy collisions, while the modified ReaxFF potential function can simulate the damage caused by high-energy collisions under radiation. The newly modified potential function has been successfully verified and can be used for subsequent radiation simulation of graphite materials. Figure 8 Part (a) is a schematic diagram of the motion position of PKA atoms under the modified ReaxFF potential function simulation. Figure 8 Part (b) is a schematic diagram of the graphite structure changes under the simulation of the modified ReaxFF potential function.
[0061] The present application also provides an application scenario, which applies the above-mentioned method for short-range correction of the molecular dynamics potential function. Specifically: the method for short-range correction of the molecular dynamics potential function provided in this embodiment can be applied in the content distribution scenario. The internal distribution scenario includes the content production link, the content processing link and the content distribution link; the molecular dynamics potential function to be corrected enters the content processing link from the content production link, obtains the corresponding content features through human-machine collaboration, and enters the downstream content distribution link. The method for short-range correction of the molecular dynamics potential function provided in this embodiment belongs to the machine simulation link in the content processing link. Specifically, in the content processing link process for the molecular dynamics potential function to be corrected, the simulation of the material radiation damage process can be achieved based on the collaborative method of machine simulation and manual simulation.
[0062] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the corrected molecular dynamics potential function file. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for short-range correction of the molecular dynamics potential function is implemented.
[0063] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0064] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0065] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0066] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0067] 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 this 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), magnetoresistive 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. By way of illustration and not limitation, RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0068] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. 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 is not limited thereto.
[0069] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0070] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for short-range correction of molecular dynamics potential function, characterized in that: The method for performing short-range correction on the molecular dynamics potential function comprises: According to the simulated material radiation damage scenario, the molecular dynamics potential function to be corrected is selected; The molecular dynamics potential function to be corrected, density functional theory and ZBL potential function are used to determine the energy values of all atomic pairs at different distances to obtain energy curves between different atomic pairs; the energy values include potential energy values and force values; Determine the lowest potential energy point based on the energy curve, and use the distance corresponding to the lowest potential energy point as the ideal equilibrium distance of the atomic pair; In a range smaller than the ideal equilibrium distance, searching for atomic pairs whose potential energy values determined by the molecular dynamics potential function to be corrected are smaller than a set proportion of DFT calculated values, and treating the found atomic pairs as atomic pairs with insufficient short-range potential energy, and recording the energy values of the atomic pairs with insufficient short-range potential energy; the DFT calculated values are the energy values of the atomic pairs determined by density functional theory; Constructing a smooth transition function, and constructing a list potential based on the smooth transition function; Adding the tabulated potential to the molecular dynamics potential function to be corrected to obtain an added molecular dynamics potential function; The energy value of the atomic pair with insufficient short-range potential energy is determined by using the added molecular dynamics potential function to obtain a corrected value; Determine whether the error between the correction value and the standard reference value is minimized within a specified accuracy range, and obtain a determination result; When the judgment result is yes, the added molecular dynamics potential function is used as the corrected molecular dynamics potential function; When the judgment result is no, the transition interval of the list potential is changed, and the list potential after the change of the transition interval is used as the new list potential, and the step of adding the list potential to the molecular dynamics potential function to be corrected is returned to obtain the added molecular dynamics potential function, until the error between the corrected value and the standard reference value is minimized within the specified accuracy range, and the added molecular dynamics potential function is used as the corrected molecular dynamics potential function.
2. The method for performing short-range correction on the molecular dynamics potential function according to claim 1, characterized in that: The setting ratio is 50%.
3. The method for performing short-range correction on the molecular dynamics potential function according to claim 1, characterized in that: The energy values of all atomic pairs at different distances are determined by using the molecular dynamics potential function to be corrected, density functional theory and ZBL potential function to obtain energy curves between different atomic pairs, and then the following is included: The energy curves between different atomic pairs are plotted in one graph using the drawing software origin.
4. The method for performing short-range correction on the molecular dynamics potential function according to claim 1, characterized in that: Different standard reference values are determined for different distance ranges, including: For a first set distance range, using the first principle software VASP, a number of distance points are uniformly selected within the first set distance range, and the energy value of the atomic pair with insufficient short-range potential energy at each distance point is determined using density functional theory to obtain the standard reference value; For the second set distance range, the ZBL potential function is used to determine the energy value of the short-range potential energy deficiency atom pair within the second set distance range to obtain the standard reference value.
5. The method for performing short-range correction on the molecular dynamics potential function according to claim 4, characterized in that: The first set distance range is 0.1Å-1Å; the second set distance range is less than 0.1Å.
6. The method for performing short-range correction on the molecular dynamics potential function according to claim 4, characterized in that: The expression of the ZBL potential function is: ; In the formula, is the energy value of atom i and atom j determined by the ZBL potential function, is the dielectric constant of vacuum, is the nuclear charge number of atom i, is the nuclear charge number of atom j, is the electron charge, is the distance between atom i and atom j, is the intermediate quantity, is the independent variable, , is the intermediate function, is the ratio of the interatomic distance to the intermediate mass.
7. The method for performing short-range correction on the molecular dynamics potential function according to claim 1, characterized in that: Construct a smooth transition function, including: A high-order polynomial or cosine function is constructed, and the constructed high-order polynomial or cosine function is used as the smooth transition function.
8. The method for performing short-range correction on the molecular dynamics potential function according to claim 7, characterized in that: The high-order polynomial is expressed as: ; The cosine function is expressed as: ; The list potential is expressed as: ; In the formula, is the distance between the atom pairs, is the function value, is the first end value of the transition interval, is the second end value of the transition interval, is the potential function energy before correction, is the energy of the ZBL potential function, is the list potential energy, is the distance between atom i and atom j.
9. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for short-range correction of the molecular dynamics potential function according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for performing short-range correction on the molecular dynamics potential function according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Molecular dynamics simulation method and system for process of generating PKA through incident particle irradiation
CN115188423A
Analyzer and analysis method
JP2011221868A
Systems and methods for sampling and analysis of polymer conformational dynamics
US20150220681A1
