Introduction

The presence of magnetism has a strong implication for structural stability in a large variety of materials such as single-element magnetic transition metals, steels and numerous other classes of functional materials and high-entropy alloys for nuclear energy applications. Despite the crucial role of magnetism in the aforementioned materials, modeling efforts to provide a quantitative theory of the interplaying between magnetic and structural properties have been notably lacking. In a pioneering work by Hasegawa and Pettifor1, the authors showed that the presence of magnetism stabilizes the bcc phase of iron. A theoretical treatment of itinerant electron magnetism that highlighted the importance of quantum mechanical description of spin associated with electronic band structure from density functional theory (DFT) calculations has been reviewed by Kubler2 within Stoner formalism3. Using DFT calculations, the magnetic cluster expansion method has been developed to parametrize the adiabatic magnetic energy and investigate complex multi-interactions from electron spins4,5 as well as structural phase transition between BCC (Body Centered Cubic) and FCC (Face Centered Cubic) phases of Fe6. A constrained non-collinear magnetism approach developed within DFT formulation has been employed by Nguyen-Manh and co-workers to investigate the effect electron spin orientation on irradiated defect configurations and structural phase transition in Fe and Fe-Cr alloys3,7,8. A first ab-initio model considering the change in magnitude of magnetic moments in terms of temperature-induced longitudinal spin fluctuation for the exchange interaction parameters of the Hamiltonian for BCC-Fe and FCC-Ni has been proposed by Ruban et al.9 and further investigated by Ma et al.8,10. A combined Landau model with Heisenberg Hamiltonian has also been used for magnetic cluster expansion spanning a broad range of alloy compositions, and a large variety of chemical and magnetic configurations has been developed for FCC Fe–Ni alloys11. Most recently, a great interest has been paid for developing magnetic machine learning potentials using spin-polarized ab-initio database12,13,14 with Heisenberg Hamiltonian to model magnetic properties of Fe15, extended deep learning DFT Hamiltonian for magnetic superstructures16,17, and using the Materials Project database to study Mn-based stable magnetic materials18. Therefore, the key motivation of this paper is to propose a generalized formalism for investigating all important magnetic 3 d transition elements (Co, Cr, Fe, Mn, Ni) from the large constrained magnetic calculations DFT data base, and to propose an approach which could systematically study magnetic properties for such 3 d transition elements considering structural stability, non-collinear magnetism, longitudinal spin fluctuation and magneto-volume effects on equal footing.

In the scope of developing interatomic potentials for Molecular Dynamic (MD) simulations with magnetic contribution, a novel approach for magnetic interatomic potential for ferromagnetic Fe was proposed recently19 which was tested on transformation paths, vacancies, stresses, A15 and C15 lattices, elastic properties, dumbbell configurations and γ-surfaces, as well as predicting correctly the volume-magnetic moment relationship, including low-spin configuration for low volumes and high-spin configuration for larger volumes in FCC, demonstrating the existence of such functions and their predictability. The formulation makes use of the Generalized Universal Equation of States (GUES), which is based on the Universal Equation of States (UES) proposed by Rosé and Vinet20,21.

The approach follows a different viewpoint as compared to other attempts and formulations to simulate magnetism in molecular dynamics, since it does not follow the classical embedded atom method (EAM)22,23 or some of their modifications via additional terms24,25 in line with the Stoner model of band magnetism and the Ginzburg-Landau model. Neither the many-body force potentials26,27 share the formulation with the GUES, although it has some similarities with the non-collinear magnetic many-body potentials based on the Heisenberg-Landau Hamiltonians8 and the inter-site magnetic interaction parameters. Some works have used Machine Learning (ML) tools, showing the capability of this technique to incorporate collinear magnetic configurations for atomistic simulations13,28, while others opted for adding some neural network correction terms to the EAM method14. More recently, non-collinear magnetic atomic cluster expansions were trained with collinear and non-collinear magnetic configurations for iron, showing good predictability and transferability15.

As stated in our previous work19, the original UES established that there a unique function E(V) that describes the evolution of the energy for all solids with respect to volume variations:

$$E(V)={E}_{g}{e}^{-\frac{V-{V}_{g}}{{K}_{g}}}\left(1+\frac{V-{V}_{g}}{{K}_{g}}\right)$$
(1)

where Eg is the ground state energy, Vg is the volume at the ground state, and Kg the corresponding volume scaling function. Such a result has been extensively validated in the literature and widely applied to predict material properties related to volume29,30,31,32,33,34,35. Nevertheless, the UES is understood and generally applied for the ground state, as well as logically its experimental validation. The proposed GUES is more general and applies to any state, including different magnetic configurations. In other words, the results obtained in ref. 19 demonstrated, in the case Fe, that any crystal lattice in non-magnetic (NM) configuration as well as in ferromagnetic (FM) or antiferromagnetic (AFM) configurations, follows Eq. (1) if the crystal lattice and magnetic configuration are maintained. As an illustrative example, a deformed Body-centered cubic (BCC) lattice with dissimilar cell parameters \(\left\langle a,b,c\right\rangle\) (not strictly BCC as it is not cubic anymore) and a constant magnetic moment M in ferromagnetic configuration, will follow Eq. (1) for volume variations (therefore, with constant \(\langle b/a,c/a\rangle\) ratios) with certain Eg, Vg, and Kg values. Such Eg, Vg, and Kg values are not the global ground state, but they refer to metastable configurations (i.e. local ground states) of such lattice and magnetic configuration. That means that for such a BCC with constant \(\langle b/a,c/a\rangle\) ratios and magnetic moment M in ferromagnetic configuration, Eg is its minimum energy, which occurs at the volume Vg. Again, such Eg and Vg are not the (global) ground state energy and ground state volume, but the local ones for such \(\langle b/a,c/a\rangle\) structure.

The variables Eg, Vg, and Kg are therefore dependent on the magnetic moment, magnetic configuration, and the lattice. Nevertheless, in view of the development of an interatomic potential, a distance-dependent function ρ (scaled distance) was proposed in ref. 19 to substitute the “lattice” for “interatomic distances”:

$${\rho }_{{ij}}=\frac{{{r}_{{ij}}}^{3}}{V}$$
(2)

where rij is the distance between atoms i and j and V is the atomic volume of atom i according to the system volume. This variable ρij describes then the set of distances of a certain lattice. Such a set of scaled distances between atoms is different from one lattice to another, but the same for a certain lattice under different volumes. Therefore, it can be used as a descriptive variable of different configurations.

Finally, in this work, the expression of the energy E of the system with N atoms as a function of volume V of such a system is expressed as:

$$E=\mathop{\sum }\limits_{i=1}^{N}{E}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right){e}^{-\frac{{\boldsymbol{V}}-{\sum }_{i=1}^{N}{V}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)}{{\sum }_{i=1}^{N}{K}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)}}\left(1+\frac{{\boldsymbol{V}}-{\sum }_{i=1}^{N}{V}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)}{{\sum }_{i=1}^{N}{K}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)}\right)$$
(3)

where V is the volume of the system, the \({\boldsymbol{\rho }}=\langle {\rho }_{i1}{,\rho }_{i2}{\rho }_{i3},\ldots ,{\rho }_{{iN}},\ldots \rangle\) and \({\boldsymbol{M}}=\langle {\vec{M}}_{1}{,\vec{M}}_{2}{,\vec{M}}_{3},\ldots ,{\vec{M}}_{N},\ldots \rangle\), being \({\rho }_{{ij}}\) the scaled distance between atom i and j (as defined in Eq. (2)) and \({\vec{M}}_{j}\) the magnetic moment of atom j, respectively. It is worth noting that the calculation of the energy E is now more general than in our previous publication19, which was defined to provide the idea of the contribution to the energy of each individual atom, as it occurs on MD simulations for the EAM approach. In a certain system, these energy contributions were equal for an undistorted lattice under FM configuration, and therefore the energy was correctly computed for the analysed cases in ref. 19. Nevertheless, under the DFT approach, there is not a sum of energy-per-atom, but only the total energy of the system is calculated. Thus, in order to be more general in the current GUES, the equation of the energy of the system is now revised. Additionally, with this functional form, the energy dependence of the volume will always fulfill the UES as shown in Eq. (1) for any atomic arrangement, including those with atomic coordinates moving from ideal positions, as well as for different magnetic moments and spin orientations.

