Category:Magnetism: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Theory ==
There are three ingredients to obtain '''magnetism''':
*Spin-orbit coupling: {{TAG|LSORBIT}}.
* The first is the ''electronic spin''. The origin of spin is explained by Dirac theory, that is the relativistic quantum theory of an electron.
*Spin spirals: {{TAG|Spin spirals}}.
* The second ingredient is ''quantum mechanical statistics''. The Bohr–Van Leeuwen theorem states that a classical particle that follows Boltzmann statistics can never give rise to magnetism, even if the particle carries charge and spin. Therefore, in addition to spin, proper quantum mechanical statistics are necessary to explain magnetism. 
== How to ==
* And finally,  there is one more necessary ingredient: ''electron–electron interaction''. Only the specific details of the interaction between electrons leads to a finite magnetization, otherwise any material would be magnetic.  
*Spin-orbit coupling: {{TAG|LSORBIT}}.
In summary, magnetism is a ''collective, quantum electrodynamic phenomenon''. The challenge is now to describe magnetism from first principles using ab-initio simulations.
*Noncollinear magnetism: {{TAG|LNONCOLLINEAR}}.
*Spin spirals: {{TAG|Spin spirals}}.


*What can one do when convergence is bad:
In VASP, the electronic spin can be treated either within a so-called ''spin-polarized calculation'' ({{TAG|ISPIN}}=2) or a ''noncollinear calculation'' ({{TAG|LNONCOLLINEAR}}=T){{Cite|hobbs:prb:00}}. The aim is to solve the Kohn-Sham (KS) equations including the spin degree of freedom to yield spin-dependent KS orbitals, thus fulfilling quantum mechanical statistics. In this context it is important to choose the [[pseudopotential]] such that the electrons that give rise to magnetism are treated as valence electrons. The electron–electron interaction is included based on the selected [[exchange-correlation functional]]. For a general introduction to magnetism in the context of density-functional theory (DFT), we recommend the book ''Theory of itinerant electron magnetism'' by Jürgen Kübler {{Cite|kuebler2000:book}}.
**Start from charge density of non-spin-polarized calculation using {{TAG|ISTART}}=0 (or remove the {{TAG|WAVECAR}} file) and {{TAG|ICHARG}}=1.
{{NB|tip|In magnetic systems the [[electronic minimization]] is often hard to converge, see [[troubleshooting electronic convergence]] for help.}}  
**Use linear mixing by setting {{TAG|BMIX}}=0.0001 and {{TAG|BMIX_MAG}}=0.0001.
== Spin-polarized calculation ==
**Mix slowly, i.e., reduce {{TAG|AMIX}} and {{TAG|AMIX_MAG}}.
In spin-polarized calculations, there is a distinct spin-up and spin-down charge density
**REDUCE {{TAG|MAXMIX}}, the number of steps stored in the Broyden mixer (default {{TAG|MAXMIX}}=45).
:<math>n_\sigma(\mathbf{r}) = \sum_{n=1}^N  |\psi_{\sigma n}(\mathbf{r})|^2, </math>
**Restart from partially converged results (stop a calculation after say 20 steps and restart from the {{TAG|WAVECAR}} file).
similar to the well-known Stoner model.
**Use constraints to stabilize the magnetic configuration.
As in standard DFT, one electron moves in an effective potential, but the effective potential <math>v_\sigma^{eff}({\bf r})</math> of a spin-polarized calculation ({{TAG|ISPIN}}=2) has an additional spin index
**Pray.
:<math>v_\sigma^{eff}({\bf r})=v^{ext}({\bf r}) + v^{H}({\bf r}) + v_\sigma^{xc}({\bf r}).</math>
----
The [[XC functional|exchange-correlation potential]] is
:<math>v_\sigma^{xc}=\frac{\delta E_{xc}[n_\uparrow,n_\downarrow]}{\delta n_{\sigma}}.</math>
The spin-dependent effective potential enters the KS equations
:<math>\left[-{\mathbf \nabla}^2_n + v^{eff}_\uparrow({\mathbf r}_n)\right]\psi_{\uparrow n}= \varepsilon_{n} \psi_{\uparrow n}</math>
:<math>\left[-{\mathbf \nabla}^2_n + v^{eff}_\downarrow({\mathbf r}_n)\right]\psi_{\downarrow n}= \varepsilon_{n} \psi_{\downarrow n}</math>
and leads to spin-dependent solutions for the KS orbitals <math>\psi_{\uparrow n}</math>. Finally, the spin-up and spin-down KS orbitals are used to update the spin-up and spin-down charge densities until self-consistency is reached. Note that, the spin species only couple to one another through the [[XC functional|exchange-correlation potential]] where both, the spin-up and spin-down charge densities enter as an argument.


