Fast calculation method and electronic equipment for metal liquid phase equation of state

By establishing the melting equation and the target equation in the calculation of the metal liquid phase equation of state, performing a self-consistent field iterative solution, and taking into account the Grüneisen coefficient and structural parameters, the problem of insufficient calculation efficiency and accuracy in the existing technology has been solved, and a higher level has been achieved. Calculation accuracy and efficiency of the metal liquid phase equation of state.

CN118113969BActive Publication Date: 2024-10-18INST OF APPLIED PHYSICS & COMPUTATIONAL MATHEMATICS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311834302.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-10-18
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

When calculating the equation of state of a metal liquid phase, the existing technology faces the challenges of high experimental costs under high pressure, large computational overhead, difficulty in fitting, and the construction of solid/liquid phase free energy models and solving nonlinear equations, resulting in insufficient calculation efficiency and accuracy.

Method used

By establishing a melting equation based on the solid phase Helmholtz free energy and solid structure of the metal, solving the melting line and calculating the solid phase Gibbs free energy, establishing a target equation for self-consistent field iterative solution, using a multi-step mixing scheme to correct the liquid phase cold energy function, using A specific cold energy equation of state model is fitted, taking into account the influence of different Grüneisen coefficient theoretical models and structural parameters.

Benefits of technology

It improves the confidence of the melting line prediction, accelerates the iterative convergence of the self-consistent field, avoids the non-physical behavior of the liquid phase cold energy function during the iteration, and improves the calculation accuracy and efficiency of the metal liquid phase equation of state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118113969B_ABST
    Figure CN118113969B_ABST
Patent Text Reader

Abstract

The present invention provides a fast calculation method and electronic device for a metal liquid phase equation of state; wherein the method comprises: establishing a melting equation based on the solid structure of the metal and the solid phase Helmholtz free energy, wherein the established melting equation takes into account the influence of different metal solid structures and different Grüneisen coefficient theoretical models on the high-pressure melting line, thereby improving the confidence of the melting line estimation; in addition, performing self-consistent field iteration to solve the target equation to obtain a liquid phase cold energy function as a quantity to be determined; in the self-consistent field iteration, a multi-step hybrid scheme is adopted to realize the correction of the liquid phase cold energy function, which accelerates the self-consistent field iteration convergence compared with the single-step scheme adopted in the prior art; and, a specific cold energy equation of state model is adopted to fit the correction to obtain a new liquid phase cold energy function, thereby avoiding the occurrence of non-physical behavior of the liquid phase cold energy function in the self-consistent field iteration, thereby improving the calculation accuracy and efficiency of the metal liquid phase equation of state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of equation of state technology, and in particular to a rapid calculation method and electronic device for equation of state of liquid metal. Background Art

[0002] The equation of state refers to the F(V,T) relationship of a substance, that is, the functional relationship between the Helmholtz free energy F and the volume V and temperature T. Currently, there are generally two types of methods to obtain the equation of state of liquid metal: (1) The first type of method uses the melting point (melting line) at several pressures as a constraint condition, and uses experimental measurements or first-principles molecular dynamics simulation of several temperature and pressure states of liquid metal to determine the parameters of the equation of state by fitting these state points under the constraint condition. This type of method mainly faces the following challenges: the experimental cost of liquid metal state under high pressure is high; the first-principles molecular dynamics simulation of liquid metal requires the use of a large supercell to represent the liquid phase configuration, resulting in large computational overhead; the melting line constraint may make it difficult to fit the parameters of the equation of state, etc.; (2) The second type of method is based on the melting line and solid phase free energy, and establishes the equation to be solved according to the phase equilibrium condition and the liquid phase free energy model, and directly calculates the unknown quantity in the equation (liquid phase static interaction, referred to as liquid phase cold energy) to determine the liquid phase equation of state. These methods do not require measuring or simulating the thermodynamic state of the liquid metal phase, nor do they require fitting the equation of state parameters, offering advantages such as low cost / overhead and no fitting parameters. However, they face challenges including how to construct a suitable solid / liquid phase free energy model, and how to effectively solve the nonlinear equations satisfied by the liquid phase cold energy given the model. Therefore, how to quickly calculate the equation of state for the liquid metal phase is an urgent problem to be solved. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a rapid calculation method and electronic device for the equation of state of liquid metals, so as to alleviate the above problems and improve the calculation accuracy and efficiency of the equation of state of liquid metals.

[0004] In a first aspect, embodiments of the present invention provide a rapid calculation method for the equation of state of a liquid metal phase, wherein the equation of state is:

[0005]

[0006] Among them, the superscript l represents the liquid phase, F l (V,T) represents the Helmholtz free energy of the liquid phase, which depends on volume V and temperature T. is the liquid phase cooling energy function, is the ionic term, For electrons, -0.8k B T is the melting entropy, k B Boltzmann's constant;

[0007] The liquid phase cold energy function is to be quantified, and its determination steps include:

[0008] Based on the known solid-phase Helmholtz free energy and solid structure of the metal, a melting equation is established. The melting equation is solved to determine the melting line, and the solid-phase Gibbs free energy on the melting line is calculated.

[0009] Based on the condition that the solid-phase and liquid-phase Gibbs free energies on the melting line are equal and the relationship between the Gibbs free energy G(P,T) and the Helmholtz free energy F(V,T), G(P,T)=F(V,T)+PV, a target equation to be solved is established; wherein the target equation is used to characterize the corresponding relationship between the free energy difference between the solid-phase Gibbs free energy and the liquid-phase Gibbs free energy and the liquid-phase cooling energy function, where P is the pressure;

[0010] The target equation is solved by self-consistent field iteration to obtain the liquid phase cold energy function as the quantity to be determined; wherein, in each iteration step, starting from the current liquid phase cold energy function obtained in the current iteration step, the current liquid phase melt volume and the current liquid phase Gibbs free energy at any melting point on the melting line are calculated, thereby obtaining the current Gibbs free energy difference ΔG(P,T m (P))=G s (P,T m (P))-G l (P,T m (P)), where the superscript s indicates the solid phase, and T m (P) is the melting temperature dependent on pressure P; and, based on the current ΔG and the historical information of previous iteration steps, the current liquid phase cold energy function is corrected within the solid phase melting volume range, and then based on the correction, the liquid phase cold energy function for the new iteration step is obtained, and the next iteration step is entered; when it is determined that the magnitude of ΔG is less than the preset convergence threshold, the iteration terminates and the liquid phase cold energy function at this time is output as the liquid phase cold energy function to be quantified;

[0011] In the correction of the self-consistent field iterative solution, a first updated liquid phase cooling energy function is obtained by mixing the input and output of the existing iterative step; and the first updated liquid phase cooling energy function is further fitted to obtain a second updated liquid phase cooling energy function, and the second updated liquid phase cooling energy function is used as the liquid phase cooling energy function for the new iterative step;

[0012] The first updated liquid phase cooling energy function is obtained by mixing the input and output of multiple existing iterative steps; and / or the first updated liquid phase cooling energy function corresponding to the local correction within the solid phase melting volume interval is fitted to obtain the second updated liquid phase cooling energy function.

[0013] Preferably, the method of obtaining the first updated liquid phase cold energy function by mixing the inputs and outputs of multiple existing iteration steps; and / or, fitting the first updated liquid phase cold energy function corresponding to the local correction within the solid phase melting volume range to obtain the second updated liquid phase cold energy function, includes:

[0014] The first updated liquid phase cold energy function is obtained by mixing the inputs and outputs of multiple existing iteration steps within the solid phase melting volume range using the Anderson algorithm.

[0015] And / or, the first updated liquid phase cold energy function within the solid phase melting volume interval is fitted using a fourth-order Poirier-Tarantola cold energy equation of state to obtain the second updated liquid phase cold energy function.