In our previously published paper19, even though a magnetic interatomic potential for ferromagnetic configurations was developed, two main aspects of that approach needed to be revisited in order to obtain a robust approach for magnetism:

  1. 1.

    The GUES was proposed differently for ferromagnetic and antiferromagnetic. In other words, the functions describing Eg, Vg, and Kg were different for different magnetic configurations. In this work, we have unified the GUES, where the same formulation is applied for non-magnetic, ferromagnetic, and antiferromagnetic configurations, where the difference is the existence of different contributions in the same formulation, rather than different parameters. This opens the door to propose a formulation for non-collinear molecular dynamic simulations.

  2. 2.

    The GUES was proved only for Fe in cubic structures, and a more complete analysis in other elements needs to be carried out. In this case, in addition to completing Fe for the hexagonal lattices, we have selected Cr, Mn, Co and Ni (all for cubic and hexagonal lattices), which correspond to the previous and posterior atomic numbers in the periodic table, also with a variety of ground states which corresponded to magnetic configurations including non-magnetic, ferromagnetic and antiferromagnetic in different BCC, FCC (Face Centered Cubic) and HCP (Hexagonal Close Packed) lattices. Therefore, the unified approach does not only refer to the magnetic state, as stated in the previous point, but also to the crystal lattice in different elements, since HCP structures are also validated under this approach, making the GUES now applicable to hexagonal lattices.

Therefore, it is not the scope of this work to propose a new interatomic potential, but to modify the GUES to include a non-collinear term, which can include FM and AFM, opening the door to unify the formulation for any magnetic configuration, and at the same time, test this approach with other elements, in addition to Fe. These results will be the starting point for developing interatomic potentials for robust magnetic molecular dynamics simulations.

Results

Unified GUES

The unified formulations for different magnetic configurations are presented hereinafter, along with the magnetic and distance-dependent functions which are therefore introduced (corresponding to previous point 1), and the extension of the GUES to other elements is shown afterwards (corresponding to previous point 2), making use of such unified formulation.

In19, the parameters of Eq. (3) Eg, Vg, and Kg were defined as:

$$\left\{\begin{array}{c}{E}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)={E}_{0}^{i}\left({\boldsymbol{\rho }}\right)+{\Phi }_{E}({M}_{i})+\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{M}\left({\rho }_{{ij}}\right){{\rm{\psi }}}_{E}\left({M}_{i}\cdot {M}_{j}\right)\\ {V}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)={V}_{0}^{i}\left({\boldsymbol{\rho }}\right)+{\Phi }_{V}({M}_{i})+\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{M}\left({\rho }_{{ij}}\right){{\rm{\psi }}}_{V}\left({M}_{i}\cdot {M}_{j}\right)\\ {K}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)={K}_{0}^{i}\left({\boldsymbol{\rho }}\right)+{\Phi }_{K}({M}_{i})+\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{M}\left({\rho }_{{ij}}\right){{\rm{\psi }}}_{K}\left({M}_{i}\cdot {M}_{j}\right)\end{array}\right.$$
(4)

where the subscript \(j\ne i\) represents all neighbor atoms of atom i. It is worth noting that, formally, j = 1,…,N with \(j\ne i\) runs over the whole system of N atoms. An interatomic potential derived from the GUES will consider logically the closest atoms and not all atoms in the system. In our previous work, where an interatomic potential was derived only for the ferromagnetic case in Fe, the cutoff distance was for \({\rho }_{{ij}} < 40\), which according to Eq. (2) is approximately 7.7 Å for the BCC case, corresponding to 10 nearest neighbors or equivalently around 170 atoms. The functions with 0-subscript are dependent on the distances only, but not on the magnetic moment nor magnetic configuration. It is worth noting that the E0, V0 and K0 parameters does not include any angular dependency, as for instance the Modified Embedded Atom Model (MEAM)36,37,38, since the predicted energy by using only distance dependency between pair of atoms in our work provides enough accuracy as it will be shown later (in subheading “Error analysis of the GUES”). The \(\Phi\)-functions are dependent only on the magnetic moment magnitude Mi of the atom being evaluated i. As pointed out, in the original formulation, these functions were different for the FM and AFM. Similarly occurred with the \({\rm{\psi }}\)-functions, which were different in the FM and AFM cases, although in this case, they are multiplied by a function dependent on the distance between atoms i and j. In this revised GUES, both \(\Phi\)-functions and \({\rm{\psi }}\)-functions are now the same for FM and AFM cases. Irrespective of the magnetic function, no orientation was needed as they were different functions or formulations for FM and AFM, and the parameters Mi and Mj were only the magnitude of the magnetic moments \({\vec{M}}_{i}\) and \({\vec{M}}_{j}\), respectively, but not information about the orientation of the magnetic moment was required. Equation (4) has therefore been reformulated, taking the FM configuration as a base case, where all magnetic moments are aligned, and additional terms for non-collinear magnetic moments must be added. In other words, the formulation in Eq. (4) remains the same for FM, to be consistent with the original results, and the additional terms should be dependent on the angle between different magnetic moments, with the only condition that such terms become 0 for angles equal to 0 (i.e., the FM case). The following formulation responds to such requirements and replaces Eq. (4) to account for any magnetic configuration, rather than only the FM configuration :

$$\left\{\begin{array}{c}{E}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)={E}_{0}^{i}\left({\boldsymbol{\rho }}\right)+{\Phi }_{E}({M}_{i})+\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{M}\left({\rho }_{{ij}}\right){{\rm{\psi }}}_{E}\left({M}_{i}\cdot {M}_{j}\right)+\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{{nC}}\left({\rho }_{{ij}}\right){\Theta }_{E}\left({M}_{i}\cdot {M}_{j}\right){\left(\sin \left(\frac{{\alpha }_{{ij}}}{2}\right)\right)}^{2}\\ {V}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)={V}_{0}^{i}\left({\boldsymbol{\rho }}\right)+{\Phi }_{V}({M}_{i})+\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{M}\left({\rho }_{{ij}}\right){{\rm{\psi }}}_{V}\left({M}_{i}\cdot {M}_{j}\right)+\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{{nC}}\left({\rho }_{{ij}}\right){\Theta }_{V}\left({M}_{i}\cdot {M}_{j}\right){\left(\sin \left(\frac{{\alpha }_{{ij}}}{2}\right)\right)}^{2}\\ {K}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)={K}_{0}^{i}\left({\boldsymbol{\rho }}\right)+{\Phi }_{K}({M}_{i})+\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{M}\left({\rho }_{{ij}}\right){{\rm{\psi }}}_{K}\left({M}_{i}\cdot {M}_{j}\right)+\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{{nC}}\left({\rho }_{{ij}}\right){\Theta }_{K}\left({M}_{i}\cdot {M}_{j}\right){\left(\sin \left(\frac{{\alpha }_{{ij}}}{2}\right)\right)}^{2}\end{array}\right.$$
(5)

where the parameters \({E}_{0}^{i}\), \({V}_{0}^{i}\) and \({K}_{0}^{i}\) are:

$$\left\{\begin{array}{c}{E}_{0}^{i}\left({\boldsymbol{\rho }}\right)={\varepsilon }_{0,0}+{\varepsilon }_{0,1}\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{0}\left({\rho }_{{ij}}\right)\\ {V}_{0}^{i}\left({\boldsymbol{\rho }}\right)={\nu }_{0,0}+{\nu }_{0,1}\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{0}\left({\rho }_{{ij}}\right)\\ {K}_{0}^{i}\left({\boldsymbol{\rho }}\right)={\kappa }_{0,0}+{\kappa }_{0,1}\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{0}\left({\rho }_{{ij}}\right)\end{array}\right.$$
(6)

and \({\omega }_{0}\) and \({\omega }_{M}\) are distance-dependent functions, which is common for the three parameters functions \({E}_{0}^{i}\), \({V}_{0}^{i}\) and \({K}_{0}^{i}\) are as it can be seen in Eqs. (5) and (6). The values and physical meaning of the parameters \({\varepsilon }_{\mathrm{0,0}}\), \({\varepsilon }_{\mathrm{0,1}}\), \({\nu }_{\mathrm{0,0}}\), \({\nu }_{\mathrm{0,1}}\), \({\kappa }_{\mathrm{0,0}}\) and \({\kappa }_{\mathrm{0,1}}\) is explained later (in subheading “Non-magnetic contributions of the GUES”). The new \({\omega }_{{nC}}\) in Eq. (5) (as compared to initial GUES formulation) is another distance-dependent function, which scales the influence of close atoms, decreasing with the interatomic distance. The \(\Theta\)-functions, also new in this work, are also dependent on the magnitude of the magnetic moments Mi and Mj, of atoms i and j, respectively. The angle between magnetic moments \({\vec{M}}_{i}\) and \({\vec{M}}_{j}\) is denoted \({\alpha }_{{ij}}\), and it is introduced in the term \({\rm{s}}{{\rm{in}}\left(\frac{{\alpha }_{{ij}}}{2}\right)}^{2}\). This term is the simplest function to account for magnetic angular dependence, allowing also for the transition between the previous FM and AFM formulations at19 and incorporating at the same time non-collinear contributions. In other words, for the FM case, the collinear magnetic moments do not contribute to the non-collinear extra terms, as this term is equal to 0. Therefore, for pure collinear FM configurations, the formulation is consistent with the previous interatomic potential. Also, in the AFM configuration, only half of the atoms contribute to the non-collinear terms, where previous Ψ-functions in the AFM case at19 (which were initially different in our previous work to the Ψ-functions for the FM case) arise now as the addition of current Ψ-functions and Θ-functions, multiplied by the corresponding distance dependence functions ωM and ωnC, respectively, in their respective atomic neighbors. For the non-collinear (fully disordered magnetic moments), any atom can actually contribute to each other in the non-collinear term. With this, the AFM configuration is, mathematically, a particular case of the non-collinear configuration.

In addition to this, this term can be expressed as \(s{in}{(\frac{{\alpha }_{ij}}{2})}^{2}=\frac{1}{2}(1-\cos ({\alpha }_{ij}))\), which can be related to the Heisenberg model description of the angular contribution between different spins15. In such a model, that contribution of the energy is multiplied by the distance-dependent exchange interactions (usually denoted as Jij), which can be related to the distance dependence functions \({\omega }_{{nC}}\) in Eq. (5). Therefore, the proposed formulation is consistent with Heisenberg model, but also with the Ginzburg-Landau approximation39 which describes the FM contribution to the energy in the form of even polynomials, as the Ψ-functions actually behave in our approach.

Error analysis of the GUES

For this subheading, it is important to notice the difference between the GUES and a magnetic interatomic potential (MIP) based on the GUES. The GUES is a formulation, independent of the MIP, which describes the energy of a system. The MIP is the set of motion equations that allows for MD simulations. In the same way that a Heisenberg-Landau Hamiltonian is the formulation for the energy, and a many-body potential based on the Heisenberg-Landau Hamiltonian11, is the actual interatomic potential for MD simulations. Also, the Embedded Atom Model is the formulation, and the Finnis-Sinclar potentials are the actual interatomic potentials40.

With this in mind, the distance-dependent functions \({\omega }_{0}({\rho }_{ij})\), \({\omega }_{M}({\rho }_{ij})\) and \({\omega }_{{nC}}({\rho }_{ij})\) do not need to be described at this point to prove the validity of the GUES for different elements (they would need to be developed for MD simulations). The database is constructed in a way that it can be separated in Eq. (5) to allow for energy calculations in different structures. For a certain structure, cubic or hexagonal, with lattice parameters \(\left\langle a,b,c\right\rangle\) and a fixed and constant magnitude of the magnetic moments with the AFM configuration as described in the previous subheading with alternate spin up—spin down layers in the (0,0,1) or (0,0,0,1) for cubic and hexagonal-based lattices, respectively, Eq. (5) can be rewritten as:

$$\left\{\begin{array}{c}{E}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)={\varepsilon }_{0,0}+{\varepsilon }_{0,1}{\Omega }_{0}+{\Phi }_{E}({M}_{i})+{\Omega }_{M}{{\rm{\psi }}}_{E}\left({{M}_{i}}^{2}\right)+{\Omega }_{{nC}}{\Theta }_{E}\left({{M}_{i}}^{2}\right){\left(\sin \left(\frac{\alpha }{2}\right)\right)}^{2}\\ {V}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)={\nu }_{0,0}+{\nu }_{0,1}{\Omega }_{0}+{\Phi }_{V}({M}_{i})+{\Omega }_{M}{{\rm{\psi }}}_{V}\left({{M}_{i}}^{2}\right)+{\Omega }_{{nC}}{\Theta }_{V}\left({{M}_{i}}^{2}\right){\left(\sin \left(\frac{\alpha }{2}\right)\right)}^{2}\\ {K}_{g}^{i}\left({\boldsymbol{\rho }},{\boldsymbol{M}}\right)={\kappa }_{0,0}+{\kappa }_{0,1}{\Omega }_{0}+{\Phi }_{K}({M}_{i})+{\Omega }_{M}{{\rm{\psi }}}_{K}\left({{M}_{i}}^{2}\right)+{\Omega }_{{nC}}{\Theta }_{K}\left({{M}_{i}}^{2}\right){\left(\sin \left(\frac{\alpha }{2}\right)\right)}^{2}\end{array}\right.$$
(7)

where

