Alloy phase composition prediction method based on molecular dynamics simulation

By using methods based on molecular dynamics simulations and using LAMMPS software and multi-body potential functions to simulate alloy phase structures, the problems of high cost and low efficiency in predicting alloy phase structures in the existing technology have been solved, and the prediction of multiple alloy systems and non-equilibrium systems has been achieved. Accurate prediction of morphological structure improves material development efficiency.

CN118588178APending Publication Date: 2024-09-03HEFEI GENERAL MACHINERY RES INST +2
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410615579.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing alloy phase structure prediction methods have high computational costs, large time costs, high requirements for professional knowledge, and dependence on thermodynamic databases and models. They are difficult to apply to complex alloy systems and non-equilibrium structures, limiting the efficiency of material development.

Method used

The alloy phase composition prediction method based on molecular dynamics simulation is adopted, and the LAMMPS software is used to perform multi-body potential function simulation. Through energy minimization and diffraction simulation calculation, combined with Python code to process the data, the accurate prediction of the alloy phase structure is achieved, which is suitable for secondary applications. Yuan, ternary and above alloy systems and non-equilibrium structures.

Benefits of technology

It achieves accurate prediction of alloy phase structure, reduces calculation costs, and improves efficiency. It is suitable for a variety of alloy systems, especially complex and non-equilibrium alloys, and provides a convenient theoretical simulation basis for alloy material design and process optimization. Support provided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588178A
    Figure CN118588178A
Patent Text Reader

Abstract

The invention belongs to the field of alloy phase structure calculation, and particularly relates to an alloy phase composition prediction method based on molecular dynamics simulation. The method comprises the following specific steps: S1, constructing an atomic model for forming the alloy in molecular dynamics simulation software; s2, selecting a potential function to obtain an alloy model; s3, heat treatment parameters in the alloy model generation simulation calculation process are set, and generation simulation calculation is conducted on the alloy model; s4, taking the alloy model subjected to simulation calculation as an initial model input, and performing diffraction simulation calculation on the alloy model; and S5, carrying out data processing on the output data to obtain diffraction angle original data and diffraction intensity original data, comparing the two original data with a standard PDF card, and carrying out phase calibration. According to the method, molecular dynamics simulation and subsequent treatment can be carried out for multiple times at each temperature, the phase composition of each component point and temperature point of different alloy systems is obtained, the result is accurate, and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of alloy phase structure calculation, and in particular relates to an alloy phase composition prediction method based on molecular dynamics simulation. Background Art

[0002] The phase structure prediction of alloys has always been a complex field in alloy research. When designing and developing alloy materials, the importance of phase structure cannot be ignored. The phase structure of alloys has a profound impact on the physical, chemical and mechanical properties of materials. The phase structure of alloys determines their physical properties and chemical reaction performance, and plays an important guiding role in the research and application of alloys. Predicting the phase structure of alloys can save time and cost of experimental research and improve the efficiency of alloy design. The accuracy and reliability of alloy phase structure prediction are crucial to the performance optimization and innovation of alloy materials.

[0003] (1) Physical properties: The phase structure of an alloy directly determines its electronic structure, band structure, and other physical properties. For example, controlling the lattice structure of an alloy can adjust its electrical conductivity, thermal conductivity, magnetic and optical properties, etc. Alloy phase structure prediction can provide guidance for researchers to design materials with specific physical properties.

[0004] (2) Chemical reactivity: The alloy phase structure is crucial to the chemical reactivity of alloy materials. Different phase structures may lead to alloys with different corrosion resistance, catalytic properties and chemical reactivity. By predicting the phase structure of the alloy, the composition and structure of the alloy can be adjusted in a targeted manner to improve its reactivity, such as developing more effective catalysts or improving the corrosion resistance of the alloy.

[0005] (3) Mechanical properties: The alloy phase structure has a significant impact on the mechanical properties of the material. Different phase structures can lead to alloys with different strength, hardness, plasticity and fracture toughness. By predicting and optimizing the phase structure of the alloy, materials with excellent mechanical properties can be designed to meet the needs of different applications, such as aerospace, automotive manufacturing and structural engineering.