[0016] Preferably, the step of establishing a melting equation based on the known solid-phase Helmholtz free energy of the metal and the solid structure of the metal, and solving the melting equation to determine the melting line, includes:

[0017] Based on whether the solid structure of the metal is a high-symmetry structure or a low-symmetry structure, corresponding melting equations are established, and the corresponding melting equations are solved to determine the melting line.

[0018] Preferably, the step of establishing corresponding melting equations based on whether the solid structure of the metal is a high-symmetry structure or a low-symmetry structure includes:

[0019] If the solid structure of the metal is a highly symmetric structure, establish the melting equation:

[0020]

[0021] If the solid structure of the metal is a low-symmetry structure, establish the melting equation:

[0022]

[0023] Among them, T m The melting temperature is represented by C, a constant by V, and the nearest neighbor atom distance corresponding to the volume V is represented by R. s (V,T m This indicates that the temperature depends on the volume V and the melting temperature T. m The solid-phase Helmholtz free energy, η represents the structural parameter, and λ represents the identification parameter, which are used to characterize the type of Grüneisen coefficient theoretical model used to calculate the Grüneisen coefficient.

[0024] Preferably, the value of λ includes -1, 0, and 2, which respectively represent the Grüneisen coefficient calculated using the Slater model, DM model, and free volume model.

[0025] Preferably, before mixing the inputs and outputs of multiple existing iterations within the solid-phase melting volume range using the Anderson algorithm, if the current iteration is not the first iteration, the step of converting the current Gibbs free energy difference ΔG to a fixed volume point is first implemented, including:

[0026] The fixed volume point is taken as the solid melting volume corresponding to each melting point on the melting line. in, The melting temperature T depends on the pressure P. m (P) corresponds to the solid melting volume;

[0027] Based on the current Gibbs free energy difference ΔG and the current liquid phase cold energy function, calculate in, The melting temperature T depends on the pressure P. m (P) corresponds to the liquid phase melting volume;

[0028] The data points were fitted using either the Birch-Murnaghan or Poirier-Tarantola model. To determine the fitting function Then calculate To obtain the point corresponding to the fixed volume. The difference in Gibbs free energy is used to complete the conversion.

[0029] Preferably, the step of using the Anderson algorithm to mix the inputs and outputs of multiple existing iterations within the solid-phase melting volume range includes:

[0030] Let the current iteration step be the nth step, where n is an integer ≥ 1; s is the preset number of steps, which is an integer > 1;

[0031] If n≥s, then according to Anderson's algorithm, the liquid phase cold energy from the current iteration step forward s steps and the value of ΔG in the solid phase melting volume are combined to obtain the first updated liquid phase cold energy function;

[0032] If n < s, then the first updated liquid phase cold energy function is obtained by mixing the liquid phase cold energy from the current iteration step forward n steps and the value of ΔG in the solid phase melting volume according to the Anderson algorithm.

[0033] Preferably, the step of mixing the liquid phase cold energy from the current iteration step forward s steps and the value of ΔG in the solid phase melting volume according to the Anderson algorithm to obtain the first updated liquid phase cold energy function includes:

[0034] Let x be the value of the liquid phase cooling energy in the solid phase melting volume s steps backward from the current iteration step. n , x n-1 ,…,x n-s+1 The value of ΔG on the solid phase melting volume from the current iteration step to the previous s steps is recorded as F n , F n-1 F n-s+1 Let the first updated liquid phase cold energy function be denoted as x. n+1 ;

[0035] x n+1 Expressed as Where α represents the mixing coefficient, and They are represented as follows:

[0036] and

[0037] Wherein, the combination coefficient β i The matrix elements of A are determined by solving the system of equations Aβ=b. ij =(F n -F n-i ,F n -F n-j The components of vector b are b i =(F n -F n-i ,F n );i,j=1,…,s-1.

[0038] Preferably, the step of fitting the first updated liquid phase cold energy function within the solid-phase melting volume range using the fourth-order Poirier-Tarantola cold energy equation of state to obtain the second updated liquid phase cold energy function includes:

[0039] The data points mixed by the Anderson algorithm and limited to the solid phase melting volume interval are used as fitting inputs, and the data points are expressed as in, The melting temperature T depends on the pressure P. m (P) corresponds to the solid melting volume;

[0040] Using the fourth-order Poirier-Tarantola cold energy equation of state as the fitting function, the second updated liquid phase cold energy function is fitted and output, and the second updated liquid phase cold energy function is used as the liquid phase cold energy function for the new iteration step; the value range of the liquid phase cold energy function for the new iteration step is the cold energy volume range required for constructing the mean field potential model.

[0041] In a second aspect, an embodiment of the present invention provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for rapidly calculating the metal liquid phase equation of state according to the first aspect are implemented.

[0042] The embodiments of the present invention bring the following beneficial effects:

[0043] This invention provides a rapid calculation method and electronic device for the equation of state of a liquid metal. First, a melting equation is established based on the solid-phase Helmholtz free energy and solid structure of the metal. The melting equation is solved to determine the melting line, and the solid-phase Gibbs free energy on the melting line is calculated. Then, a target equation to be solved is established based on the condition that the solid and liquid phases on the melting line are equal and the relationship between the Gibbs free energy and the Helmholtz free energy. Finally, the target equation is solved by self-consistent field iteration to obtain the liquid-phase cold energy function to be quantified. In each iteration step, the current liquid-phase cold energy function is corrected within the solid-phase melting volume range based on the current ΔG and the historical information of previous iteration steps. The liquid-phase cold energy function for the new iteration step is obtained based on the correction, and the process continues until the magnitude of ΔG is less than a preset convergence threshold. In the above calculation method, the established melting equation considers the different solid metal structures and the influence of different Grüneisen coefficient theoretical models on the high-pressure melting line, which improves the confidence of melting line prediction compared with existing technologies. Compared with the single-step scheme used in existing technologies, a multi-step hybrid scheme is used to correct the liquid phase cold energy function, which accelerates the convergence of the self-consistent field iteration. Furthermore, a new liquid phase cold energy function is obtained by fitting the correction with a specific cold energy equation of state model. Compared with the existing technology that uses the difference in Gibbs free energy at both ends of the melting line to update the liquid phase cold energy function outside the melting volume range, this avoids non-physical behavior of the liquid phase cold energy function in the self-consistent field iteration, thereby improving the calculation accuracy and efficiency of the metal liquid phase equation of state.

[0044] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description and the drawings.

[0045] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. Attached Figure Description

[0046] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0047] Figure 1 A flow chart of a self-consistent solution of existing liquid phase cooling energy provided by an embodiment of the present invention;

[0048] Figure 2 A flowchart of a method for rapidly calculating the metal liquid phase equation of state provided by an embodiment of the present invention;

[0049] Figure 3 A flowchart of another method for rapidly calculating the metal liquid phase equation of state provided by an embodiment of the present invention;

[0050] Figure 4 A schematic diagram of the results of estimating the high-pressure melting line of face-centered cubic structure metal aluminum provided by an embodiment of the present invention;

[0051] Figure 5 A schematic diagram of the results of estimating the high-pressure melting line of close-packed hexagonal beryllium metal provided by an embodiment of the present invention;

[0052] Figure 6 A self-consistent convergence diagram for calculating the liquid phase cooling energy of face-centered cubic aluminum provided by an embodiment of the present invention;

[0053] Figure 7 A schematic diagram of the results of calculating the liquid phase cooling energy of face-centered cubic aluminum provided by an embodiment of the present invention;

[0054] Figure 8 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0056] The process of obtaining the equation of state for liquid metals using the second method is as follows:

[0057] (A1) Solid-state Helmholtz free energy model: Without considering electro-acoustic interactions or magnetic disorder, the Helmholtz free energy of a solid phase can be written in the following three-term decomposition form:

[0058]

[0059] Where s represents the solid phase, V represents the volume, and T represents the temperature. represents the cold energy term, i.e. the static interaction potential (the ions are at the lattice equilibrium position), This represents the ionic term, specifically the contribution of ionic thermal motion (ionic vibrations about their lattice positions). Represents the electronic term, that is, the contribution of electron thermal excitation (ions fixed in the lattice equilibrium position).

[0060] The above-mentioned cold energy items The method of obtaining can be measured through static high-pressure experiments or calculated through first-principle calculations. This can be obtained using models, including but not limited to quasi-harmonic approximations and mean-field potential (MFP) models. For example, using a mean-field potential model, the ion term... The expression is as follows:

[0061]

[0062]

[0063] Where, k B Represents Boltzmann's constant. Let represent Planck's constant, T represent temperature, m represent ion mass, g(r,V) represent the average field potential, r represent the distance of a single atom from its equilibrium position, and R represent the nearest neighbor distance corresponding to volume V.

[0064] Furthermore, the formula for calculating the mean potential g(r,V) is as follows:

[0065]

[0066] Where r represents the distance of a single atom from its equilibrium position, and E c (R+r) represents the cold energy E corresponding to a nearest neighbor atom distance of R+r. c (Rr) represents the cold energy corresponding to the nearest neighbor atom distance Rr, E c (R) represents the cold energy corresponding to the nearest neighbor atom distance of R.

[0067] And, electronic items It can be expressed as an integral function of the electronic density of states, and the specific calculation formula is as follows:

[0068]

[0069]

[0070]

[0071] Where, n s (∈, V) represents the electronic state density of the solid phase, k B Let f denote the Boltzmann constant, and f denote the Fermi-Dirac distribution function, ∈ F This represents the Fermi energy of a solid phase. In practical applications, the electronic density of states and Fermi energy of a solid phase can be calculated using first-principles calculations.

[0072] (A2) Melt line prediction: Calculating the high-pressure melting point using first-principles molecular dynamics methods incurs significant computational overhead. Existing technical solutions primarily rely on the solid-state Helmholtz free energy model to establish the following melting equation:

[0073]

[0074] Among them, T m The value represents the melting temperature, and the constant C is determined based on the known melting point. R represents the nearest neighbor distance corresponding to the volume V.

