A method for correcting the potential function of single crystal materials based on lattice constants
The potential function correction method based on lattice constants solves the problem of insufficient applicability of potential functions in molecular dynamics simulations, improves calculation accuracy and applicability, reduces experimental costs, and achieves more reliable simulation results.
Patent Information
- Application Number
- CN202111678438.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-12-31
AI Technical Summary
In existing molecular dynamics simulations, the accuracy of the potential function is limited by conditions, resulting in insufficient credibility and applicability of the simulation results. Especially in the study of single crystal materials, it is difficult to obtain potential function parameter values that meet specific conditions.
A single crystal material potential function correction method based on the lattice constant is adopted. By establishing a molecular dynamics simulation model, the potential function and lattice parameters are adjusted until the lattice constant with the lowest total potential energy is obtained, and the potential function parameters are corrected based on this. To improve the calculation accuracy and applicability of the potential function.
It improves the calculation accuracy and applicability of potential functions in molecular dynamics simulations, reduces experimental costs and testing expenses, and enhances the reliability of simulation results.
Smart Images

Figure CN114239374B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of molecular simulation methods, and in particular to a method for correcting a potential function of a single crystal material based on a lattice constant. Background Art
[0002] Molecular dynamics simulation technology has the advantages of cost saving and good repeatability. It has been widely used in the study of surface properties of materials, nanomechanical properties, material phase changes and other issues. It has broad and important application prospects in the field of scientific research. The potential function in molecular simulation describes the interaction between atoms. According to the molecular dynamics method, during the simulation process, all atoms follow Newton's second law to move and evolve. Therefore, the accuracy of the potential function determines the credibility of the simulation results. At present, most of the widely accepted potential functions are empirical potentials, and a potential function is only applicable under certain conditions. In the use of potential functions, how to obtain the potential function parameter values that meet the needs of the researchers themselves becomes a new problem. Summary of the invention
[0003] The present invention provides a method for correcting a potential function of a single crystal material based on a lattice constant, which overcomes the shortcomings existing in the background technology.
[0004] The technical solution adopted by the present invention to solve the technical problem is: a method for correcting the potential function of a single crystal material based on a lattice constant, comprising:
[0005] Step 1, establishing a molecular dynamics simulation model of bulk nanomaterials;
[0006] Step 2, setting molecular dynamics calculation parameters, which at least include potential function parameters;
[0007] Step 3: Calculate and output the total potential energy of the system using molecular dynamics simulation method according to the set calculation parameters;
[0008] Step 4, adjusting the lattice parameters and calculating the total potential energy until the lowest total potential energy is obtained, and calculating the lattice constant corresponding to the lowest system total potential energy;
[0009] Step 5, determining whether the lattice constant calculated in step 4 is consistent with the lattice constant value in the crystal database, if not, executing step 6, if consistent, executing step 7;
[0010] Step 6, adjust the potential function parameters and then execute step 3;
[0011] Step seven, obtaining the corrected optimal calculation parameters, and determining the potential function according to the optimal calculation parameters.
[0012] In a preferred embodiment: In step 1, LAMMPS software is used to establish a simulation model.
[0013] In a preferred embodiment: in step 2, the calculation parameters also include simulation dimension, simulation particle type, boundary conditions, ensemble selection, system temperature control method, simulation temperature and time step.
[0014] In a preferred embodiment: In step 4, the lattice constant of the current calculation parameter is obtained by fitting the relationship between the total potential energy P and the lattice constant x, and the fitting function is a quadratic function P=ax 2 +bx+c, where a, b, and c are the total potential energy coefficients; the minimum potential energy value of the fitting curve is Pmin, and the corresponding lattice constant is Xmin. The minimum potential energy value calculation formula of the simulation system is:
[0015]
[0016] The corresponding lattice constant value calculation formula is:
[0017]
[0018] In a preferred embodiment: in step 5, the standard for judging whether the simulated lattice parameter is consistent with the lattice parameter value in the database is: the error between the lattice parameter value obtained by simulation and the lattice parameter value in the database is less than 1%.
[0019] In a preferred embodiment: In step six, the method for adjusting the potential function parameters is: when the simulated lattice parameter value is smaller than the value in the database, the repulsion term parameter is increased and the attraction term parameter is decreased; when the simulated lattice parameter value is larger than the value in the database, the repulsion term parameter is decreased and the attraction term parameter is increased.
[0020] Compared with the background technology, this technical solution has the following advantages:
[0021] Correcting the interaction potential function of single crystal materials through molecular dynamics simulation can overcome the limitations of existing experimental methods for potential function correction. It can not only improve the calculation accuracy of the potential function in molecular dynamics simulation, improve the applicability of the potential function in molecular dynamics simulation and the reliability of the simulation results, but also reduce experimental costs and testing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0023] Figure 1 This is a flow chart of a method for correcting the potential function of a single crystal material based on a lattice constant according to this specific implementation.
[0024] Figure 2 A molecular dynamics simulation model established for this specific implementation.
[0025] Figure 3Graph showing the relationship between the total potential energy of the system and the lattice parameters of this specific implementation method.
[0026] Figure 4 It is a fitting curve diagram of the total potential energy and lattice parameters of the system in this specific implementation manner. DETAILED DESCRIPTION
[0027] Please refer to Figure 1 , a potential function correction method for single crystal materials based on lattice constants, including:
[0028] Step 1: Use LAMMPS software to establish a molecular dynamics simulation model of bulk nanomaterials; in this specific implementation method, please refer to Figure 2 It is known that the lattice type of single crystal copper is face-centered cubic FCC type. LAMMPS software is used to establish an MD region with a size of 8×8×8 unit cells. There are 512 fcc unit cells in the MD region, so there are 2048 copper atoms in total.
[0029] Step 2, set the molecular dynamics calculation parameters, that is, the simulation parameters, which at least include potential function parameters; the calculation parameters also include simulation dimension, simulated particle type, boundary conditions, ensemble selection, system temperature control method, simulation temperature and time step. In this specific implementation method, the simulation dimension of this molecular dynamics simulation is three-dimensional, the simulated particle type is atomic type, the boundary conditions of the three dimensions are all periodic boundary conditions, the potential function of single crystal copper adopts embedded atom potential (EAM potential), the simulation condition adopts canonical ensemble (NVT), the simulation temperature is room temperature (such as: 298K), and the conjugate gradient method is used for energy minimization relaxation for 500 picoseconds, with a step size of 10.
[0030] Step three, according to the simulation parameters, the molecular dynamics simulation method is used to calculate and output the total potential energy of the system. For each lattice parameter adopted, the molecular dynamics simulation is performed according to the simulation parameters to obtain the corresponding total potential energy of the system.
[0031] Step 4: Adjust the lattice parameters and calculate the total potential energy until the lowest total potential energy is obtained, and then calculate the lattice constant corresponding to the lowest system total potential energy. The lattice constant of the current potential function parameter is obtained by fitting the relationship between the total potential energy P and the lattice constant x. The fitting function is a quadratic function P = ax 2 +b, the minimum potential energy value of the fitting curve is Pmin, and the corresponding lattice constant is Xmin, which is the lattice constant under the potential function parameters. The calculation formula for the minimum potential energy value of the simulation system is:
[0032]
[0033] The corresponding lattice constant value calculation formula is:
[0034]
[0035] In this specific implementation mode: This simulation starts from the lattice parameter Start calculating, each time increasing Increased to The corresponding total potential energy values of the system are obtained respectively, and the relationship between the total potential energy of the system and the lattice parameters is plotted. The results are as follows Figure 3 As shown, the total potential energy P and the lattice parameters are fitted with a quadratic function polynomial, and the curve obtained by fitting is shown in Figure 4 As shown, the fitted quadratic function is:
[0036] P = 3.67285x 2 -26.57212x+44.52035 (3)
[0037] According to formula (1) and formula (2), the minimum potential energy value Pmin = -3.54025 eV can be obtained, and the corresponding lattice constant is
[0038] Step 5: Determine whether the lattice constant calculated in step 4 is consistent with the lattice constant value in the crystal database; if not, execute step 6; if yes, execute step 7; the above specific judgment criteria are: the error between the lattice parameter value obtained by the simulation and the lattice parameter value in the database is less than 1%. Specifically, from step 4, it can be known that the lattice constant obtained by this simulation is The lattice parameter value of single crystal copper in the database is The calculated error is 0.0683%<1%, so the lattice constant calculated in this simulation is consistent with the lattice constant value in the crystal database, and step 7 can be directly executed;
[0039] Step six, adjust the potential function parameters, and then execute step three; the above specific adjustment method is as follows: when the simulated lattice parameter value is smaller than the value in the database, increase the repulsion term parameter and reduce the attraction term parameter; when the simulated lattice parameter value is larger than the value in the database, reduce the repulsion term parameter and increase the attraction term parameter.
[0040] Step seven, obtaining the corrected optimal calculation parameters, and determining the potential function according to the optimal calculation parameters.
[0041] The above description is only a preferred embodiment of the present invention, and therefore cannot be used to limit the scope of the present invention. That is, equivalent changes and modifications made according to the patent scope of the present invention and the contents of the specification should still fall within the scope of the present invention.
Claims
1. A method for correcting the potential function of a single crystal material based on a lattice constant, characterized in that: include: Step 1, establishing a molecular dynamics simulation model of bulk nanomaterials; Step 2, setting molecular dynamics calculation parameters, which at least include potential function parameters; Step 3: Calculate and output the total potential energy of the system using molecular dynamics simulation method according to the set calculation parameters; Step 4: adjust the lattice parameters and calculate the total potential energy until the minimum total potential energy is obtained, and calculate the lattice constant corresponding to the minimum total potential energy; in step 4, the lattice constant of the current calculation parameter is obtained by fitting the relationship between the total potential energy P and the lattice constant x, and the fitting function is a quadratic function P = ax 2 +bx+c, where a, b, and c are the total potential energy coefficients; the minimum potential energy value of the fitting curve is Pmin, and the corresponding lattice constant is Xmin. The minimum potential energy value calculation formula of the simulation system is: The corresponding lattice constant value calculation formula is: Step 5, determining whether the lattice constant calculated in step 4 is consistent with the lattice constant value in the crystal database, if not, executing step 6, if consistent, executing step 7; Step 6, adjust the potential function parameters and then execute step 3; Step seven, obtaining the corrected optimal calculation parameters, and determining the potential function according to the optimal calculation parameters.
2. The method for correcting the potential function of a single crystal material based on a lattice constant according to claim 1, characterized in that: In step 1, the simulation model is established using LAMMPS software.
3. The method for correcting the potential function of a single crystal material based on a lattice constant according to claim 1, characterized in that: In step 2, the calculation parameters also include simulation dimension, simulation particle type, boundary conditions, ensemble selection, system temperature control method, simulation temperature and time step.
4. The method for correcting the potential function of a single crystal material based on a lattice constant according to claim 1, characterized in that: In step 5, the standard for judging whether the simulated lattice parameter is consistent with the lattice parameter value in the database is that the error between the lattice parameter value obtained by simulation and the lattice parameter value in the database is less than 1%.
5. The method for correcting the potential function of a single crystal material based on a lattice constant according to claim 1, characterized in that: In step six, the potential function parameters are adjusted as follows: when the simulated lattice parameter value is smaller than the value in the database, the repulsion term parameter is increased and the attraction term parameter is decreased; when the simulated lattice parameter value is larger than the value in the database, the repulsion term parameter is decreased and the attraction term parameter is increased.
Citation Information
Patent Citations
Three-dimensional nanometer-grade cutting simulation method based on molecular dynamics
CN101654222A
Nanometer material plasticity modulus calculating method based on molecular dynamics simulation
CN105760598A
Two-dimensional photonic crystal plate structure band gap design method based on wavelet finite element model
CN106777771A
Method for improving molecular dynamics computational efficiency
CN107967405A
Development method of metal and alloy potential capacity field based on particle swarm optimization
CN109086497A