[0006] (4) Deformability and processability: The phase structure of the alloy will also affect its deformability and processability, that is, plasticity and processability in processes such as thermomechanical treatment. Different alloy phase structures can lead to different internal crystal slip behavior and grain boundary deformation behavior, thereby affecting the plasticity, strengthening effect and fracture behavior of the material. The technology of alloy phase structure prediction can help optimize and improve the processing technology of the alloy to obtain better plasticity and processability.

[0007] The prediction of alloy phase structure is crucial for the performance optimization and innovation of alloy materials. It can accelerate the process of material research, save time and cost, provide guidance for alloy design and alloy application, and promote the development of material science and technological innovation.

[0008] At present, the methods for predicting alloy phase structure mainly include first-principles calculations, crystallographic database screening and machine learning.

[0009] First-principles calculation is a calculation method based on density functional theory (DFT), which can predict the physical properties and phase structure of materials by solving the electronic structure. This method has high accuracy and can accurately predict the phase structure of alloys. However, the first-principles calculation has a large amount of calculation and is limited in time and space, so it is only suitable for prediction of small-sized alloy systems.

[0010] The crystallographic database screening method is based on existing experimental data and crystallographic principles, and predicts the phase structure of alloys by comparing and searching for structural similarities. This method can quickly screen out possible candidate structures, but its accuracy is limited by the quality of the existing database and structural model.

[0011] The machine learning method uses statistics and machine learning algorithms to establish a prediction model, and predicts the phase structure of the alloy by learning existing experimental data and calculation results. This method can perform large-scale screening and prediction quickly, but its accuracy depends on the quality of the training data and the choice of model.

[0012] Thermodynamic calculation is another important alloy phase structure prediction method. It studies the phase stability and phase equilibrium behavior of alloys under different temperature and composition conditions based on thermodynamic theory and phase diagram calculation. Thermodynamic calculation method can predict the phase structure of alloys by calculating the free energy and phase diagram of alloys, including solid solubility, phase separation, eutectic reaction, etc. This method can evaluate the stability and composition range of different phase regions, provide information on the thermodynamic stability of alloy phase structure, and help understand the phase change behavior and thermodynamic phase equilibrium of alloys. This is very important for alloy design, understanding of alloy phase change, and optimization of material processing and heat treatment processes. The limitations of thermodynamic calculation methods include dependence on thermodynamic databases and models, as well as challenges in computational complexity and amount of calculation. Accurate thermodynamic calculations require accurate thermodynamic databases and associated models, which are not necessarily available for all alloy systems. In addition, complex phase diagram calculations require a large number of calculations and iterations, which may require long computing time and high computing resources.

[0013] In summary, in the process of alloy material design, development and performance research, knowing the possible phase structure of the alloy to be designed and developed in advance can greatly improve work efficiency, save time and cost. In addition, since there are many alloy systems in the alloy design and development process, binary, ternary, quaternary, quinary and above alloys are all possible. Some new alloy systems may not have accurate databases yet, and machine learning and crystal database screening methods cannot be used. If first principles or thermodynamic calculations are used for prediction, these two calculation methods require high professional knowledge from the user, and require proficiency in thermodynamics and first principles calculation expertise, which makes it difficult to get started. Therefore, in the process of material development, relevant professional institutions are generally asked to perform thermodynamic calculations and first principles calculations. Therefore, when the alloy system is complex, the calculation cost and time cost are very high, which is not conducive to improving the efficiency of material development. Summary of the invention

[0014] In order to overcome the defects in the above-mentioned prior art, the present invention provides a method for predicting alloy phase composition based on molecular dynamics simulation. The present invention can perform multiple molecular dynamics simulations and subsequent processing for each temperature to obtain the phase composition of each component point and temperature point of different alloy systems, and the results are accurate and low cost.

[0015] To achieve the above object, the present invention adopts the following technical solutions:

[0016] A method for predicting alloy phase composition based on molecular dynamics simulation, the specific steps are as follows:

[0017] The specific steps are as follows:

[0018] S1. First, set parameters in the molecular dynamics simulation software, build an atomic model of the alloy in the molecular dynamics simulation software, and output an XYZ file;

[0019] S2, select the potential function, perform energy minimization on the atomic model, obtain the alloy model, and output the XYZ file;

[0020] S3, setting the heat treatment parameters in the alloy model generation simulation calculation process, setting the potential function again, performing the generation simulation calculation on the alloy model, and obtaining output physical quantity data; the obtained physical quantity data is used to detect whether the simulation process is accurate, if it is inaccurate, restart, if it is correct, proceed to step S4;