[0075] In practical applications, the steps to solve the above melting equation (6) to obtain the melting line are as follows: For any given melting temperature T m Based on the solid-state cold energy, electronic density of states, and Fermi energy calculated using first principles, the solid-state free energy F is obtained using the (A1) solid-state Helmholtz free energy model. s (V,T m Based on the partial derivatives of R and R, the melting temperature T can be obtained by solving the melting equation. m Corresponding solid phase melting volume Then, use the following formula (7) to calculate the melting temperature T. m The corresponding melting pressure P m ;

[0076]

[0077] Therefore, a melting point (T) can be obtained. m ,P m Multiple different melting points form the melting line.

[0078] (A3) Liquid phase Helmholtz free energy model: Under certain assumptions, the Helmholtz free energy of the liquid phase can be written in a decomposition form similar to that of the solid phase:

[0079]

[0080] Where l represents the liquid phase, The static interaction potential of the liquid phase (referred to as liquid phase cold energy) is represented by the additional term -k in the above equation compared to the solid phase decomposition form. B Tlnw is the entropy of melting.

[0081] It should be noted that existing research indicates that the ionic and electronic terms of the Helmholtz free energy in the liquid phase can be taken in the same form as those in the solid phase. Specifically, the ionic term still uses the improved mean field potential model. In actual calculations of the electronic term in the liquid phase, the electronic density of states and Fermi energy of the solid phase can be directly used. The melting entropy is determined by taking lnw≈0.8. Therefore, the only unknown in the decomposition of the Helmholtz free energy in the liquid phase is the liquid phase cold energy function.

[0082] (A4) Solution method for liquid phase cold energy function: Given the melting line, the liquid phase cold energy function can be solved based on the condition that the Gibbs free energies of the solid and liquid phases on the melting line are equal.

[0083] Specifically, the Gibbs free energy G(P,T) is a function of pressure P and temperature T, and its relationship with the Helmholtz free energy F(V,T) is as follows:

[0084] G(P,T)=F(V,T)+PV (9)

[0085] Among them, for any melting point (P) on the melting line m ,T m ) in the solid phase Gibbs free energy G s (P m ,T m This can be calculated using the following steps:

[0086] ①Based on solid-state cold energy, electronic density of states, and Fermi energy, the solid-state Helmholtz free energy model in (A1) is used to obtain the temperature T. m The solid phase Helmholtz free energy F s (V,T m );

[0087] ②T m The solid phase Helmholtz free energy F s (V,T m Differentiating the volume V, we get T. mThe pressure-volume relationship under the condition of P is determined m The corresponding volume, which is the melting point (P). m ,T m The corresponding solid melting volume

[0088] ③ Melting point (P) m ,T m The corresponding solid melting volume Once determined, calculate the melting point (P) using the following formula. m ,T m Gibbs free energy of the solid phase at ()

[0089]

[0090] The condition that the Gibbs free energies of the solid and liquid phases are equal on the melting line establishes a nonlinear equation regarding the liquid phase cooling energy function. The solution method is as follows: starting from an estimated liquid phase cooling energy, using a similar procedure to that for the solid phase, calculate any melting point (P) on the melting line. m ,T m Liquid phase melting volume at ) Gibbs free energy of liquid phase G l (P m ,T m This allows us to obtain the difference in Gibbs free energy between the solid and liquid phases along the melting line; the formula for calculating the difference in Gibbs free energy is as follows:

[0091] ΔG(P m ,T m )=G s (P m ,T m )-G l (P m ,T m (11)

[0092] Among them, (P m ,T m () represents any melting point.

[0093] Finally, based on this information, the liquid phase cold energy function is locally modified (local means that the modification is limited to the melting volume range), and a new liquid phase cold energy function is obtained based on this local modification. The next iteration is then performed, and finally, the liquid phase cold energy with a sufficiently small modulus of ΔG is gradually obtained. This process is called the self-consistent field (SCF) iterative solution of the liquid phase cold energy.

[0094] It should be noted that the solid Gibbs free energy and solid melting volume on the melting line remain constant throughout the self-consistent iterative solution process.

[0095] (A5) Liquid phase cold energy calculation process: Specifically, as follows Figure 1 As shown, the existing self-consistent solution process for liquid phase cooling energy includes the following steps:

[0096] Step S102, inputting solid phase cold energy, electronic state density and Fermi energy;

[0097] Step S104: Estimate the melting line and calculate the solid phase Gibbs free energy on the melting line;

[0098] Specifically, based on the input data and the average field potential model, the melting equation is solved to obtain the melting line, and the Gibbs free energy of the solid phase on the melting line is calculated; the prediction of the melting line is detailed above (A2), and the calculation process of the Gibbs free energy of the solid phase on the melting line is detailed above (A4).

[0099] Step S106: Initialize the difference ΔG between the liquid phase cooling energy and the solid-liquid phase Gibbs free energy on the melting line; wherein, the liquid phase cooling energy is initialized to the solid phase cooling energy, and the difference between the solid and liquid phase Gibbs free energies on the melting line is initialized to ΔG(P m ,T m )=k B T m lnw, here (P) m ,T m ) represents any melting point on the melting line, k B represents the Boltzmann constant; and, sets the iteration step count n=1;

[0100] It should be noted that, since the initial liquid phase cooling energy is equal to the solid phase cooling energy, the only difference between the initial solid and liquid phase Helmholtz free energies F(V,T) is the melting entropy. The melting entropy is independent of the volume V, so the partial derivatives of the initial solid and liquid phase Helmholtz free energies F(V,T) with respect to the volume V yield the same pressure-volume relationship (PV relationship), so the initial liquid phase melting volume is the same as the solid phase melting volume. In summary, the only difference between the initial ΔG and the initial solid phase Helmholtz free energies F(V,T) is the negative melting entropy, i.e., the initial ΔG(P m ,T m )=k B T m lnw.

[0101] Step S108, using a single-step hybrid algorithm to update the liquid phase cooling energy within the liquid phase melting volume interval;

[0102] Specifically, the liquid phase cooling energy function within the liquid phase melting volume interval is updated as follows:

[0103] x n+1 =x n +α*F n (12)

[0104] Among them, x n+1 x represents the updated liquid phase cold energy function within the liquid phase melting volume range. n This represents the liquid phase cold energy function at the liquid phase melting volume point in step n. The vector F is composed of the values ​​on the vector. n Let α represent the vector composed of the difference ΔG between the solid and liquid phase Gibbs free energies at each melting point in step n, and let α represent the preset mixing coefficient, with a value range of (0,1).

[0105] Step S110: Update the liquid phase cold energy outside the liquid phase melting volume range and in the cold energy volume range based on ΔG at both ends of the melting line; then let the self-consistent iteration step count n:=n+1.

[0106] It should be noted that this step is necessary because the range of cold energy values ​​required to construct the average potential g(r,V) is larger than the melting volume range. Here, the range of cold energy volumes required to construct the average potential is denoted as [V]. min V max ], and are collectively referred to as the cold energy volume range.

[0107] Therefore, the existing technical solution accumulates the ΔG data at both ends of the nth melting line to the liquid phase cold energy function at the volume beyond the liquid phase melting volume range on both sides, so as to update the liquid phase cold energy function outside the liquid phase melting volume range and in the cold energy volume range.

[0108] Step S112: Update the Gibbs free energy of the liquid phase on the melting line based on the mean field potential model;

[0109] Specifically, based on the average field potential model and the updated liquid phase cold energy function mentioned above, the Gibbs free energy of the liquid phase on the melting line is calculated, and then the difference ΔG between the solid and liquid phase Gibbs free energies on the melting line is obtained.

[0110] Step S114: Determine whether the magnitude of ΔG on the melting line is sufficiently small; specifically, determine whether the magnitude of ΔG is less than a preset convergence threshold. If yes, proceed to step S116; otherwise, return to step S108.

[0111] Step S116: Output the current liquid phase cooling energy; and end the self-consistent solution process.

[0112] While the existing solutions described above can perform liquid-phase cold energy calculations, they have the following problems:

[0113] (1) While existing schemes can achieve efficient calculation of the melting line, they have two problems in terms of confidence level. First, they do not consider the influence of different Grüneisen coefficient theoretical models. The Grüneisen coefficient directly affects the slope of the melting line. Existing schemes use the Grüneisen coefficient model proposed by Dugdale and MacDonald (hereinafter referred to as the DM model), but do not consider the Slater model and the free volume model. Considering only a single model may be difficult to explain the experimental measurement results, and it is also impossible to assess the uncertainty of the theoretically predicted melting line. Second, they do not consider the influence of structural parameters on the high-pressure melting line. Existing schemes are only applicable to systems with high symmetry structures such as face-centered cubic and body-centered cubic structures, and cannot consider the influence of structural parameters that vary with volume on the high-pressure melting point in low symmetry structures such as hexagonal close-packed structures.

[0114] (2) When mixing to update the liquid phase cold energy function within the melting volume range, a simple (linear) mixing scheme is adopted. This scheme only mixes the input and output of a single iteration step, which is easy to implement, but it cannot utilize information from earlier iteration steps, resulting in a slow self-consistent convergence speed. In addition, during the self-consistent iterative solution of liquid phase cold energy, the difference ΔG between the solid and liquid phase Gibbs free energies on the melting line corresponds to the current liquid phase melting volume, while the liquid phase melting volume changes continuously with the change of the liquid phase cold energy function during the iteration process, making the implementation of the multi-step mixing scheme more difficult and cumbersome;

[0115] (3) When updating the liquid phase cold energy outside the liquid phase melting volume range and within the cold energy volume range, the existing technology accumulates the ΔG data at both ends of the melting line onto the liquid phase cold energy function at the volumes exceeding the liquid phase melting volume range on both sides. Testing and analysis show that the error associated with this method gradually accumulates and spreads during the self-consistent iteration process, causing the normal shape of the liquid phase cold energy function to be destroyed, and even no longer satisfying the physical prediction that the overall liquid phase cold energy is above the solid phase cold energy. Ultimately, this manifests as the self-consistent iteration error no longer decreasing and the liquid phase cold energy calculation results becoming abnormal.

[0116] To address the aforementioned issues, this invention provides a rapid calculation method and electronic device for the equation of state of liquid metals. The established melting equation considers the influence of different solid metal structures and different Grüneisen coefficient theoretical models on the high-pressure melting line, improving the confidence level of melting line prediction compared to existing technologies. Compared to the single-step approach used in existing technologies, a multi-step hybrid approach is adopted to correct the liquid phase cold energy function, accelerating the convergence of the self-consistent field iteration. Furthermore, a new liquid phase cold energy function is obtained by fitting this correction using a specific cold energy equation of state model. Compared to the existing technology that uses the difference in Gibbs free energy at both ends of the melting line to update the liquid phase cold energy function outside the melting volume range, this avoids non-physical behavior of the liquid phase cold energy function in the self-consistent field iteration, thereby improving the calculation accuracy and efficiency of the equation of state of liquid metals.

[0117] To facilitate understanding of this embodiment, the embodiments of the present invention will be described in detail below.

[0118] Example 1:

[0119] An embodiment of the present invention provides a method for rapidly calculating a metal liquid phase equation of state, which is applied to electronic devices such as computers. The method for rapidly calculating a metal liquid phase equation of state in this embodiment considers the following form of the liquid phase equation of state:

[0120]

[0121] Among them, the superscript l represents the liquid phase, F l (V,T) represents the Helmholtz free energy of the liquid phase, which depends on volume V and temperature T. is the liquid phase cooling energy function, is the ionic term, For electrons, -0.8k B T is the melting entropy, k B is the Boltzmann constant.

[0122] It should be noted that the ionic term and electronic term of the above-mentioned liquid phase Helmholtz free energy can be taken as the same form as that of the solid phase; if the ionic term still uses the improved mean field potential model, the liquid phase electronic term is directly calculated using the electronic state density and Fermi energy of the solid phase. Therefore, the unknown quantity in the above-mentioned liquid phase equation of state is the liquid phase cold energy function.

[0123] like Figure 2 The flowchart shown illustrates a rapid calculation method for the equation of state in a liquid metal phase. This method primarily describes the process of determining the liquid phase cold energy function, including the following steps:

[0124] Step S202, establishing a melting equation based on the known solid-phase Helmholtz free energy of the metal and the solid structure of the metal, solving the melting equation to determine the melting line, and calculating the solid-phase Gibbs free energy on the melting line;

[0125] Specifically, depending on whether the metal's solid structure is highly symmetric or low symmetric, a corresponding melting equation is established and solved to determine the melting line. Highly symmetric structures include, but are not limited to, face-centered cubic and body-centered cubic, while low symmetric structures include hexagonal close-packed structures.

[0126] If the solid structure of the metal is a highly symmetric structure, then the melting equation is as follows:

[0127]

[0128] If the solid structure of the metal is a low-symmetry structure, then the melting equation is as follows:

[0129]

[0130] Among them, T m The melting temperature is represented by C, a constant by V, and the nearest neighbor distance for volume V is represented by R. F represents the melting temperature. s (V,T m This indicates that the temperature depends on the volume V and the melting temperature T. m The solid-state Helmholtz free energy, η represents the structural parameter, and it varies with volume V, satisfying the following condition: λ represents an identification parameter used to characterize the type of Grüneisen coefficient theoretical model used to calculate the Grüneisen coefficient. It should be noted that the known solid-phase Helmholtz free energy of the metal can be determined by referring to the aforementioned formulas (1)-(5). The specific calculation process will not be detailed in this embodiment of the present invention.

[0131] In addition, the values ​​of λ include: -1, 0, and 2, which respectively indicate that the Grüneisen coefficient is calculated using the Slater model, the DM model, and the free volume model. Since the Grüneisen coefficient is related to the melting slope, the uncertainty of the melting line estimation can be evaluated by using different Grüneisen coefficient theoretical models, and the estimation accuracy can be improved by appropriately selecting the parameter λ.

[0132] The above-mentioned process of solving the two melting equations to determine the melting line is similar to the existing scheme. The main process is as follows: First, based on the solid phase cold energy, electronic state density and Fermi energy calculated by first principles, the solid phase Helmholtz free energy model described by (A1) is used to obtain the solid phase Helmholtz free energy F sand its partial derivative with respect to volume V; secondly, perform cubic spline interpolation on volume V and R, and calculate the derivative through the spline interpolation relationship Based on this, the melting equation is solved to determine the corresponding melting line.

[0133] It should be noted that after determining the melting line, the calculation of the solid phase Gibbs free energy on the melting line can be referred to the above (A4), and will not be described in detail here in the embodiments of the present invention.

[0134] Therefore, the melting equation established in this embodiment of the invention takes into account the different solid metal structures and the influence of different Grüneisen coefficient theoretical models on the high-pressure melting line. Compared with the prior art, it improves the confidence level of melting line prediction, thereby improving the calculation accuracy of the liquid phase equation of state.

[0135] Step S204: establishing a target equation to be solved based on the condition that the solid and liquid phases on the melting line have equal Gibbs free energies and the relationship between the Gibbs free energy G(P, T) and the Helmholtz free energy F(V, T);

[0136] According to formula (9), the relationship between the Gibbs free energy G(P,T) and the Helmholtz free energy F(V,T) is G(P,T)=F(V,T)+PV. Combining the condition that the Gibbs free energies of the solid and liquid phases on the melting line are equal, the objective equation to be solved is established as follows:

[0137]

[0138] Where P is pressure, G s (P,T m (P) represents the solid-state Gibbs free energy. T represents the volume of liquid phase melt corresponding to pressure P. m (P) represents the melting temperature corresponding to pressure P. Since the Gibbs free energy of the solid phase is known, the Gibbs free energy of the liquid phase to be quantified is the part containing the liquid phase cold energy function. Therefore, the above objective equation can be used to characterize the correspondence between the free energy difference ΔG between the solid phase Gibbs free energy and the liquid phase Gibbs free energy and the liquid phase cold energy function.

[0139] Step S206: Solve the objective equation using a self-consistent field iteration to obtain the liquid phase cold energy function to be quantified.

[0140] Specifically, in the self-consistent field iterative solution process, for each iteration step, starting from the current liquid phase cold energy function obtained in the current iteration step, the current liquid phase melting volume and the current liquid phase Gibbs free energy at any melting point on the melting line are calculated, thereby obtaining the current Gibbs free energy difference ΔG(P,T m (P))=G s (P,T m (P))-G l (P,T m (P)), where T m (P) is the melting temperature dependent on pressure P; and, based on the current ΔG and the historical information of previous iteration steps, the current liquid phase cold energy function is corrected within the solid phase melting volume range, and then the liquid phase cold energy function for the new iteration step is obtained based on the correction, and the next iteration step is entered; when it is determined that the magnitude of ΔG is less than the preset convergence threshold, the iteration terminates and the liquid phase cold energy function at this time is output as the liquid phase cold energy function to be quantified.

[0141] Among them, in the correction of the above-mentioned self-consistent field iterative solution, a method of mixing the input and output of the existing iterative steps is adopted to obtain the first updated liquid phase cooling energy function; and the first updated liquid phase cooling energy function is further fitted to obtain the second updated liquid phase cooling energy function, and the second updated liquid phase cooling energy function is used as the liquid phase cooling energy function for the new iterative step.

[0142] Specifically, a first updated liquid phase cold energy function is obtained by mixing the inputs and outputs of multiple existing iteration steps; and / or, a second updated liquid phase cold energy function is obtained by fitting the first updated liquid phase cold energy function corresponding to the local correction within the solid phase melting volume range. Specifically, the Anderson algorithm is used to mix the inputs and outputs of multiple existing iteration steps within the solid phase melting volume range to obtain the first updated liquid phase cold energy function; and / or, a fourth-order Poirier-Tarantola cold energy equation of state is used to fit the first updated liquid phase cold energy function within the solid phase melting volume range to obtain the second updated liquid phase cold energy function.

[0143] The input and output of multiple existing iteration steps within the solid phase melting volume interval are mixed using the Anderson algorithm to obtain the first updated liquid phase cooling energy function. This is mainly divided into two steps (S1) and (S2). The processes of (S1) and (S2) are as follows:

[0144] (S1) If the current step is not the first iteration (i.e. n≠1), then first implement the conversion of the current Gibbs free energy difference ΔG to the fixed volume point, that is, convert the current ΔG from the liquid phase melting volume to the fixed volume point;

[0145] The necessity of step (1) above lies in the fact that the Anderson algorithm mixes the liquid phase cold energy and ΔG from multiple self-consistent iteration steps. Therefore, these quantities need to be set at a fixed set of volume points. In this embodiment of the invention, this set of volume points is taken as the solid phase melting volume. In particular, ΔG, calculated based on the difference in Gibbs free energy between the solid and liquid phases on the melting line, corresponds to the current liquid phase melting volume. Therefore, when ΔG has not reached the convergence threshold and self-consistent iteration needs to continue, in order to perform Anderson mixing, ΔG first needs to be converted from the liquid phase melting volume to the solid phase melting volume (i.e., a fixed volume point).

[0146] Specifically, since ΔG differs from cold energy, Helmholtz free energy, etc., it cannot be directly fitted using Birch-Murnaghan or Poirier-Tarantola equations of state models to achieve the conversion of the value point. Therefore, in this embodiment of the invention, the process of converting the current ΔG from the liquid phase melting volume to a fixed volume point is as follows:

[0147] ① Take a fixed volume point as the solid melting volume corresponding to each melting point on the melting line. in, The melting temperature T depends on the pressure P. m (P) corresponds to the solid melting volume;

[0148] ② Based on the current Gibbs free energy difference ΔG and the current liquid phase cold energy function, calculate That is, the value of the current liquid phase cold energy function over the liquid phase melting volume. The current Gibbs free energy difference ΔG(P,T) is added to the calculation of the current iteration step. m (P)) on; among them, The melting temperature T depends on the pressure P. m (P) corresponds to the liquid phase melting volume;

[0149] ③ Fit the data points using the Birch-Murnaghan or Poirier-Tarantola model. To determine the fitting function Then calculate To obtain the corresponding fixed volume point The difference in Gibbs free energy is used to complete the conversion.

[0150] Specifically, standard cold energy equation of state models are used, including but not limited to the 3rd or 4th order Birch-Murnaghan model (BM3 / BM4) and the 3rd or 4th order Poirier-Tarantola model (PT3 / PT4), etc., to fit the data points obtained in ② above (the values ​​are taken at the current liquid phase melting volume). To determine the fitting function Then the fitted function is taken on the solid phase melting volume, that is, Finally, Subtract the value of the current liquid phase cooling energy function on the solid phase melting volume In order to obtain the Gibbs free energy difference ΔG corresponding to the solid phase melting volume, the required conversion is completed.

[0151] It should be noted that if the current step is the first iteration (ie, n=1), since the initial value of the liquid phase melting volume is the same as that of the solid phase, no conversion is required at this time.

[0152] (S2) The Anderson algorithm is used to mix the inputs and outputs of multiple existing iteration steps within the solid melting volume range to obtain the first updated liquid phase cold energy function; that is, according to the Anderson algorithm, the liquid phase cold energy function from the current iteration step forward s steps and the value of ΔG in the solid melting volume are mixed to update the liquid phase cold energy function within the solid melting volume range to obtain the first updated liquid phase cold energy function.

[0153] Specifically, let the current iteration step be the nth step, where n is an integer greater than or equal to 1; s is a preset number of steps, which is an integer greater than 1. During the iteration process, if n ≥ s, then the liquid phase cold energy from the current iteration step forward s steps and the value of ΔG in the solid phase melting volume are mixed according to the Anderson algorithm to obtain the first updated liquid phase cold energy function; if n < s, then the liquid phase cold energy from the current iteration step forward n steps and the value of ΔG in the solid phase melting volume are mixed according to the Anderson algorithm to obtain the first updated liquid phase cold energy function.

[0154] For example, when mixing the liquid phase cooling energy and the value of ΔG in the solid melting volume from the current iteration step forward s steps according to the Anderson algorithm, the mixing process is as follows: the value of the liquid phase cooling energy in the solid melting volume from the current iteration step forward s steps is denoted as x. n , x n-1 ,…,x n-s+1 The value of ΔG on the solid phase melting volume from the current iteration step to the previous s steps is recorded as F n , F n-1 F n-s+1 That is, let x represent the vector composed of the values ​​of the liquid phase cold energy function in the solid phase melting volume, and let F represent the vector composed of the values ​​of ΔG in the solid phase melting volume.

[0155] Let the first updated liquid phase cold energy function be denoted as x. n+1 , then x n+1 The expression is as follows:

[0156]

[0157] Among them, α represents the mixing coefficient, and its value range is (0,1], and They are represented as follows: and Combination coefficient β i The matrix elements of A are determined by solving the system of equations Aβ=b. ij =(F n -F n-i ,F n -F n-j ), the component of the vector b on the right side of the equation is b i =(F n -F n-i ,F n );i,j=1,…,s-1.

[0158] Therefore, the embodiment of the present invention applies the Anderson algorithm to self-consistent mixing. Compared with the single-step scheme used in the prior art, it can utilize the information of the previous multiple iterative steps, thereby accelerating the self-consistent convergence process of the liquid phase cooling energy, and further improving the computational efficiency of the liquid phase equation of state.

[0159] Furthermore, the first updated liquid phase cold energy function in the solid phase melting volume interval is fitted by the fourth-order Poirier-Tarantola cold energy equation of state to obtain the second updated liquid phase cold energy function. The fitting process is as follows: the data points mixed by the Anderson algorithm and limited to the solid phase melting volume interval are used as fitting inputs. The data points are expressed as in, The melting temperature T depends on the pressure P. m (P) corresponds to the solid phase melting volume; the fourth-order Poirier-Tarantola cold energy equation of state is used as the fitting function, the second updated liquid phase cold energy function is fitted and output, and the second updated liquid phase cold energy function is used as the liquid phase cold energy function for the new iteration step; wherein, the value range of the liquid phase cold energy function used for the new iteration step is the cold energy volume range constructed by the mean field potential model.

[0160] Specifically, as mentioned above, the required cold energy volume range [V] for constructing the average field potential g(r,V) is... min V maxThe liquid phase cold energy function is much larger than the solid / liquid phase melting volume range. Therefore, the method used to obtain the liquid phase cold energy function outside the melting volume range is crucial. This embodiment of the invention uses the fourth-order Poirier-Tarantola cold energy equation of state as the fitting function. The fitting input is data points limited to the solid phase melting volume range, mixed using the Anderson algorithm. Then, the second updated liquid phase cold energy function is obtained by taking values ​​from the fitting function. Here, the second updated liquid phase cold energy function is the cold energy volume range [V] required for the average field potential g(r,V). min V max The liquid phase cold energy function on the [ ] is used to eliminate the abnormal phenomenon that the liquid phase cold energy gradually exhibits non-physical behavior during the iteration process, while ensuring that the self-consistent iteration process converges normally, thereby improving the calculation efficiency and accuracy of the liquid phase equation of state.

[0161] In summary, the rapid calculation method for the metal liquid phase equation of state provided in this invention considers the influence of different metal solid structures and different Grüneisen coefficient theoretical models on the high-pressure melting line, thus improving the confidence level of melting line prediction compared to existing technologies. Compared to the single-step scheme used in existing technologies, a multi-step hybrid scheme is used to correct the liquid phase cold energy function, accelerating the convergence of the self-consistent field iteration. Furthermore, a new liquid phase cold energy function is obtained by fitting this correction with a specific cold energy equation of state model. Compared to the existing technology that uses the difference in Gibbs free energy at both ends of the melting line to update the liquid phase cold energy function outside the melting volume range, this avoids non-physical behavior of the liquid phase cold energy function in the self-consistent field iteration, thereby improving the calculation accuracy and efficiency of the metal liquid phase equation of state.

[0162] Example 2:

[0163] Based on the above embodiments, this invention provides another method for rapidly calculating the equation of state for liquid metals, such as... Figure 3 As shown, the method includes the following steps:

[0164] Step S302: Input solid-state cold energy, electronic density of states, and Fermi energy;

[0165] Step S304: Based on the solid structure of the metal, estimate the melting line and calculate the solid phase Gibbs free energy on the melting line;

[0166] The melting equations are established based on the solid structure of the metal, and the melting lines are predicted based on the melting equations. The foregoing embodiments can be referred to, and the embodiments of the present invention will not be described in detail here.

[0167] Step S306: Initialize the difference ΔG between the liquid phase cooling energy and the solid-liquid phase Gibbs free energy on the melting line; wherein, the liquid phase cooling energy is initialized to the solid phase cooling energy, and the difference between the solid and liquid phase Gibbs free energy on the melting line is initialized to ΔG(P m ,T m )=k B T m lnw, here (P) m ,T m ) represents any melting point on the melting line, k B represents the Boltzmann constant; and, sets the iteration step count n=1;

[0168] Step S308: The Anderson algorithm is used to update the liquid phase cold energy within the solid melting volume range; the specific process of updating the liquid phase cold energy using the Anderson algorithm can be referred to the foregoing embodiments, and will not be described in detail here.

[0169] Step S310: The liquid phase cold energy within the solid melting volume range is fitted using the PT4 equation of state model, and the value of the fitted function is then taken to update the liquid phase cold energy in the cold energy volume range; that is, the first updated liquid phase cold energy function within the solid melting volume range is fitted using the PT4 equation of state model, and the value of the fitted function is taken to update the liquid phase cold energy in the cold energy volume range, thus obtaining the second updated liquid phase cold energy function. The specific update process can be referred to the aforementioned embodiments, and the embodiments of the present invention will not be described in detail here.

[0170] Step S312: Update the Gibbs free energy of the liquid phase on the melting line based on the mean field potential model;

[0171] Step S314: Determine whether the magnitude of ΔG on the melting line is sufficiently small; specifically, determine whether the magnitude of ΔG is less than a preset convergence threshold. If yes, proceed to step S316; otherwise, return to step S308.

[0172] Step S316: Output the current liquid phase cooling energy; and end the self-consistent solution process.

[0173] Therefore, the rapid calculation method for the metal liquid phase equation of state provided in this embodiment of the invention is similar to... Figure 1 Compared with the existing solutions, the main improvements include the following three aspects:

[0174] (1) Existing technical solutions use the DM model to calculate the Grüneisen coefficient and predict the high-pressure melting line of face-centered cubic aluminum, such as Figure 3As shown, L1 represents the high-pressure melting line of face-centered cubic aluminum predicted using the DM model, L2 represents the high-pressure melting line of face-centered cubic aluminum predicted using the Slater model, L3 represents the experimental measurement result, i.e., the reference high-pressure melting line, and the pentagram indicates the known melting point used for prediction. In the pressure range of 100GPa-200GPa, the melting point temperature of L1 is significantly lower than that of the experimentally measured L3. However, the scheme in this embodiment can consider different Grüneisen coefficient theoretical models, such as the Slater model. According to L2 and L3, the deviation between the theoretical prediction of the high-pressure melting point and the experimental measurement result is significantly reduced, thereby improving the calculation accuracy of the liquid phase equation of state.

[0175] Furthermore, existing technologies cannot account for changes in lattice parameters with volume, and therefore cannot predict the high-pressure melting line of close-packed hexagonal beryllium. Figure 4 As shown, L1 represents the high-pressure melting line of hexagonal close-packed metallic beryllium estimated using fixed structural parameters in existing schemes; L2 represents the high-pressure melting line of hexagonal close-packed metallic beryllium estimated using structural parameters η that vary with volume V in this embodiment; L3 represents the experimental measurement result, i.e., the reference high-pressure melting line simulated using first-principles molecular dynamics; and the pentagram represents the known melting point used for estimation. Within the pressure range of 150 GPa to 500 GPa, the melting point temperature of L1 is significantly higher than that of L3. Furthermore, because this embodiment considers the influence of structural parameters varying with volume on the high-pressure melting line, L2 significantly reduces the deviation between the theoretical high-pressure melting point prediction and the experimental measurement result compared to L3, thereby improving the calculation accuracy of the liquid phase equation of state.

[0176] (2) Existing technologies employ a simple (linear) mixing scheme, where the update of liquid phase cold energy only utilizes the result of a single iteration step. However, the embodiments of this invention apply the Anderson algorithm to self-consistent mixing, which can utilize information from multiple previous iteration steps, thereby accelerating the self-consistent convergence process of liquid phase cold energy.

[0177] Specifically, tests on body-centered cubic beryllium and face-centered cubic aluminum show that, using the same self-consistent convergence threshold and the same mixing coefficient (α = 0.4), the Anderson hybrid scheme (iteration number s = 5) can save more than half the number of self-consistent iterative convergence steps compared to existing technologies. Taking aluminum as an example, ... Figure 6 As shown, L1 represents the self-consistent convergence curve for solving the liquid phase cooling energy of aluminum using the Anderson hybrid algorithm, and L2 represents the self-consistent convergence curve for solving the liquid phase cooling energy of aluminum using the existing simple (linear) hybrid scheme. The convergence threshold for both is 10. -4The convergence steps for L1 are 7 steps and for L2 are 17 steps. Therefore, by adopting the Anderson hybrid algorithm, this embodiment of the invention significantly improves the convergence speed of the self-consistent iteration, thereby improving the computational efficiency of the liquid phase equation of state.

[0178] (3) Existing technologies use ΔG data from both ends of the melting line to update the liquid phase cold energy in volumes exceeding the melting volume range on both sides, which disrupts the normal form of the liquid phase cold energy. In contrast, this invention uses a fourth-order Poirier-Tarantola cold energy equation of state model to fit the updated liquid phase cold energy within the solid melting volume range. Then, by taking values ​​from the fitting function, the entire cold energy volume range [V] is obtained. min V max ] on the liquid phase cooling energy, so as to avoid the non-physical behavior of the liquid phase cooling energy function in the self-consistent field iteration.

[0179] The results of solving the liquid phase cooling energy for face-centered cubic structure metal aluminum are as follows Figure 7 As shown, L1 represents the liquid phase cold energy obtained by fitting the updated liquid phase cold energy within the solid-phase melting volume range using a 4th-order Poirier-Tarantola cold energy equation of state model; L2 represents the liquid phase cold energy obtained by extrapolation using existing technology; and L3 represents the solid phase cold energy. Figure 7 As can be seen, L1 is generally above L3, meaning the technical solution of this embodiment can obtain physically correct liquid phase cold energy. However, L2 is lower than L1 in some volumes, indicating that the existing technical solution leads to abnormal liquid phase cold energy results, breaking the physical prediction that liquid phase cold energy should be generally above solid phase cold energy. Therefore, this embodiment of the invention uses a fourth-order Poirier-Tarantola cold energy equation of state model to fit the updated liquid phase cold energy within the solid melting volume range, avoiding non-physical behavior of the liquid phase cold energy function in the self-consistent field iteration, thereby improving the calculation accuracy of the liquid phase equation of state.

[0180] In summary, the rapid calculation method for the metal liquid phase equation of state provided in this invention has the following advantages: ① The established melting equation considers the different solid metal structures and the influence of different Grüneisen coefficient theoretical models and lattice parameters on the high-pressure melting line, which improves the confidence of melting line prediction compared with the prior art; ② The Anderson algorithm is used for self-consistent mixing of liquid phase cold energy. In particular, the volume point conversion technique required for applying the Anderson algorithm is added, thereby accelerating the self-consistent convergence process of liquid phase cold energy by several times; ③ The fourth-order Poirier-Tarantola cold energy equation of state model is used for fitting, realizing the calculation of liquid phase cold energy in the melting volume range to the cold energy volume range required for constructing the average field potential, avoiding the non-physical behavior of liquid phase cold energy caused by the prior art, thereby improving the calculation accuracy and efficiency of the metal liquid phase equation of state.

[0181] This invention also provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the above-mentioned method for rapid calculation of the metal liquid phase equation of state.

[0182] See also Figure 8 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100. The processor 100 executes the machine-executable instructions to implement the above-mentioned method for rapid calculation of the metal liquid phase equation of state.

[0183] Further, Figure 8 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 100, the communication interface 103 and the memory 101 connected via the bus 102.

[0184] The memory 101 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 102 may be an ISA (Industrial Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Enhanced Industry Standard Architecture) bus. These buses can be categorized as address buses, data buses, and control buses. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0185] Processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 100 or by instructions in software form. Processor 100 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 101, and the processor 100 reads the information from memory 101 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.