[[Category:VASP]]
Spin-polarized calculations are enabled by setting {{TAG|ISPIN}}=2 in the {{FILE|INCAR}} file and executing '''vasp_std'''. It is useful in order to describe collinear magnetic systems without spin-orbit coupling. Also see {{TAG|MAGMOM}}, {{TAG|LORBIT}}.
 
== Noncollinear calculation ==
 
For noncollinear magnetism ({{TAG|LNONCOLLINEAR}}) and spin-orbit coupling ({{TAG|LSORBIT}}), the Hohenberg-Kohn-Sham DFT is extended, once again, by introducing an additional spin index. We introduce the spin-density matrix
:<math>n_{\sigma'\sigma}(\mathbf{r}) = \sum_{n=1}^N  \psi_{\sigma' n}(\mathbf{r})\psi^*_{\sigma n}(\mathbf{r}).</math>
Accordingly, also the potential becomes a 2x2 matrix
:<math>v_{\sigma'\sigma}^{eff}({\bf r})=v^{ext}_{\sigma'\sigma}({\bf r}) + \delta_{\sigma'\sigma}  v^{H}({\bf r}) + v_{\sigma'\sigma}^{xc}({\bf r})</math>
and the KS orbitals in the KS equations are two-component spinors
:<math>\sum_{\sigma} \left[-{\mathbf \delta_{\sigma'\sigma} \nabla}^2_n + v^{eff}_{\sigma'\sigma}({\mathbf r}_n)\right]\psi_{\sigma n}= \varepsilon_{\sigma' n} \psi_{\sigma' n}.</math>
Note that in the noncollinear case, the KS equations do not decouple for spin-up and spin-down because the potential has off-diagonal elements that couple the two spin species. This is the SCF loop of noncollinear spin-density functional theory (SDFT).
 
As VASP needs to treat many quantities as matrices instead of arrays, you need to use the '''vasp_ncl''' executable for these calculations in addition to setting {{TAG|LNONCOLLINEAR}}=T and/or {{TAG|LSORBIT}}=T for spin-orbit coupling. The magnetization ({{FILE|CHGCAR}}, {{FILE|PROCAR}}) and on-site magnetic moments (see {{TAG|MAGMOM}}, {{TAG|LORBIT}}) live in spinor space as defined by {{TAG|SAXIS}}.
 
== Advanced methods ==
 
Some methods below can be applied in the context of both spin-polarized and noncollinear calculations.
 
=== Constrained magnetic moments ===
 
See {{TAG|I_CONSTRAINED_M}}.
 
=== Spin spirals ===
 
[[Spin spirals]], or spin waves, are a magnetic order that can be described in terms of the generalized Bloch theorem. It states that the spin-up and spin-down components, and thus the magnetization, are rotated based on a certain spin-spiral propagation vector <math>\mathbf{q}</math>. If the corresponding wavelength is a multiple of the lattice vector of the crystal unit cell, the spin wave is commensurate. While the method can be used for both commensurate and incommensurable spin spirals, in practice it is more useful in case of incommensurable spin spirals. This is because spin spirals cannot be combined with spin orbit coupling and often systems with commensurate spin waves exhibit strong SOC, while in many compounds with incommensurable spin spirals SOC can be neglected. The main tag is {{TAG|LSPIRAL}}.
 
To learn how to apply the method read more on [[spin spirals]].
 
=== Spin-orbit coupling ===
 
Spin-orbit coupling (SOC) is supported as of VASP.4.5 and later described in Ref. {{cite|Steiner:2016}}. The main tag is {{TAG|LSORBIT}}, which automatically sets {{TAG|LNONCOLLINEAR}} and requires using <code>vasp_ncl</code>. SOC couples the spin degrees of freedom with the lattice degrees of freedom, see {{TAG|SAXIS}}.
 
=== Nuclear magnetic resonance ===
 
See {{TAG|LCHIMAG}}.
 
=== External magnetic field ===
Apply a constant external magnetic field (Zeeman-like term): {{TAG|BEXT}}
 
== References ==
 
 
[[Category:VASP]][[Category:Electronic ground-state properties]]

Latest revision as of 12:16, 14 October 2024

There are three ingredients to obtain magnetism:

  • The first is the electronic spin. The origin of spin is explained by Dirac theory, that is the relativistic quantum theory of an electron.
  • The second ingredient is quantum mechanical statistics. The Bohr–Van Leeuwen theorem states that a classical particle that follows Boltzmann statistics can never give rise to magnetism, even if the particle carries charge and spin. Therefore, in addition to spin, proper quantum mechanical statistics are necessary to explain magnetism.
  • And finally, there is one more necessary ingredient: electron–electron interaction. Only the specific details of the interaction between electrons leads to a finite magnetization, otherwise any material would be magnetic.

In summary, magnetism is a collective, quantum electrodynamic phenomenon. The challenge is now to describe magnetism from first principles using ab-initio simulations.

In VASP, the electronic spin can be treated either within a so-called spin-polarized calculation (ISPIN=2) or a noncollinear calculation (LNONCOLLINEAR=T)[1]. The aim is to solve the Kohn-Sham (KS) equations including the spin degree of freedom to yield spin-dependent KS orbitals, thus fulfilling quantum mechanical statistics. In this context it is important to choose the pseudopotential such that the electrons that give rise to magnetism are treated as valence electrons. The electron–electron interaction is included based on the selected exchange-correlation functional. For a general introduction to magnetism in the context of density-functional theory (DFT), we recommend the book Theory of itinerant electron magnetism by Jürgen Kübler [2].

Tip: In magnetic systems the electronic minimization is often hard to converge, see troubleshooting electronic convergence for help.

Spin-polarized calculation

In spin-polarized calculations, there is a distinct spin-up and spin-down charge density

similar to the well-known Stoner model. As in standard DFT, one electron moves in an effective potential, but the effective potential of a spin-polarized calculation (ISPIN=2) has an additional spin index

The exchange-correlation potential is

The spin-dependent effective potential enters the KS equations

and leads to spin-dependent solutions for the KS orbitals . Finally, the spin-up and spin-down KS orbitals are used to update the spin-up and spin-down charge densities until self-consistency is reached. Note that, the spin species only couple to one another through the exchange-correlation potential where both, the spin-up and spin-down charge densities enter as an argument.

Spin-polarized calculations are enabled by setting ISPIN=2 in the INCAR file and executing vasp_std. It is useful in order to describe collinear magnetic systems without spin-orbit coupling. Also see MAGMOM, LORBIT.

Noncollinear calculation

For noncollinear magnetism (LNONCOLLINEAR) and spin-orbit coupling (LSORBIT), the Hohenberg-Kohn-Sham DFT is extended, once again, by introducing an additional spin index. We introduce the spin-density matrix

Accordingly, also the potential becomes a 2x2 matrix

and the KS orbitals in the KS equations are two-component spinors

Note that in the noncollinear case, the KS equations do not decouple for spin-up and spin-down because the potential has off-diagonal elements that couple the two spin species. This is the SCF loop of noncollinear spin-density functional theory (SDFT).

As VASP needs to treat many quantities as matrices instead of arrays, you need to use the vasp_ncl executable for these calculations in addition to setting LNONCOLLINEAR=T and/or LSORBIT=T for spin-orbit coupling. The magnetization (CHGCAR, PROCAR) and on-site magnetic moments (see MAGMOM, LORBIT) live in spinor space as defined by SAXIS.

Advanced methods

Some methods below can be applied in the context of both spin-polarized and noncollinear calculations.

Constrained magnetic moments

See I_CONSTRAINED_M.

Spin spirals

Spin spirals, or spin waves, are a magnetic order that can be described in terms of the generalized Bloch theorem. It states that the spin-up and spin-down components, and thus the magnetization, are rotated based on a certain spin-spiral propagation vector . If the corresponding wavelength is a multiple of the lattice vector of the crystal unit cell, the spin wave is commensurate. While the method can be used for both commensurate and incommensurable spin spirals, in practice it is more useful in case of incommensurable spin spirals. This is because spin spirals cannot be combined with spin orbit coupling and often systems with commensurate spin waves exhibit strong SOC, while in many compounds with incommensurable spin spirals SOC can be neglected. The main tag is LSPIRAL.

To learn how to apply the method read more on spin spirals.

Spin-orbit coupling

Spin-orbit coupling (SOC) is supported as of VASP.4.5 and later described in Ref. [3]. The main tag is LSORBIT, which automatically sets LNONCOLLINEAR and requires using vasp_ncl. SOC couples the spin degrees of freedom with the lattice degrees of freedom, see SAXIS.

Nuclear magnetic resonance

See LCHIMAG.

External magnetic field

Apply a constant external magnetic field (Zeeman-like term): BEXT

References

Subcategories

This category has the following 3 subcategories, out of 3 total.

Pages in category "Magnetism"

The following 19 pages are in this category, out of 19 total.