[0021] S4, selecting a potential function and setting parameters for the diffraction simulation calculation of the alloy model, and using the alloy model generated after the simulation calculation as the initial model input, performing diffraction simulation calculation on the alloy model, wherein the alloy model calculated in step S3 is used as the initial model file to obtain output data;

[0022] S5. Use Python code to process the output data in step S4 to obtain the original data of diffraction angle and diffraction intensity. Use JADE software to compare the two original data with the standard PDF card for phase calibration. The original data of angle and diffraction intensity processed by Python code can represent the data obtained from the actual X-ray diffraction experiment.

[0023] Preferably, in step S1, the parameter settings include setting the boundary conditions to periodic boundary conditions; the atom type to atomic; the atom type to atomic (this is a special definition of metal atoms in LAMMPS, indicating that each atom in the simulation is regarded as an independent and indivisible unit. This means that each atom is regarded as having specific atomic properties, such as position, velocity, mass, etc., and their interactions are described by force field parameters. This is different from other types of atomic representations (such as molecules, clusters, etc.), which combine multiple atoms together to form more complex units. In the atomic type, each atom in the system is considered to be independent of each other, and the interactions between them are described by the force field used in the simulation); the simulation time step is 1fs=10 -3 ps=10 -15 s; the atomic neighbor parameter is set to 2bin; set neigh_modify to every 5delay 0, and perform calculations every 5 time steps without delay.

[0024] neigh_modify is a command used in LAMMPS to modify and control the behavior of neighbor lists. A neighbor list is a list of other atoms within interaction range around each atom. With the neigh_modify command, you can adjust how these lists are constructed, updated, and used in order to more efficiently simulate the interactions of your system.

[0025] every 5: means recalculating the neighbor list every 5 time steps. The neighbor list refers to the other atoms in the interaction range around each atom. With this parameter, LAMMPS can control how often the neighbor list is updated during the simulation, instead of recalculating it at every step.

[0026] delay 0: indicates no delay in recalculating the neighboring atom list. This means that when recalculating every 5 time steps, the neighboring atom list will be recalculated immediately without waiting for additional time steps.

[0027] Thus, this command tells LAMMPS to update the neighboring atom list every 2 time steps during the simulation, and to start computing the updates immediately, without waiting.

[0028] Preferably, in step S1, the lattice constant of the atomic model is The size of the atomic model is twice the size of the region where the atom is located; the molecular dynamics simulation software uses LAMMPS software.

[0029] Preferably, the potential functions in steps S2 to S4 all adopt multi-body potential functions, and the formula of the multi-body potential function is as follows:

[0030]

[0031] Where E is the multi-body potential function, F i is the embedding energy generated by the background electron density, S ij is the shielding function, Φ ij is the interaction energy between two atoms.

[0032] Preferably, the energy minimization process is performed alternately in the cg mode and the sd mode, and the energy minimum value is set to 1e -7 , after running for 100,000 steps, the minimum energy of the system is obtained; the initial temperature of the alloy model is 300K, and the random number seed of the initial temperature is selected as any natural number greater than 10,000.

[0033] Preferably, the heat treatment parameters in step S3 include the holding temperature and the cooling rate; the physical quantity data include the simulation step number step, the system temperature temp, the system potential energy pe, the total kinetic energy ke of the alloy model, the total energy etotal of the system and the pressure press, the kinetic energy of a single atom KE=ke / atom, and the definition constant KB=8.625e -5 , single atom kinetic energy = KE / (1.5 / KB).

[0034] Preferably, the parameters of the diffraction simulation calculation in step S4 include selecting all as the atomic range, selecting Cu-Kα rays as the rays, a wavelength of 0.1541838 nm, a starting angle, and an ending angle.

[0035] Preferably, the output data in step S4 is diffraction angle data and diffraction intensity data.

[0036] Preferably, the ensemble used in the generated simulation calculation is an NVT ensemble.

[0037] Preferably, in step S4, neigh_modify is set to every 10delay 0, and calculation is performed every 10 time steps without delay; the velocity command is used to initialize the temperature, and the temperature is set to 300K.

[0038] The advantages of the present invention are:

[0039] (1) The present invention proposes a method for calculating alloy phase structure based on molecular dynamics simulation, using the open source software LAMMPS for molecular dynamics simulation to predict alloy phase structure. This calculation method can be run on Windows system or Liunx system, has a wide range of applications, low calculation cost (free and open source software), and controllable time cost (self-set calculation), covering most commonly used binary, ternary, quaternary and above alloy systems. The present invention can not only calculate the phase composition at room temperature equilibrium, but also the phase composition at a specific temperature point (medium temperature, high temperature). Compared with the most commonly used thermodynamic phase diagram calculation method, the present invention can perform multiple molecular dynamics simulations and subsequent processing for each temperature, and obtain the phase composition at each component point and temperature point of different alloy systems. The result is accurate. The present invention provides a convenient way to calculate the phase structure of alloy materials, and provides a good theoretical simulation basis for the research of alloy material design and development and process optimization.

[0040] (2) The potential function in the present invention uses the mixed element atomic method (MEAM) to describe the interaction between atoms. The multi-body potential function is a simulated potential function that can more accurately predict the interaction between atoms in metals / alloys. The method used is to combine quantum mechanics and molecular mechanics methods to evaluate the corresponding potential. Compared with other traditional potential functions, the MEAM potential function can better describe the interaction between atoms, including the stability, formation, rate, etc. of interatomic bonds.

[0041] (3) The purpose of energy minimization in the present invention is to adjust the positions of atoms in the system so that the total energy of the system reaches a local or global minimum. This process is usually called geometric energy minimization or structural optimization. Energy minimization is to obtain a stable structure and corresponding potential energy of the system in order to calculate and study various physical and chemical properties. The purpose of energy minimization is as follows:

[0042] ①. Finding stable structures: By minimizing energy, we can find the stable structure of atoms under a given potential energy field, that is, the local minimum of the energy surface. This is very important for studying crystals, molecular structures, and defects;

[0043] ② Calculate interaction energy: Energy minimization can calculate the total energy of a system in a static equilibrium state, thereby obtaining the potential energy of the system;

[0044] ③ Structural relaxation: In the simulation, the initial position of atoms may not conform to the minimum energy state due to the initialization method or other factors. By minimizing the energy, atoms can gradually adjust to a more reasonable position along the energy gradient to achieve the most stable structure.

[0045] (4) The present invention uses Python code to perform preliminary processing on the output data to obtain the original data of angle and diffraction intensity, and compares the original data with the standard PDF card to perform phase calibration. The original data of angle and diffraction intensity processed by Python code can represent the data obtained from the actual X-ray diffraction experiment, which greatly saves costs and improves efficiency.

[0046] (5) The angle and diffraction intensity raw data obtained by simulation calculation in the present invention are basically equivalent to the experimental data, and can replace part of the XRD diffraction experiment to a certain extent. The phase composition prediction is mainly reflected in the following aspects:

[0047] 1. The element type and element content can be adjusted in real time to obtain the phase composition under any specific composition;

[0048] 2. There is a small limit on the number of alloy elements, and phase composition prediction can be performed for 2-6 elements, with high efficiency and low cost;

[0049] It is also possible to predict the microstructure of non-equilibrium alloys. Although the current mainstream thermodynamic prediction method is basically based on the prediction of phase composition in equilibrium, in reality most alloys are non-equilibrium microstructures. The present invention can also simulate the alloy microstructure in non-equilibrium state and then predict the phase composition. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is the Al-Ti binary alloy phase diagram of Comparative Example 2 of the present invention.

[0051] Figure 2 This is the phase structure diagram of the Al30Ti70 binary alloy system of Example 2 of the present invention.

[0052] Figure 3 1 is the Al-Ti-Ni ternary alloy phase diagram of Comparative Example 1 of the present invention.

[0053] Figure 4 This is the phase structure diagram of the Al30Ti35Ni35 ternary alloy system of Example 1 of the present invention.

[0054] Figure 5 This is the phase diagram of the Ti-Zr-Cr-Mn-Fe-Ni ternary alloy of Comparative Example 3 of the present invention.

[0055] Figure 6 This is the phase structure diagram of the Ti-Zr-Cr-Mn-Fe-Ni sesquicyclic system of Example 3 of the present invention. DETAILED DESCRIPTION

[0056] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.