[0186] This embodiment also provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the above-mentioned method for fast calculation of the metal liquid phase equation of state.

[0187] The computer program product of the rapid calculation method and electronic device for the equation of state of liquid metal provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.

[0188] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0189] In addition, in the description of the embodiments of the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediate medium; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.

[0190] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0191] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0192] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A method for quickly calculating a metal liquid phase equation of state, wherein the liquid phase equation of state is: in, The superscript l represents the liquid phase, F l (V,T) is the Helmholtz free energy of the liquid phase that depends on volume V and temperature T, is the liquid phase cooling energy function, is the ionic term, For electronic items, -0.8k B T is the melting entropy, k B is the Boltzmann constant; It is characterized in that the liquid phase cooling energy function is used as a quantity to be determined, and the determination steps include: Establishing a melting equation based on the known solid-phase Helmholtz free energy of the metal and the solid structure of the metal, solving the melting equation to determine the melting line, and calculating the solid-phase Gibbs free energy on the melting line; Based on the condition that the solid phase and liquid phase Gibbs free energy on the melting line are equal and the relationship between Gibbs free energy G(P,T) and Helmholtz free energy F(V,T) G(P,T)=F(V,T)+PV, a target equation to be solved is established; wherein the target equation is used to characterize the corresponding relationship between the free energy difference between the solid phase Gibbs free energy and the liquid phase Gibbs free energy and the liquid phase cold energy function, and P is the pressure; The target equation is solved by self-consistent field iteration to obtain the liquid phase cold energy function as the quantity to be determined; wherein, in each iteration step, starting from the current liquid phase cold energy function obtained in the current iteration step, the current liquid phase melting volume and the current liquid phase Gibbs free energy at any melting point on the melting line are calculated, thereby obtaining the current Gibbs free energy difference ΔG(P,T m (P)) = G s (P,T m (P))-G l (P,T m (P)), where superscript s represents the solid phase, T m (P) is the melting temperature that depends on the pressure P; and, based on the current ΔG and the historical information of the previous iteration step, the current liquid phase cooling energy function is corrected within the solid phase melting volume interval, and then based on the correction, the liquid phase cooling energy function for the new iteration step is obtained, and the next iteration step is entered; when it is determined that the modulus of the ΔG is less than the preset convergence threshold, the iteration is terminated and the liquid phase cooling energy function at this time is output as the liquid phase cooling energy function to be quantified; In the correction of the self-consistent field iterative solution, a first updated liquid phase cooling energy function is obtained by mixing the input and output of the existing iterative step; and the first updated liquid phase cooling energy function is further fitted to obtain a second updated liquid phase cooling energy function, and the second updated liquid phase cooling energy function is used as the liquid phase cooling energy function for the new iterative step; The first updated liquid phase cooling energy function is obtained by mixing the input and output of multiple existing iterative steps; and / or the first updated liquid phase cooling energy function corresponding to the local correction within the solid phase melting volume interval is fitted to obtain the second updated liquid phase cooling energy function.