$$\left\{\begin{array}{c}{\Omega }_{0}=\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{0}\left({\rho }_{{ij}}\right)\\ {\Omega }_{M}=\mathop{\sum }\limits_{j\ne i}^{N}{\omega }_{M}\left({\rho }_{{ij}}\right)\\ {\Omega }_{{nC}}=\sum _{j\in \Gamma }{\omega }_{{nC}}\left({\rho }_{{ij}}\right)\end{array}\right.$$
(8)

and \(\Gamma\) denotes the neighbors with different spin orientation to atom i, with the spin non-collinear angle denoted \(\alpha\). For a spin up atom i, the angle \(\alpha\) in the alternate spin up—spin down layers in the (0,0,1) or (0,0,0,1) for cubic and hexagonal-based lattices, respectively, will be 0 for all other spin up atoms, and 180 ° for all spin down atoms. With this, the atoms with the same spin orientation to atom i will not have a contribution to the non-collinear term, as they are multiplied by \({\left(\sin \left(0\right)\right)}^{2}\). Therefore, the fitted values of Ωnc are valid for any magnetic configuration from FM to AFM, as described in the database (B2-like, L10-like, and Bh-like structures for cubic and hexagonal, respectively) with the α angle rotating between 0 ° and 180 °.

Therefore, the expressions of \({\omega }_{0}\), \({\omega }_{M}\) and \({\omega }_{{nC}}\) are not the central point in this paper, since they are actually the functions needed for the molecular dynamics simulations, and will be considered in subsequent works. The expression for \({\Omega }_{0}\), \({\Omega }_{M}\), \({\Omega }_{{nC}}\) can be then expressed as a function of \(\langle b/a,c/a\rangle\), without the need of \({\omega }_{0}\), \({\omega }_{M}\) and \({\omega }_{{nC}}\), as well as \(\Phi\)-, \({\rm{\psi }}\)- and \(\Theta\)- magnetic functions can be expressed in terms of \({{M}_{i}}^{2}\) since for these functions, the magnetic moment magnitudes are constant for each case, being in that case \({\boldsymbol{M}}=\langle {\vec{M}}_{i}{,\vec{M}}_{i}{,\vec{M}}_{i},\ldots ,{\vec{M}}_{i},\ldots \rangle\).

From the original proposal of the GUES in ref. 19, it was proved that, in the case of Fe, for any fixed lattice and magnetic magnitude and configuration, there exist values of \(\langle {E}_{g},{V}_{g},{K}_{g}\rangle\) which describe the variation of the energy by means of the atomic volume, following Eq. (1). These values have been fitted in this work by all the elements considered, namely, Co, Cr, Fe, Mn and Ni, for all cubic and hexagonal based lattices, with NM, FM and AFM configurations. The predictions of the GUES by using this fitting are shown in some specific cases in Fig. 1 for NM, FM, and AFM magnetic configurations, as indicated in the figure. The figures show the DFT calculated energies, and the corresponding function in Eq. (1), each of them calculated after the corresponding fitting of \(\langle {E}_{g},{V}_{g},{K}_{g}\rangle\). Note that any other case non-displayed in the figure (for the sake of clarity) has been checked carefully and follows the same trend, concluding that, for any lattice and magnetic configuration, there exist values of \(\langle {E}_{g},{V}_{g},{K}_{g}\rangle\) which capture the variation of the energy by means of the atomic volume.

Fig. 1: GUES description of the volume-energy variation of Co, Cr, Fe, Mn, and Ni for NM, FM, and AFM.
figure 1

Cohesive energy and fitting to the Universal Equation of States as shown in Eq. (3) for different element, crystal lattices, and magnetic configurations, as indicated in the figure. Note that x-axis is shifted and overlapped for different pictures. Legend is common for all illustrations. BCC, FCC, and HCP corresponding structures are indicated in the legend.

The complete comparison of the predictions for all data is shown in a scatter plot with DFT data vs. GUES prediction in Fig. 2 by numerically fitting individually for each lattice and magnetic moment the corresponding set of Eg, Vg and Kg parameters (including the data shown in Fig. 1). The results support the validity of the GUES with an RMSE = 4.22 10−6 eV (Root Mean Squared Error) corresponding to all data considered, showing good agreement between DFT and GUES prediction.

Fig. 2: Prediction of the energy with the GUES for Co, Cr, Fe, Mn, and Ni, for NM, FM, and AFM.
figure 2

DFT calculated cohesive energy vs. GUES predicted cohesive energy with fitted Eg, Vg, and Kg, for Co, Cr, Fe, Mn, and Ni, in non-magnetic, ferromagnetic, and antiferromagnetic for all cubic- and hexagonal-based lattices. The RMSE = 4.22 10−6 eV correspond to all data considered.

Non-magnetic contributions of the GUES

Once the reliability of the GUES in predicting energies is proven, it is now the turn to analyse the \(\langle {E}_{g},{V}_{g},{K}_{g}\rangle\) behavior of each case. The non-magnetic interactions are considered first, which are the simplest case, and allow constructing the subsequent magnetic contributions. It is expressed in terms of \({\Omega }_{0}\) for each of the elements (Eq. (8)), and correspond to the DFT data with magnetic magnitude equal to 0. The fitted \(\left\langle {E}_{g},{V}_{g},{K}_{g}\right\rangle\) parameters which have been used in Fig. 1 (top illustration) using Eq. (1) for Co, Cr, Fe, Mn, and Ni, are now displayed as a function of the ratios \(\langle b/a,c/a\rangle\) for cubic- and hexagonal-base lattices, whenever it corresponds. The results are displayed in Fig. 3 for all elements, where the top row corresponds to cubic structures and the bottom row corresponds to hexagonal lattices. The fitted values for \({\Omega }_{0}\) are in the supplementary material for all elements. It is worth noting that \({\Omega }_{0}\) functions are not uniquely defined, since the non-magnetic contribution is scaled with ε0,0, ε0,1, ν0,0, ν0,1, κ0,0, and κ0,1 parameters, which are shown in Table 1. In this work, the \({\Omega }_{0}\) selected so that its value in the FCC lattice \(\langle b/a=1,c/a=\sqrt{2}\rangle\) equals to 0, and in the BCC lattice \(\langle b/a=1,c/a=1\rangle\) equals to 1. Therefore, the \({\varepsilon }_{\mathrm{0,0}}\) is the ground state energy for non-magnetic configuration of the FCC lattice, whereas \({\varepsilon }_{\mathrm{0,0}}+{\varepsilon }_{\mathrm{0,1}}\) is the ground state energy for non-magnetic configuration of the BCC lattice. Equivalently, ν0,0 is the ground state volume of BCC, and ν0,0 + ν0,1 is the ground state of FCC. On the other hand, κ0,0 is related to the bulk modulus Bg ground state19 since the following relationship applies:

$${B}_{g}(\rho ,M)=-\frac{{E}_{g}(\rho ,M){V}_{g}(\rho ,M)}{{{K}_{g}(\rho ,M)}^{2}}$$
(9)

which, for the BCC case, is \({B}_{g}=-\frac{{{\rm{\varepsilon }}}_{\mathrm{0,0}}{{\rm{\nu }}}_{\mathrm{0,0}}}{{{{\rm{\kappa }}}_{\mathrm{0,0}}}^{2}}\), while for the FCC case its bulk modulus ground state is \({B}_{g}=-\frac{({{\rm{\varepsilon }}}_{\mathrm{0,0}}+{{\rm{\varepsilon }}}_{\mathrm{0,1}})({{\rm{\nu }}}_{\mathrm{0,0}}+{{\rm{\nu }}}_{\mathrm{0,1}})}{{({{\rm{\kappa }}}_{\mathrm{0,0}}+{{\rm{\kappa }}}_{\mathrm{0,1}})}^{2}}\). Figure 3 shows a relatively similar behavior of Co, Fe, Mn, and Ni in the non-magnetic state in both cubic and hexagonal lattices, where Cr is clearly dissimilar to the other elements.

Fig. 3: Distance dependent Ω0 functions of the GUES.
figure 3

Ω0 functions (Eq. (8)) describing the non-magnetic contribution for a Co, b Cr, c Fe, d Mn, and e Ni. Solid white dots indicate the Ω0 = 1 value, which correspond to BCC lattice, solid square dots indicate the Ω0 = 0 which correspond to FCC lattice, and solid hexagonal dots corresponds to perfect HPC lattice.

Table 1 Parameters of the non-magnetic contribution to Eg, Vg, and Kg for all elements considered, as expressed in Eq. (7)

Self-magnetic contribution of the GUES

Following the sequence of functions in Eq. (5), the magnetic functions ΦE(M), ΦV(M), and ΦK(M) for all elements are now considered. These functions account for the contribution to the energy of an atom, irrespective of the magnetic state of the rest of the atoms or their interaction with such an atom. Particularly, it represents the nature of the magnetic moment, and not the magnetic ordering of the system, resembling the on-site energy in the Heisenberg-Landau Hamiltonian11. In other words, in a simulation cell with all magnetic moments equal to 0 except for an atom, such an atom would still induce an effect on Eg, Vg, and Kg, and therefore on the energy of the system. Further, this contribution is also independent of the distances ρ between such an atom and the other atoms, or in other words, the variation on Eg, Vg, and Kg induced by the change in magnetic moment of an atom is the same, irrespective of the crystal lattice and volume, since ρ and V are not part of Φ-functions.

Figure 4 shows all Φ-functions for all elements. In Fig. 4a, the ΦE(M) function is depicted, showing its clear influence on the ferromagnetic behavior of each of the elements. For instance, Co and Fe display minimum values of ΦE(M) around 1.64 μb and 2.35 μb, respectively, which is very close to the magnitude of the magnetic moment providing the minimum energy in ferromagnetic configuration, which occurs at 1.75 μb and at 2.25 μb, respectively. Note that the minimum energy (and the corresponding magnitude of the magnetic moment) may not be calculated in the DFT database since the calculations are performed in fixed c/a and b/a ratios, volumes, and magnetic moments. Also, Ni shows a minimum value of ΦE(M) at 0.57 μb, whereas the minimum energy of the DFT database lies in 0.5 μb for the ferromagnetic case. On the other hand, Mn and Cr show mainly positive values of ΦE(M), increasing in this way the energy of the system for magnetic configurations, in agreement with the minimum energy for ferromagnetic configuration, which occurs for M = 0, i.e., non-magnetic. Similarly, ΦV(M), which stands for the volume behavior with magnetic moment, has a very constantly increasing value with magnetic moment for all elements. This means that the increase of magnitude of the magnetic moment also increases the volume at which the minimum energy occurs. This is a common feature in the DFT database for all elements considered, where indeed the non-magnetic ground state has a lower volume than magnetic configurations. Other previous results confirm this tendency41,42,43,44,45, where volume-dependent energy shows also larger volumes for FM and AFM configurations, as compared to NM state. The influence of ΦK(M) is much more subtle since it is related to the bulk modulus Bg through Eq. (9). It is worth noting that every lattice (defined by the set of distances ρ) and magnetic moment M has a corresponding bulk modulus. Following this equation, the influence of ΦK(M) on the bulk modulus is much more complex and related also to ΦE(M) and ΦV(M).

Fig. 4: Magnetic dependent Φ-functions of the GUES.
figure 4

Magnetic functions a ΦE, b ΦV and c ΦK for Co, Cr, Fe, Mn and Ni. Note that the legend is common for all figures and is indicated only in (a), and similarly, the x-axis is common for all figures but is only indicated in (c).

The functional forms of ΦE, ΦV, and ΦK were described in our previous paper19, and are expressed in terms of a Taylor series expansion of an unknown even function. Therefore, they are even polynomials as a function of the magnitude of the magnetic moment M. This functional form, share the functional form of the Ginzburg-Landau approximation which is a sum of a second-order and fourth-order terms25,39, which describes the Stoner model by relating the order parameter (magnetization) to the microscopic properties of the Stoner model, such as the band structure and exchange interactions. It was shown in our previous paper19 that order 4 may be sufficient for FM BCC Fe, or small deviations, but it could not cover all the different lattices, demanding therefore additional terms. In agreement to our initial conclusion, we observe indeed that at including the extended database in hexagonal lattices Fe, as well as all cubic and hexagonal lattices in Co, Cr, Mn, and Ni, the order 2 and order 4 terms cannot fit the DFT calculations, and they need at least the M6 additional term. The magnetic functions proposed here, as well as the Ginzburg–Landau model, suggest the existence of unknown close functions, whose series expansion coefficients are the actual parameters fitted in Eqs. (10 and 11), as well as the so-called α and β parameters, multipliers of M2 and M4 respectively of Ginzburg–Landau model24,39.

$$\left\{\begin{array}{c}{\Phi }_{E}\left(M\right)={\varepsilon }_{2,0}^{\Phi }{M}^{2}+{\varepsilon }_{4,0}^{\Phi }{M}^{4}+{\varepsilon }_{6,0}^{\Phi }{M}^{6}+O({M}^{8})\\ {\Phi }_{V}(M)={\nu }_{2,0}^{\Phi }{M}^{2}+{\nu }_{4,0}^{\Phi }{M}^{4}+{\nu }_{6,0}^{\Phi }{M}^{6}+O({M}^{8})\\ {\Phi }_{K}(M)={\kappa }_{2,0}^{\Phi }{M}^{2}+{\kappa }_{4,0}^{\Phi }{M}^{4}+{\kappa }_{6,0}^{\Phi }{M}^{6}+O({M}^{8})\end{array}\right.$$
(10)

The \(\varepsilon\), \(\nu\), \(\kappa\) parameters for \(\Phi\) for all elements are displayed in Table 2.

Table 2 Values of the \(\varepsilon\), \(\nu\), \(\kappa\) parameters for \(\varPhi\) functions for Co, Cr, Fe, Mn and NiParameter (units)

Ferromagnetic contribution of the GUES

A corresponding analysis of the one performed for Ω0 in Fig. 3 can be now performed for the ΩM distance-dependent function, which, together with the \({\rm{\psi }}\)- functions, accounts for the contribution of the magnitudes of the magnetic moments, corresponding to a ferromagnetic configuration. It is worth noting that, indeed, the case of ferromagnetism is not defined by only the contribution of ΩM and the \({\rm{\psi }}\)- functions, as explained above, since the magnitude of the magnetic moment of each atom deeply modifies the energy of the system, independently of the orientation of the magnetic moment of the other atoms.

The ΩM functions are shown in Fig. 5 for all elements and the fitted values for ΩM are in the supplementary material for all elements. As in the case of Ω0, the ΩM functions are not uniquely defined since they are always multiplied by \({\rm{\psi }}\)- functions, and therefore they can be scaled accordingly to the \({\rm{\psi }}\)- functions. We have chosen ΩM = 1 for the BCC case as in the case of Ω0. Note that, for the ΩM case, its value in the FCC cannot be scaled to 0 as in the case of Ω0. In this case, Co, Cr, and Fe show similar behavior, which does not mean that the ferromagnetic behavior must be similar, since this goes in combination with \({\rm{\psi }}\)- functions. On the other side, Mn and Ni have no relationship with the other elements. Figure 6 shows the corresponding \({\rm{\psi }}\)- functions, which together with ΩM finally define the ferromagnetic configuration. There are no simple conclusions to extract from these functions, which show complex and different behaviors. Nevertheless, an analysis of the contribution of each function is performed later.

Fig. 5: Distance dependent ΩM functions of the GUES.
figure 5

ΩM functions (Eq. (8)) describing the magnitude of the magnetic contribution for a Co, b Cr, c Fe, d Mn, and e Ni. Solid white dots indicate the ΩM = 1 value which correspond to BCC lattice, solid square dots indicate FCC lattice, and solid hexagonal dots corresponds to perfect HPC lattice.

Fig. 6: Magnetic dependent Ψ-functions of the GUES.
figure 6

Magnetic functions a ΨE, b ΨV, and c ΨK for Co, Cr, Fe, Mn and Ni. Note that the legend is common for all figures and is indicated only in (a), and similarly, the x-axis is common for all figures but is only indicated in (c).

The functional forms of \(\Psi\)E, \(\Psi\)V and \(\Psi\)K were described in our previous paper19, and are expressed in terms of a Taylor series expansion of an unknown even function. This proposed formulation is consistent with the Heisenberg-Landau Hamiltonian used for magnetic cluster expansion simulations, where the non-magnetic contribution of the GUES is related to the NM cluster expansion coefficients, while the Φ-functions correspond to the Landau coefficients and the Ψ-functions, represent the lattice magnetic configuration described by the interlattice-site Heisenberg magnetic interaction parameters11.

$$\left\{\begin{array}{c}{\Psi }_{E}\left(M\right)={\varepsilon }_{2,0}^{\Psi }{M}^{2}+{\varepsilon }_{4,0}^{\Psi }{M}^{4}+{\varepsilon }_{6,0}^{\Psi }{M}^{6}+O({M}^{8})\\ {\Psi }_{V}(M)={\nu }_{2,0}^{\Psi }{M}^{2}+{\nu }_{4,0}^{\Psi }{M}^{4}+{\nu }_{6,0}^{\Psi }{M}^{6}+O({M}^{8})\\ {\Psi }_{K}(M)={\kappa }_{2,0}^{\Psi }{M}^{2}+{\kappa }_{4,0}^{\Psi }{M}^{4}+{\kappa }_{6,0}^{\Psi }{M}^{6}+O({M}^{8})\end{array}\right.$$
(11)

The \(\varepsilon\), \(\nu\), \(\kappa\) parameters for \(\Psi\) functions for all elements are displayed in Table 3.

Table 3 Values of the \(\varepsilon\), \(\nu\), \(\kappa\) parameters for \(\varPsi\) functions for Co, Cr, Fe, Mn, and Ni

Non-collinear contribution of the GUES

The next Figs. 7 and 8 show the ΩnC distance-dependent functions and θ magnetic-dependent functions, which capture the contribution for non-collinear magnetic moments, in the same way as previous figures (Figs. 5 and 6) showed for the collinear magnetic moments. The fitted values for ΩnC are in the supplementary material for all elements. Similarly, as for previous omegas, ΩnC is always scaled to obtain ΩnC = 1 for the BCC case. Note that, for the ΩnC case, its value in the FCC cannot be scaled to 0 as in the case of Ω0. It is worth noting that ΩnC and θ are indeed fitted for AFM configuration, where the non-collinearity is given by the angle αij between magnetic moments with different orientations. Although the non-collinearity is indeed driven by such angle, the magnitude of the non-collinear contribution is defined ΩnC and θ functions.

Fig. 7: Distance dependent ΩnC functions of the GUES.
figure 7

ΩnC functions (Eq. (8)) describing the non-collinear magnetic contribution for a Co, b Cr, c Fe, d Mn and e Ni. Solid white dots indicate the ΩnC = 1 value, which correspond to BCC lattice, solid square dots FCC lattice, and solid hexagonal dots corresponds to perfect HPC lattice.

Fig. 8: Magnetic dependent θ-functions of the GUES.
figure 8

Magnetic functions a θE, b θV and c θK for Co, Cr, Fe, Mn and Ni. Note that the legend is common for all figures and is indicated only in (a), and similarly, the x-axis is common for all figures but is only indicated in (c).

With this, it is easy to see in the case of Cr, when both Figs. 7 and 8 are combined, that Cr has a strong antiferromagnetic contribution for BCC, since ΩnC has its maximum value for BCC whereas ΘE is strongly negative, explaining in this way the antiferromagnetic behavior of Cr in its global ground state, which has −4.05 eV at 1.5 μb. This contrasts with the energy of the ferromagnetic configuration of BCC, which is −3.37 eV of the ferromagnetic contribution due to the positive values of ΨE at the same magnitude of the magnetic moment. The same effect occurs for Mn, due to positive values of ΨE and negative values of ΘE, providing a cohesive energy of −3.79 eV for ferromagnetic configuration and −3.83 eV for antiferromagnetic configuration in the BCC lattice. The difference between both magnetic configurations is lower, in concordance with the behavior of ΨE and ΘE in Mn (see Figs. 6 and 8). For the same reason, the positive values of ΘE for Co, Fe, and Ni suggest that the AFM configuration will not show lower values than the ferromagnetic configuration, as indeed occurs.

Also, the behavior of ΘV (responsible for the volume of antiferromagnetic configuration), shows a lower volume for the BCC lattice for antiferromagnetic configuration than the non-magnetic configuration for Cr and Mn, since this occurs for Cr at 11.75 Å3 for the non-magnetic configuration and 11.25 Å3 for the antiferromagnetic configuration. In the case of Mn, the lower energy of BCC for non-magnetic occurs at 11.25 Å3 and 10.75 Å3 for the antiferromagnetic configuration.

The functional forms of \({\rm{\theta }}\)E, \({\rm{\theta }}\)V and \({\rm{\theta }}\)K are expressed in terms of a Taylor series expansion of an unknown even function and can be seen in Eq. (12). Therefore, they are even polynomials as a function of the magnitude of the magnetic moment M. The order 6 of the exponent is selected since additional terms does not provide significant improvement on the fitting, avoiding also overfitting of the functions.

$$\left\{\begin{array}{c}{{\rm{\theta }}}_{E}\left(M\right)={\varepsilon }_{2,0}^{{\rm{\theta }}}{M}^{2}+{\varepsilon }_{4,0}^{{\rm{\theta }}}{M}^{4}+{\varepsilon }_{6,0}^{{\rm{\theta }}}{M}^{6}+O({M}^{8})\\ {{\rm{\theta }}}_{V}(M)={\nu }_{2,0}^{{\rm{\theta }}}{M}^{2}+{\nu }_{4,0}^{{\rm{\theta }}}{M}^{4}+{\nu }_{6,0}^{{\rm{\theta }}}{M}^{6}+O({M}^{8})\\ {{\rm{\theta }}}_{K}(M)={\kappa }_{2,0}^{{\rm{\theta }}}{M}^{2}+{\kappa }_{4,0}^{{\rm{\theta }}}{M}^{4}+{\kappa }_{6,0}^{{\rm{\theta }}}{M}^{6}+O({M}^{8})\end{array}\right.$$
(12)

The \(\varepsilon\), \(\nu\), \(\kappa\) parameters for \({\rm{\theta }}\) functions for all elements are displayed in Table 4:

Table 4 Values of the \(\varepsilon\), \(\nu\), \(\kappa\) parameters for \(\theta\) functions for Co, Cr, Fe, Mn and Ni

Factor analysis and predictability of the GUES

This previous analysis, and the contribution of each term of Eq. (7) can be also visualized by means of the factor analysis in Fig. 9. In this figure, it is shown the values for Eg. Vg and Kg of the non-magnetic term of Eq. (7) due to Ω0 and the corresponding \({\varepsilon }_{\mathrm{0,0}}\), \({\varepsilon }_{\mathrm{0,1}}\), \({\nu }_{\mathrm{0,0}}\), \({\nu }_{\mathrm{0,1}}\),\({\kappa }_{\mathrm{0,0}}\) and \({\kappa }_{\mathrm{0,1}}\) values, which are shown with black dots at M = 0 for all cubic and hexagonal lattices. Then, the magnetic term due to Φ-functions with blue dots, only dependent on the magnitude of the magnetic momenta and it is insensitive to magnetic ordering, without influence of other atoms, since it is independent of the lattice, and therefore with the same value of any lattice, with only variation with respect to magnitude of the magnetic moment. It is followed by the contribution of the ΩM·Ψ-functions, which is dependent on the magnitude of the magnetic moment and the lattice, which is shown with an area in red color, covering all lattices for each magnitude of the magnetic moment. Finally, the ΩnC·Θ-functions contribution for the non-collinear configuration, which is shown with a green colored area, also covers different lattices. In the figure, the images (a–e) are the Eg factor contributions for Co, Cr, Fe, Mn and Ni, the images (f–k) are the Vg factor contributions for Co, Cr, Fe, Mn, and Ni, and images (l–p) are the Kg factor contributions for Co, Cr, Fe, Mn, and Ni, respectively. Note that the maximum values of the magnetic moments vary in each element and magnetic configuration, since the DFT convergence fails for lattices and configurations far from equilibrium, and are discarded from the analysis.

Fig. 9: Contribution of each function to the GUES.
figure 9

Contribution of the non-magnetic functions, magnetic, ferromagnetic and non-collinear into Eg, Vg, and Kg for Co (a, f, l), Cr (b, h, m), Fe (c, i, n), Mn (d, j, o) and Ni (e, k, p) respectively. Note that the legend is common for all figures and is indicated only at the top of the figure. The x-axis is common for all figures but isonly indicated in the bottom images, and similarly the y-axis is indicated only in (a, f, l).

From this factor analysis, it is clear that the energy of a system (through the values of Eg. Vg, and Kg) is mainly defined by the non-magnetic configuration, and slightly varies by the different magnetic configurations. The second term in importance is due to the self-magnetic effect, i.e., the magnitude of the magnetic moment of each atom (shown in blue color), irrespective of the lattice and spin orientation of the other atoms. This is especially true for ΦE(M) in Fe and Co atoms, which display negative values around 1.5–2.5 μb, while for Cr, Mn, and Ni, the increase of magnetic moment increases the ΦE contribution to energy. That does not mean that Cr, Mn, and Ni do not display a ground state at magnetic configuration, but the responsibility of such ground state corresponds to other functions, ΨE, for the case of Ni (FM) and θE for Cr and Mn atoms, which display AFM ground state. This may be related to the type of electron itinerancy, more localized for Fe and Co due to the dominant influence of ΦE, and very itinerant for Cr, Mn, and Ni where the ΨE and θE functions gain in importance2. The direct link to the theory of itinerant-electron magnetism from these results is not straightforward, and it is not the scope of this paper, but indeed, the results obtained have indeed some similarities.

It is there clear an increase of volume (see blue line in Vg functions in Fig. 9f–k) as the magnetic moment increases. Then, the FM and non-collinear contribution (in red and green color, respectively), which adds in general minor values of energy. This is the case, for instance, of Co and Ni, where this distribution of factors is more evident, as the blue line adds much more influence. The case of Fe is intermediate, where the ferromagnetic configuration may have a similar contribution as the Φ-functions. The Mn and Cr, which have the above-mentioned antiferromagnetic behavior, are clearly seen with the ΩnC ·Θ functions, which lower the energy and volume for such magnetic configuration.

In the subheading “Error analysis of the GUES”, an error analysis can be seen in Fig. 2 for NM, FM, and AFM configurations using the fitted Eg, Vg, and Kg for each \(\langle b/a,c/a,M\rangle\) combination for each element considered. It is important to note that each fitted energy in that figure uses the numerically fitted Eg, Vg, and Kg individually. This means that, for instance, the energy-volume relationship of the BCC lattice with M = 0 μb gives certain values of \(\langle {E}_{g},{V}_{g},{K}_{g}\rangle\), and a FCC lattice at M = 2 μb provides at fitting other \(\langle {E}_{g},{V}_{g},{K}_{g}\rangle\) values, independent of each other. The excellent fitting shown in Fig. 2 indeed showed that for any lattice and magnetic configuration, there are three values of \(\langle {E}_{g},{V}_{g},{K}_{g}\rangle\) which predict the energy-volume relationship. The added value of the GUES is the description of interrelationships between such (a priori independent) \(\langle {E}_{g},{V}_{g},{K}_{g}\rangle\) parameters for different lattices and magnetic configurations. This has been explained in above, describing each contribution and the functional form of each of such contributions, allowing to see the interrelationship between all \(\langle {E}_{g},{V}_{g},{K}_{g}\rangle\) parameters at different lattices and magnetic configurations. Therefore, the prediction of the GUES by using Eq. (7) and the proposed Ω0, ΩM and ΩnC, along with Φ-, Ψ-, and Θ-functions for each element, is different from the ones using directly the fitted \(\langle {E}_{g},{V}_{g},{K}_{g}t\rangle\). The error in this case is logically larger (it cannot be better than the numerically fitted for each case), but provides a deep insight into the different factors contributing to the energy of the system and allows developing interatomic potentials, as the one in ref. 19, initially for ferromagnetic configuration, and now with the unified GUES proposed in this work, for non-collinear simulations, where a preliminary test is shown in the following subheading.

Figure 10 shows the comparison between the DFT calculated cohesive energy in the database corresponding to collinear DFT calculations and the GUES cohesive energy at predicting Eg, Vg, and Kg parameters by using the functions shown in Fig. 3 for Ω0 (with the parameters of Table 1), Fig. 4 for Φ, Fig. 5 for ΩM, Fig. 6 for Ψ, Fig. 7 for ΩnC, and Fig. 8 for θ, with an RMSE of 3.8 × 10−4 eV. This RMSE is indeed higher than the one with the individually fitted Eg, Vg, and Kg parameters with a previously reported RMSE of 4.22 × 10−6 eV as shown in Fig. 2. The errors by different magnetic configurations are reasonably close to each other. In particular, the RMSE for non-magnetic is 6.23 × 10−4 eV, the RMSE for FM configuration is 4.05 × 10−4 eV, and the RMS for AFM is 2.59 × 10−4 eV. Although there are some differences at different magnetic configurations, the differences are small enough to be attributed to the numerical approach, rather than concluding that the GUES may have incorrect contributions due to different magnetic configurations. Also, the errors as a function of the magnitude of the magnetic moment does not follow any trend, being similar in value for all magnitudes of the magnetic moment, except for the highest values of AFM for Fe and Mn, which have an RMSE of 7.99 × 10−3 eV. As pointed out previously, the DFT calculations may have some convergence issues for configurations very far from equilibrium, which explains the increase in error. We conclude then that the predicted energies by the GUES show reasonably good results for all NM, FM, and AFM for cubic and hexagonal lattices and for all elements considered, considering especially the understanding that the GUES provides via the different contributions mentioned above.

Fig. 10: GUES predictions of the energy by using the fitted functions.
figure 10

DFT calculated cohesive energy vs. GUES predicted cohesive energy with predicted Eg, Vg, and Kg, for Co, Cr, Fe, Mn, and Ni, in non-magnetic, ferromagnetic, and antiferromagnetic for all cubic- and hexagonal-based lattices. The RMSE = 3.8 × 10−4 eV corresponds to all data considered.

Non-collinear calculations of the GUES

The proposed formulation for the GUES is intended in this work to unify the previously GUES formulation19, which had different functions for FM and AFM configurations, making it impossible to transition between both configurations, nor perform non-collinear calculations. In this work, the Eq. (7) can be used to perform an initial check on the possibility of performing non-collinear calculations with the GUES, without the need of using Eq. (5), where the use of ω0, ωM, and ωnC is formally needed. This is performed by keeping the lattice configuration fixed for the non-collinearity as explained in the subheading “Error analysis of the GUES”, where different magnetic moment orientations are located in alternate (0,0,1) plane for cubic and (0,0,0,1) plane for hexagonal lattices, with the αij angle rotating between 0° and 180°. A similar lattice geometry with rotating magnetic moment in Fe for BCC (B2-like magnetic structures) was used in ref. 46, where a constrained density functional for non-collinear magnetism is proposed and in ref. 15 where a non-collinear magnetic atomic cluster expansion for iron is proposed.

As stated before, in this work, the distance-dependent functions ω0, ωM, and ωnC are not determined here, since additional work must be performed in order to know their applicability for atomic coordinates outside ideal positions. Such ideal positions are understood in this case for all lattices considered, with fixed positions for all \(\langle b/a,c/a\rangle\) cases for both cubic and hexagonal lattices. In our previous work, ω0, ωM were indeed successfully determined for Fe, where an extensive analysis was performed on transformation paths, vacancies, stresses, A15 and C15 lattices, elastic properties, dumbbell configurations, and γ-surfaces, demonstrating the existence of such functions and their predictability. With this in mind, the values of Ω0, ΩM, and ΩnC are known since they were fitted for any lattice considered, and it is kept constant if rotations of magnetic moments are the only variable.

The non-collinear behavior in the case of Fe has special interest since a comparison can be performed with other approaches dealing with non-collinear simulations. The potential energy surface of the FM to AFM magnetic transformation, which is calculated as the ground state energy for spin rotation of the central atom in B2-like magnetic structure, i.e., alternating (0,0,1) planes, is displayed in Fig. 11a and the corresponding magnetic rotation energy barriers at constant magnetic moment is shown in Fig. 11b. Such energy barrier is seen to be quite dependent on the angle between magnetic moments, as well as on their magnitudes. The results are similar to those obtained in ref. 15. A relationship between the ground state energy and corresponding magnetic moment for BCC can also be calculated for the ground state cell parameter, and analyze the variation of the magnetic behavior from FM to AFM, as depicted in Fig. 11c. The ground state energy increases from FM to AFM, while the magnetic moment accordingly. The results are consistent with the results shown in ref. 46.

Fig. 11: Non-collinear calculations for Fe, energy barriers, and ground states.
figure 11

a Contourplot of the FM to AFM spin rotation with alternate (0,0,1) planes in B2-like magnetic structure, b FM to AFM magnetic rotation energy barriers at constant magnetic moment with alternate (0,0,1) planes in B2-like magnetic structure. In both figures, α indicates the spin rotation angle from FM (0°) to AFM (180°), c Ground state energy and corresponding magnitude of the magnetic moments for FM to AFM transformation in B2-like magnetic structure with ell parameter 2.8561 Å.

In order to fully analyse the behavior of non-collinear calculations in all elements considered in this work, a set of non-collinear simulations concerning Co, Cr, Fe, Mn, and Ni have performed DFT calculations with B2-likd lattices for BCC Cr and Fe, L10-like magnetic configuration for FCC Mn and Ni, and be a Bh-like magnetic configuration for HCP Co. The same AFM configuration described in the Methods heading is also applied here where the spins rotate in different angles (30°, 45°, 90°, 120° 135° and 150°) in alternate (0,0,1) planes for the cubic-based lattices and (0,0,0,1) base plane for the hexagonal-based lattices, keeping the same magnitude of the magnetic moments in the cell. Note that the angles 0° and 180° correspond to pure FM and AFM, respectively, and are already considered in the Results heading.

The DFT vs. GUES calculations are shown in Fig. 12, where a reasonably good fit is observed at varying the misorientation angles. The colors correspond to different angles, where in this figure, the magnitude of the magnetic moment is not explicitly indicated, but they actually vary from 0.4 µb to 2.7 µb approximately. The lattices and the type of rotation are indicated in each image. The comparison of the DFT vs. GUES includes the complete database created for the GUES fitting (depicted with black dots), in order to visualize the performance of the GUES in non-collinear calculations as compared to the complete GUES predictive capability.

Fig. 12: Non-collinear calculations for Co, Cr, Fe, Mn and Ni.
figure 12

Comparison between the DFT and GUES cohesive energies for the non-collinear configurations where the colours indicate the rotation angle as shown in the legend. The rotation plane is indicated in each image. The complete set of non-magnetic, ferromagnetic and antiferromagnetic DFT vs predicted GUES cohesive energies are also displayed in black dots for comparison purposes, and correspond to the same comparison of Fig. 11. a Co HCP lattice, b Cr BCC lattice, c Fe BCC lattice, d Mn FCC Lattice and e Ni FCC lattice.

There are indeed some differences between the DFT and GUES calculations, but the trends at varying the angle and magnitude of the magnetic moments are indeed correct and display an error of similar magnitude to the one for pure FM and AFM calculations. This is especially relevant in this work since this is the first data that is not used for the Ω-, Φ-, Ψ-, and Θ-functions fitting, and they represent the first check that the formulation proposed, so far, captures the non-collinear behavior, which needs to be confirmed in future steps for other lattices and mixtures of magnetic moments. More precisely, the RMSE of each case between the DFT and GUES in the non-collinear calculations is 5.9 · 10−3 eV for Co, 3.7 · 10−2 eV for Cr, 1.1 · 10−3 eV for Fe, 8.6 · 10−3 eV for Mn, and 6.0 · 10−3 eV for Ni. The errors are indeed one order of magnitude larger than the RMSE predicted for the whole database reported previously of 3.8 · 10−4 eV in the previous subheading “Factor Analysis and predictability of the GUES” for the NM, FM, and AFM cases. This comes from the fact that the non-collinear DFT calculations are not included in the development of the Ω0, ΩM, ΩnC, and Φ-, Ψ-, and Θ-functions, but still the approach shows good predictability and transferability between the initial FM and AFM cases to non-collinear case. Additionally, the case of Cr shows a larger error compared to other elements. An analysis on the errors of the fitted GUES (FM and AFM data) for Cr around BCC shows larger errors as compared to other structures, which explains such larger difference, and further investigation is required in this element.

It is clear that further research is needed to improve the non-collinear calculations, either considering additional exponents of M in the Φ-, Ψ-, and Θ-functions (up to M8, M10, or further) or in the angle dependence of the Θ-functions, which controls the non-collinearity contribution, adding for instance up to \({\left(\sin \left(\frac{\alpha }{2}\right)\right)}^{4}\) or further terms.

Discussion

This work represents a qualitative improvement of the initial proposed GUES in ref. 19, where a new magnetic interatomic potential was presented, based on a generalization of the universal equation of states able to predict the magnetic-dependent energy of the magnetic 3 d transition elements. Such a magnetic interatomic potential was developed only for FM configurations, while the initial formulation did not allow for other forms of magnetism. Specifically, the AFM configuration, also included in the GUES, was not described in the magnetic interatomic potential developed for FM. In this work, the GUES has been modified in a way that both FM and AFM can be described under the same formulation. This is actually done by including the non-collinear configuration by adding the angles between different magnetic moments, which indeed includes the AFM and any other magnetic configuration. With this, a paramount improvement has been possible, since now the formulation allows for ferromagnetic, ferrimagnetic, antiferromagnetic, paramagnetic, or any non-collinear magnetic configuration. Additionally, the GUES was postulated only for Fe, where additional work for other elements had to be performed to guarantee the applicability of this approach to other elements.

Therefore, two main advances have been carried out in this work. Firstly, the application of the GUES with other elements, namely the rest of the magnetic 3 d transition metals Co, Cr, Mn, and Ni for cubic and hexagonal lattices, in addition to the extension of the case of Fe for hexagonal lattices, which was not included initially. The results indicate that the GUES indeed describes the energy of such elements, while the approach is consistent within the Stoner model of band magnetism, the Ginzburg-Landau approximation used in the magnetic cluster expansion method, as well as the non-collinear magnetism within the Heisenberg-Landau Hamiltonians. Although the GUES is not confirmed to other elements, the results suggest that it can be applicable to other elements, especially metals, which share similar characteristics with Co, Cr, Fe, Mn, and Ni. Secondly, the unification of all magnetic configurations in one formulation is demonstrated for FM and AFM in all cases: a large variety of cubic and hexagonal (with all possible deformations), and for all elements considered here. A preliminary exploration of the possibility of predicting non-collinear simulations has been performed for all elements. In order to carry out this, some restrictions are imposed on the magnitude of the magnetic moments considered (with different angles between them), which allowed to use the GUES using the Ω0, ΩM, and ΩnC functions, without the need to develop formally the interatomic potential. This must be done in order to run non-collinear simulations and needs the description of the ω0, ωM, and ωnC distance-dependent functions, which provide Ω0, ΩM, and ΩnC when they are evaluated for the set of distances of each lattice.

Additional work must be performed in order to confirm the possibility of running non-collinear simulations at finite temperature, which is the ultimate goal of this potential, but the preliminary results are very motivating and encourage to continue analysing this formulation as an alternative to other formulations where the non-collinear simulations are still elusive.

Methods

DFT calculations and database

In order to analyse the existence of functions for the proposed unified formulation, a non-collinear term has been introduced, describing therefore both FM and AFM configurations, in both cubic and hexagonal lattices. The existence of such functions for Co, Cr, Mn, and Ni has been demonstrated before, proving the robustness of the proposed formulation. Here, a description of the database employed is presented.

A large database of DFT calculations on Cr, Co, Fe, Mn and Ni systems has been performed using Vienna Ab initio Simulation escribes the large DFT database employed on Cr, Co, Fe, Mn and Ni systems has been performed using Vienna Ab initio Simulation Package (VASP)47,48 using the projector augmented-wave (PAW) method49 and the Perdew-Burke-Ernzerhof generalized gradient functional50 with collinear spin polarization. The core configuration for the PAW potentials used in this paper was [Ar]3d84s1 for Co, [Ar]3d54s1 for Cr, [Ar]3d74s1 for Fe, [Ar]3d64s1 for Mn, and [Ar]3d94s1 for Ni. The calculations utilized a plane-wave cutoff energy of 400 eV. Total energies were computed using a \(\Gamma\)-centered Monkhorst-Pack mesh51 of k-points with a spacing of 0.16 Å⁻¹, corresponding to a 14 × 14 × 14 k-point grid for a two-atom BCC unit cell with a lattice parameter of 2.831 Å. Therefore, these calculations were performed similarly as the ones in ref. 19 where additional calculations with larger k-mesh (mesh spacing of 0.16 Å−1) were performed to check the accuracy for Fe. It is assumed that good accuracy is reached in this work also for Co, Cr, Mn, and Ni. In this regard, the computational parameters were selected based on convergence tests performed for Fe in our previous study19, where a finer k-mesh was tested to ensure sufficient accuracy. To maintain consistency and allow direct comparison, the same settings were applied to Co, Cr, Mn, and Ni. Given the similar electronic and magnetic properties of these transition metals, the chosen parameters are expected to provide a comparable level of accuracy. Furthermore, a detailed convergence study using similar computational parameters was conducted in our previous work on high-entropy alloys from the Fe-Cr-Mn-Ni system52 which includes the same elements studied here. Since these settings provided reliable results for complex multicomponent systems, they can be considered well-suited for the pure elements investigated in this study.

In order to know the energies of cubic-based structures, rectangular cuboids corresponding to the relative positions (0,0,0) and (0.5,0.5,0.5) of the cubic cell, and different b/a and c/a ratios, being a, b, and c are the three lattice magnitudes of the corresponding body-centered orthorhombic structure as seen in Fig. 13 (left-hand side). Similarly, for the hexagonal-based structures, the relative positions (1/3,2/3,1/4) and (2/3,1/3,3/4) of the considered hexagonal cell, and different b/a and c/a ratios, being a, b, and c are the three lattice magnitudes of the corresponding hexagonal close-packed structure as seen in Fig. 13 (right-hand side). Note that a, b, and c will correspond to lattice parameters of both cubic and hexagonal lattices, and they will be referred accordingly.

Fig. 13: Illustration of the lattices employed for the DFT calculations.
figure 13

Illustration of the cubic-based (left) and hexagonal-based (right) structures and their respective cell parameters.

The database then contains all combinations where c/a and b/a vary independently, taking the values 0.7, 0.8, 0.9, 0.95, 1, 1.05, 1.1, 1.2, 1.3, 1.35, \(\sqrt{2}\), 1.45, 1.5, 1.6 and 1.7 in the cubic case, while on the hexagonal case b/a can take the values 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3 and 1.4 and c/a takes 1.4, 1.45, 1.5, 1.55, 1.6, \(\sqrt{8/3}\), 1.65, 1.7, 1.75, 1.8 and 1.85. In the case of the hexagonal deformations, all possible \(\langle b/a,c/a\rangle\) combinations are considered, but for the case of cubic deformations, due to the symmetry, only half of them are considered (for instance, \(\langle b/a=0.9,c/a=1.45\rangle\) is the same lattice as \(\langle b/a=1.45,c/a=0.9\rangle\)). Note that, in the cubic-based structures \(\langle b/a=1,c/a=1t\rangle\) corresponds to pure BCC, while \(\langle b/a=1,c/a=\sqrt{2}\rangle\) is the FCC structure. Also, a perfect HCP is while \(\left\langle b/a=1,c/a=\sqrt{8/3}\right\rangle\) for the hexagonal-based structures. With this, the number of different cubic lattices is 120, while the number of different hexagonal lattices is 99. There is indeed a large variability of lattices and interatomic distances covering ground states as well as structures very far from ground state or the most common structures.

In addition to this, each of these 219 different lattices is calculated in 8 different volumes, namely 9.25 Å3, 9.75 Å3, 10.25 Å3, 10.75 Å3, 11.25 Å3, 11.75 Å3, 12.25 Å3, and 11.75 Å3, covering in general all ground states for the considered elements and crystal lattices. This represents 1752 different altogether atomic configurations. Again, every of this 1752 atomic configurations is calculated in NM (with M = 0 μb), FM configuration at M = 0.5 μb, 1 μb, 1.5 μb, 1.75 μb, 2 μb, 2.25 μb, 2.5 μb, 2.75 μb, 3.25 μb, and AFM configuration (constrained magnetic calculations) with 9 magnitudes of the magnetic moment spacing between 0.5 μb and 3.5 μb. The AFM configuration will be \(\left\langle \uparrow \left(0,0,0\right),\downarrow (\frac{1}{2},\frac{1}{2},\frac{1}{2})\right\rangle\) of the cubic cell, where the arrows indicate the spin orientation, and the numbers are the relative positions of the rectangular cuboids. For the hexagonal-based structures, the AFM configuration will be \(\left\langle \uparrow \left(\frac{1}{3},\frac{2}{3},\frac{1}{4}\right),\downarrow (\frac{2}{3},\frac{1}{3},\frac{3}{4})\right\rangle\). With this, the structures alternate spin-up—spin-down layers in the (0,0,1) plane for the cubic-based lattices and (0,0,0,1) base plane for the hexagonal-based lattices. Therefore, the BCC AFM would be a B2-like magnetic configuration, the FCC would be a L10-like magnetic configuration, and the HCP would be a Bh-like magnetic configuration.

In the AFM case, the magnitudes of the magnetic moments are not strictly fixed due to the way VASP handles constrained calculations; however, the variation of energy as a function of magnetic moment is well captured. To assess the effect of constraint strength, different penalty parameters (denoted λ parameter in ref. 46) were tested, and while variations in total energy and magnetic moments were observed, the corrected energy (total energy minus penalty energy) as function of λ between 1 and 5 eV/μb² remained a reliable measure of the system’s energy relative to its magnetic moment in all cases. Therefore, in all constrained calculations, the penalty parameter was set to 1 eV/μb². With this 33288 DFT calculations, varying structure, volume, magnetic configuration, and magnetic moment for each element have been performed, representing 166440 DFT calculations. Some of the calculations have convergence difficulties for combinations of \(\langle b/a,c/a,V,M\rangle\) very far from the ground state (especially in the case of AFM configuration). Therefore, some of them are discarded, and replaced with others closer to equilibrium, especially in the case of Ni, whose cohesive energy increase very rapidly with increasing magnetic moment.