[0057] Molecular dynamics (MD) is a computational simulation method based on classical mechanics, which is used to study the motion behavior of atoms and molecules. It simulates the evolution of particles in time and space by numerically solving Newton's equations of motion. In MD simulations, atoms and molecules are regarded as point masses, and calculations are performed based on the interaction forces between them. Through MD simulations, the motion trajectory, structural changes, thermodynamic properties (such as energy, temperature, entropy), and kinetic behavior (such as velocity autocorrelation function, transition rate, etc.) of particles in time and space can be studied. It is widely used in materials science, biophysics, chemistry and other fields to study and predict important issues such as molecular behavior, material properties, and drug design.

[0058] LAMMPS (Large-scale Atomic / Molecular Massively ParallelSimulator) provides rich functionality and flexible scalability, and can simulate a variety of interaction force fields, constraints, temperature and pressure control schemes. It is capable of handling large-scale parallel computations, using parallelized algorithms and high-performance computing resources to quickly simulate large systems. LAMMPS supports a variety of input and output formats, such as text files, binary files, and visualization tools. It also provides a large number of simulation and analysis commands for building initial systems, defining molecular dynamics simulation parameters, calculating physical quantities, etc. The open source nature of this software allows researchers to modify and expand it according to their needs to meet the needs of different research fields. LAMMPS's documentation and user forums also provide rich resources for learning and problem solving.

[0059] Example 1

[0060] like Figure 1-6 As shown, a method for predicting alloy phase composition based on molecular dynamics simulation is shown in FIG. 1 . The specific steps are as follows:

[0061] 1. First, set parameters in the molecular dynamics simulation software, build an atomic model of the alloy in the molecular dynamics simulation software, and output an XYZ file; the parameter settings include:

[0062] (1) LAMMPS software was used for modeling, and the unit was set to metal.

[0063] (2) The spatial dimension is three-dimensional, and periodic boundary conditions are adopted to make the boundary of the simulation box periodic in three directions, that is, particles can pass through one simulation box boundary and re-enter from the opposite boundary.

[0064] (3) The atom type is atomic. In this case, the atom is regarded as a particle without internal structure.

[0065] (4) Set the simulation time step to 1fs = 10 -3 ps=10 -15 s, sets the length of each time step in the simulation. The smaller the time step, the more accurate the simulation will be, but it may take longer to run.

[0066] (5) The atomic neighbor parameter is set to 2bin; a particle neighbor list is constructed to determine the range of particle interactions considered in the simulation.

[0067] (6) Set neigh_modify to every 5delay 0, which means that the calculation is performed every 5 time steps with no delay.

[0068] 2. Model building:

[0069] (1) According to the alloy system, use the lattice command to define the lattice constant.

[0070] (2) Define atomic parameters and proportions, such as Fe mass 155.8 (molar mass), Ti mass 147.9 (molar mass), Zr mass 191.2 (molar mass), Crmass 152 (molar mass), Ni mass 158.7 (molar mass), Mnmass 154.94 (molar mass), and set the proportion (molar ratio) of each element in the alloy.

[0071] (3) Model size definition: Even if the boundary conditions are set to periodic boundary conditions, the model size needs to be larger than the area where the atoms are located, and is generally set to more than twice the area occupied by the atoms.

[0072] 3. Select the potential function and perform energy minimization on the atomic model to obtain the alloy model and output the XYZ file:

[0073] The multi-potential function uses the mixed element atomic method (MEAM) to describe the interaction between atoms. The formula of the body potential function is as follows:

[0074]

[0075] Where E is the multi-body potential function, F i is the embedding energy generated by the background electron density, S ij is the shielding function, Φ ij is the interaction energy between two atoms.

[0076] Energy minimization was performed alternately using the cg mode and the sd mode. The minimum energy value was set to 1e-7. After running for 100,000 steps, the minimum energy of the system was obtained. The setting parameters of the initial velocity of atoms were: the temperature was 300K, and the random number seed was selected as any natural number greater than 10,000.

[0077] S4, setting the heat treatment parameters in the alloy model generation simulation calculation process, setting the potential function again, performing the generation simulation calculation on the alloy model, and obtaining output thermodynamic physical quantity data; the obtained physical quantity data is used to detect whether the simulation process is accurate, if it is inaccurate, restart, if it is correct, proceed to step S5;

[0078] S4.1. Customized parameter settings during calculation:

[0079] (1) Output of thermodynamic physical quantities: Use the thermo_style command to output and save the value of each physical quantity every 100 steps. According to the simulation requirements, the output physical quantities include simulation step number step, system temperature temp, system potential energy pe, system kinetic energy ke, system total energy etotal, and pressure press;