2. The rapid calculation method of the metal liquid phase equation of state according to claim 1, characterized in that: The method of mixing the input and output of multiple existing iterative steps to obtain the first updated liquid phase cooling energy function; and / or fitting the first updated liquid phase cooling energy function corresponding to the local correction within the solid phase melting volume interval to obtain the second updated liquid phase cooling energy function, including: Using Anderson algorithm to mix the input and output of multiple existing iteration steps within the solid phase melting volume interval to obtain the first updated liquid phase cooling energy function; And / or, the first updated liquid phase cold energy function within the solid phase melting volume interval is fitted using a fourth-order Poirier-Tarantola cold energy equation of state to obtain the second updated liquid phase cold energy function.

3. The rapid calculation method of the metal liquid phase equation of state according to claim 2, characterized in that: The method of establishing a melting equation based on the known solid-phase Helmholtz free energy of the metal and the solid structure of the metal, and solving the melting equation to determine the melting line comprises: According to whether the solid structure of the metal is a high-symmetry structure or a low-symmetry structure, corresponding melting equations are established respectively, and the corresponding melting equations are solved to determine the melting line.

4. The rapid calculation method of the metal liquid phase equation of state according to claim 3 is characterized in that: According to whether the solid structure of the metal is a high-symmetry structure or a low-symmetry structure, the corresponding melting equations are established, including: If the solid structure of the metal is a highly symmetric structure, the melting equation is established: If the solid structure of the metal is a low-symmetry structure, establish the melting equation: Among them, T m represents the melting temperature, C represents the constant, V represents the volume, R represents the distance between the nearest neighbor atoms corresponding to the volume V, and F s (V,T m ) represents the dependence on volume V and melting temperature T m , η represents the structural parameter, λ represents the identification parameter, which are used to characterize the type of Grüneisen coefficient theoretical model adopted to calculate the Grüneisen coefficient.