[0080] (2) Temperature calculation: The kinetic energy of a single atom KE = ke / atom, the constant KB = 8.625e-5, the kinetic energy of a single atom = KE / (1.5 / KB);

[0081] (3) File output at each stage: Use the dump command to output an XYZ file containing the atomic coordinate information at each stage, and use the write_data command to save the file.

[0082] S4.2. Simulation calculation of various alloy models:

[0083] (1) The ensemble setting is the NVT ensemble throughout the process, and the temperature control is precise, and the temperature fluctuation can be controlled within ±2K;

[0084] (2) Set the starting temperature and end temperature according to the process, in K;

[0085] (3) Set the number of running steps. The number of running steps is mainly used to control the temperature change rate and simulate different process conditions. For example, the temperature change rate Kc = Tc / (B*0.001), the unit is K / ps, Tc is the temperature difference before and after, B is the total number of running steps, the larger the total number of running steps, the smaller the temperature change rate. In some studies that require equilibrium state, the number of running steps needs to be set large enough to achieve the slow temperature change required by the process.

[0086] (4) After each stage of simulation is completed, the undump command is used to cancel the data saving of the current stage to ensure that each process data is saved independently and reduce data interference.

[0087] S5, selecting a potential function and setting parameters for the diffraction simulation calculation of the alloy model, and using the alloy model generated after the simulation calculation as the initial model input, performing diffraction simulation calculation on the alloy model, wherein the alloy model calculated in step S3 is used as the initial model file to obtain output data;

[0088] (1) According to the test requirements, the alloy model generated by the simulation calculation is used as the initial model input;

[0089] (2) Use the read_data command to read the alloy model;

[0090] (3) According to the alloy system, use the mass command to set the atomic type, and use the pair_style command and pair_coeff command to set the potential function;

[0091] (4)The unit is set to metal.

[0092] (5) The spatial dimension is three-dimensional, and periodic boundary conditions are adopted to make the boundaries of the simulation box periodic in three directions, that is, particles can pass through one simulation box boundary and re-enter from the opposite boundary.

[0093] (6) The atom type is atomic. In this case, the atom is regarded as a particle without internal structure.

[0094] (7) Set the simulation time step to 1fs = 10 -3 ps=10 -15 s, sets the length of each time step in the simulation. The smaller the time step, the more accurate the simulation will be, but it may take longer to run.

[0095] (8) The atomic neighbor parameter range is set to 0-2bin; a particle neighbor list is constructed to determine the range of particle interactions considered in the simulation.

[0096] (9) Set neigh_modify to every 10delay 0, which means that the calculation is performed every 10 time steps with no delay.

[0097] (10) Use velocity command to initialize temperature and set the temperature to 300K;

[0098] (11) Use the compute command to perform diffraction simulation, in which all is selected for the atomic range; determine the type of diffraction ray. If Cu-Kα ray is selected, the wavelength is 0.1541838nm; write out the atomic types in the model in order according to the alloy system; set the starting angle and ending angle of the diffraction simulation process, which are generally 10-100°; finally, set the simulation output file name.

[0099] S6. Data processing:

[0100] The Python code is used to preliminarily process the output diffraction angle raw data and diffraction intensity raw data to obtain the angle and diffraction intensity raw data. The raw data are compared with the standard PDF card for phase calibration. The angle and diffraction intensity raw data processed by the Python code can represent the data obtained from the actual X-ray diffraction experiment, which greatly saves costs and improves efficiency.

[0101] Example 1

[0102] Taking Al-Ti-Ni ternary alloy as an example, the phase composition of Al-Ti-Ni ternary alloy in equilibrium state is simulated and calculated, and compared with that in Comparative Example 1. The specific steps are as follows:

[0103] S1. Parameter setting.

[0104] S2. Use the mass command to set the atom type, and set the elements to Al, Ti, and Ni respectively.

[0105] S3. Use the settype command to set the content of each element, and the atomic molar ratio is Al30Ti35Ni35.

[0106] S4. Use pair_style and pair_coeff commands to set the potential function (model building stage).

[0107] S5. Use the write_data command to generate the initial model.

[0108] S6. Use the velocity command to initialize the temperature of the model (300K).

[0109] S7, use cg mode and sd mode alternately to minimize energy.

[0110] S8. Use the fix command to heat-treat the energy-minimized model at 300 K in the NPT ensemble.

[0111] S9. Use the write_data command again to output the model. This model is the input model for subsequent diffraction simulation calculations.

[0112] S10, parameter setting (somewhat repeated with step S1, but this is a necessary step for diffraction simulation).

[0113] S11, use the read_data command to read the model generated by the input step S9.

[0114] S12. Use the pair_style and pair_coeff commands again to set the potential function (this potential function is consistent with the potential function in step S4).

[0115] S13. Use the neigh_modify command to set the calculation to be performed every 5 time steps without delay.

[0116] S14. Use the velocity command to initialize the temperature of the model (300K).

[0117] S15. Use the compute command to input the XRD diffraction simulation process.

[0118] Various parameters, among which, select all for the atomic range; select Cu-Kα ray with a wavelength of 0.1541838nm; write out the atomic types Al, Ti, and Ni in the model in turn; set the starting angle and ending angle of the diffraction simulation process to 10° and 100°.

[0119] 16. Use the fix command and Python code to output the raw data of diffraction angle and diffraction intensity.

[0120] 17. Compare the above raw data with the standard PDF card and perform phase calibration. The results are as follows Figure 4 shown.

[0121] Example 2

[0122] Taking Al-Ti binary alloy as an example, the phase composition of Al-Ti binary alloy in equilibrium state was simulated and calculated, and the specific method was the same as that in Example 1. The results are shown in FIG. Figure 2 shown.

[0123] Example 3

[0124] Taking Ti-Zr-Cr-Mn-Fe-Ni 6-element alloy as an example, the phase composition of Ti-Zr-Cr-Mn-Fe-Ni 6-element alloy in equilibrium state was simulated and calculated. The specific method was the same as that in Example 1. The results are shown in FIG. Figure 6 shown.

[0125] Comparative Example 1

[0126] Reference is made to the literature "Nash P, Liang WW, Physical Metallurgy and Materials Science [J]. Metallurgical Transactions: Section A, 1985, 16A: 319-322" for comparison with Example 1. The phase diagram of Al-Ti-Ni ternary alloy is shown in FIG. Figure 3 shown.

[0127] Comparative Example 2

[0128] Reference is made to the literature "Murray JL. Phase Diagrams of Binary Titanium Alloys, 1987" for comparison with Example 2. The Al-Ti binary alloy phase diagram is shown in FIG. Figure 1 shown.

[0129] Comparative Example 3

[0130] Reference is made to P. Edalati, R. Floriano and A. Mohammadi et al. / Scripta Materialsia 178 (2020) 387–390 for comparison with Example 3. The phase diagram of Ti-Zr-Cr-Mn-Fe-Ni 6-element alloy is shown in Figure 5 shown.

[0131] Figure 1 and Figure 2 They are Al-Ti binary alloy phase diagram and Al30Ti70 phase structure prediction. Figure 1 It can be found from the phase diagram that in the Al30Ti70 composition simulated in Example 2, Figure 2 The main appearances are Figure 1 The Ti3Al shown in the figure. In addition, since the simulation process is not a complete thermodynamic equilibrium state, a small amount of TiAl2 is still generated.

[0132] Figure 3 and Figure 4 They are the Al-Ti-Ni ternary alloy phase diagram and the Al30Ti35Ni35 ternary alloy system phase structure prediction. Figure 3 It can be found that in the Al30Ti35Ni35 composition simulated in Example 1, Figure 4 The main appearances are Figure 3 The AlNi2Ti shown in the figure also produces a small amount of Ni3Ti. Due to the inevitable non-equilibrium transformation in the simulation process, some pure (Ni, Al, Ti) is produced.

[0133] Figure 5 and Figure 6 They are the Ti-Zr-Cr-Mn-Fe-Ni hexa-element alloy phase diagram and the Ti-Zr-Cr-Mn-Fe-Ni hexa-element system phase structure prediction. Figure 5 It can be found that in the simulation of Example 3 Figure 6 In the generated Figure 5 The so-called C14 Laves phase and Cubic phase.

[0134] Therefore, it can be said that the phase diagrams of 2-element, 3-element, 6-element and other alloys simulated by Examples 1-3 of the present invention are highly accurate, which are basically consistent with the predictions of Comparative Examples 1-3. At the same time, they are more applicable than the predictions of Comparative Examples 1-3 and can predict the phase composition of alloys in a thermodynamically unbalanced state.