5. The rapid calculation method of the metal liquid phase equation of state according to claim 4, characterized in that: The values ​​of λ include: -1, 0 and 2, which respectively indicate that the Grüneisen coefficient is calculated using the Slater model, the DM model and the free volume model.

6. The rapid calculation method of the metal liquid phase equation of state according to claim 2, characterized in that: Before the Anderson algorithm is used to mix the inputs and outputs of the multiple existing iteration steps in the solid phase melting volume interval, if the current iteration step is not the first iteration step, the step of converting the current Gibbs free energy difference ΔG to a fixed volume point is firstly performed, including: Take the fixed volume point as the solid phase melting volume corresponding to each melting point on the melting line in, is the melting temperature T that depends on the pressure P m (P) corresponds to the solid phase melting volume; Based on the current Gibbs free energy difference ΔG and the current liquid phase cooling energy function, calculate in, is the melting temperature T that depends on the pressure P m (P) corresponds to the liquid melting volume; Fit the data points using a Birch-Murnaghan or Poirier-Tarantola model To determine the fitting function Then calculate To obtain the fixed volume point corresponding to The Gibbs free energy difference is calculated to complete the conversion.

7. The method for rapidly calculating the metal liquid phase equation of state according to any one of claims 2 to 6, characterized in that: The Anderson algorithm is used to mix the input and output of multiple existing iteration steps within the solid phase melting volume interval, including: Let the current iteration step be the nth step, where n is an integer ≥ 1; s is the preset number of steps, which is an integer > 1; If n≥s, then the liquid phase cooling energy and the value of ΔG on the solid phase melting volume from the current iteration step to the previous s steps are mixed according to the Anderson algorithm to obtain the first updated liquid phase cooling energy function; If n<s, then the liquid phase cooling energy and the value of ΔG on the solid phase melting volume from the current iteration step to the previous n steps are mixed according to the Anderson algorithm to obtain the first updated liquid phase cooling energy function.