[0135] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for predicting alloy phase composition based on molecular dynamics simulation, characterized in that: The specific steps are as follows: S1. First, set parameters in the molecular dynamics simulation software, build an atomic model of the alloy in the molecular dynamics simulation software, and output an XYZ file; S2, select the potential function, perform energy minimization on the atomic model, obtain the alloy model, and output the XYZ file; S3, setting the heat treatment parameters in the alloy model generation simulation calculation process, setting the potential function again, performing the generation simulation calculation on the alloy model, and obtaining output physical quantity data; the obtained physical quantity data is used to detect whether the simulation process is accurate, if it is inaccurate, restart, if it is correct, proceed to step S4; S4, selecting a potential function and setting parameters for the diffraction simulation calculation of the alloy model, and using the alloy model generated after the simulation calculation as the initial model input, performing diffraction simulation calculation on the alloy model, wherein the alloy model calculated in step S3 is used as the initial model file to obtain output data; S5. Process the output data in step S4 to obtain original data of diffraction angle and original data of diffraction intensity, compare the two original data with the standard PDF card, and perform phase calibration.

2. The method for predicting alloy phase composition based on molecular dynamics simulation according to claim 1, characterized in that: In step S1, the parameter settings include setting the boundary condition to a periodic boundary condition; the atom type to atomic; the atom type to atomic; the simulation time step to 1fs; the atomic neighbor parameter to 2bin; and setting neigh_modify to every 5delay 0.

3. The alloy phase composition prediction method based on molecular dynamics simulation according to claim 1, characterized in that: In step S1, the lattice constant of the atomic model is The size of the atomic model is twice that of the region where the atom is located; the molecular dynamics simulation software adopts LAMMPS software.

4. The alloy phase composition prediction method based on molecular dynamics simulation according to claim 1, characterized in that: The potential functions in steps S2 to S4 all adopt multi-body potential functions, and the formula of the multi-body potential function is as follows: Where E is the multi-body potential function, F i is the embedding energy generated by the background electron density, S ij is the shielding function, Φ ij is the interaction energy between two atoms.

5. The alloy phase composition prediction method based on molecular dynamics simulation according to claim 1, characterized in that: The energy minimization process is performed alternately in the cg mode and the sd mode, and the energy minimum is set to 1e -7 , after running for 100,000 steps, the minimum energy of the system is obtained; the initial temperature of the alloy model is 300K, and the random number seed of the initial temperature is selected as any natural number greater than 10,000.

6. The alloy phase composition prediction method based on molecular dynamics simulation according to claim 1, characterized in that: The heat treatment parameters in step S3 include the insulation temperature and the cooling rate; the physical quantity data include the number of simulation steps, system temperature, system potential energy, total kinetic energy of the alloy model, total system energy and pressure.

7. The alloy phase composition prediction method based on molecular dynamics simulation according to claim 1, characterized in that: The parameters of the diffraction simulation calculation in step S4 include atomic range selection, ray selection of Cu-Kα ray, wavelength of 0.1541838 nm, start angle and end angle.

8. The method for predicting alloy phase composition based on molecular dynamics simulation according to claim 1, characterized in that: The output data in step S4 are diffraction angle data and diffraction intensity data.

9. The alloy phase composition prediction method based on molecular dynamics simulation according to claim 1, characterized in that: The ensemble in the generation simulation calculation is the NVT ensemble.

10. The alloy phase composition prediction method based on molecular dynamics simulation according to claim 1, characterized in that: In step S4, neigh_modify is set to every 10delay 0, and calculation is performed every 10 time steps without delay; the velocity command is used to initialize the temperature, and the temperature is set to 300K.

Citation Information

Patent Citations

  • Systems and methods for predicting structure and properties of atomic elements and alloy materials thereof

    CN110858505A

  • simulation method for bioactive glass structure based on molecular dynamics and XRD (X-Ray Diffraction) calculation

    CN113012764A

  • Cross-scale simulation method for mechanical properties of tin-based bearing alloy

    CN114038521A

  • Molecular simulation-based shale multi-mineral-composition core skeleton model establishment method

    CN116013423A

  • Bearing multi-scale modeling and fatigue crack analysis method based on cohesion model

    CN116562105A