8. The rapid calculation method of the metal liquid phase equation of state according to claim 7, characterized in that: The step of mixing the liquid phase cooling energy and the value of ΔG on the solid phase melting volume from the current iteration step to the previous s steps according to the Anderson algorithm to obtain the first updated liquid phase cooling energy function includes: The value of the liquid phase cooling energy on the solid phase melting volume from the current iteration step forward s steps is recorded as x n , x n-1 , …, x n-s+1 The value of ΔG on the solid phase melting volume from the current iteration step to the previous s steps is recorded as F n , F n-1 , …, F n-s+1 , the first updated liquid phase cooling energy function is recorded as x n+1 ; x n+1 Expressed as Among them, α represents the mixing coefficient, and Respectively expressed as: and Among them, the combination coefficient β i By solving the equation system Aβ=b, the matrix element of A is determined as A ij =(F n -F n-i ,F n -F n-j ), the components of vector b are b i =(F n -F n-i ,F n ), i, j = 1,…, s-1.

9. The rapid calculation method of the metal liquid phase equation of state according to claim 8, characterized in that: The method of fitting the first updated liquid phase cold energy function within the solid phase melting volume interval using the fourth-order Poirier-Tarantola cold energy equation of state to obtain the second updated liquid phase cold energy function comprises: The data points mixed by the Anderson algorithm and limited to the solid phase melting volume interval are used as fitting inputs, and the data points are expressed as in, is the melting temperature T that depends on the pressure P m (P) corresponds to the solid phase melting volume; Taking the fourth-order Poirier-Tarantola cold energy equation of state as the fitting function, the second updated liquid phase cold energy function is fitted and output, and the second updated liquid phase cold energy function is used as the liquid phase cold energy function for the new iteration step; the value range of the liquid phase cold energy function for the new iteration step is the cold energy volume range required for constructing the mean field potential model.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for rapidly calculating the metal liquid phase equation of state as described in any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • GPU-based (graphics processing unit based) global equation-of-state parameter generating method

    CN104615581A

  • Rapid calculation method for solid solution alloy state equation

    CN116431957A