SAXIS: Difference between revisions
No edit summary |
|||
Line 3: | Line 3: | ||
Description: {{TAG|SAXIS}} specifies the quantisation axis for noncollinear spins. | Description: {{TAG|SAXIS}} specifies the quantisation axis for noncollinear spins. | ||
---- | ---- | ||
The spin quantization axis may be specified by means of the {{TAG|SAXIS}}-tag, | |||
{{TAG|SAXIS}} = s<sub>x</sub> s<sub>y</sub> s<sub>z</sub> ! global spin quantisation axis | |||
where the default for {{TAG|SAXIS}} = (0+,0,1) (the notation 0+ implies an infinitesimal small positive number in ''x''-direction). All magnetic moments are now given with respect to the axis | |||
(s<sub>x</sub>,s<sub>y</sub>,s<sub>z</sub>), where we have adopted the convention '''that all magnetic moments and spinor-like quantities written or read by VASP are given with respect to this axis'''. This includes the {{TAG|MAGMOM}} line in the {{FILE|INCAR}} file, the total and local magnetizations in the {{FILE|OUTCAR}} and {{FILE|PROCAR}} file, the spinor-like orbitals in the {{TAG|WAVECAR}} file, and the magnetization density in the {{FILE|CHGCAR}} file. With respect to the Cartesian lattice vectors the components of the magnetization are (internally) given by | |||
:<math> | |||
\begin{align} | |||
m_x & = & \cos(\beta) \cos(\alpha) m^{\rm axis}_x - \sin(\alpha) m^{\rm axis}_y + \sin(\beta) \cos(\alpha) m^{\rm axis}_z \\ | |||
m_y & = & \cos(\beta) \sin(\alpha) m^{\rm axis}_x + \cos(\alpha) m^{\rm axis}_y + \sin(\beta) \sin(\alpha) m^{\rm axis}_z \\ | |||
m_z & = & -\sin(\beta) m^{\rm axis}_x+ \cos(\beta) m^{\rm axis}_z | |||
\end{align} | |||
</math> | |||
Where ''m''<sup>axis</sup> is the externally visible magnetic moment. Here, <math>\alpha</math> is the angle between the {{TAG|SAXIS}} vector (s<sub>x</sub>,s<sub>y</sub>,s<sub>z</sub>) and the Cartesian vector <math>\hat x</math>, and <math>\beta</math> is the angle between the vector {{TAG|SAXIS}} and the Cartesian vector <math>\hat z</math>: | |||
:<math> | |||
\begin{align} | |||
\alpha &=& {\rm atan} \frac{s_y}{s_x} \\ | |||
\beta &=& {\rm atan} \frac{\vert s_x^2+s_y^2\vert}{s_z} | |||
\end{align} | |||
</math> | |||
The inverse transformation is given by | |||
:<math> | |||
\begin{align} | |||
m^{\rm axis}_x & = & \cos(\beta) \cos(\alpha) m_x + \cos(\beta) \sin(\alpha) m_y + \sin(\beta) m_z \\ | |||
m^{\rm axis}_y & = & -\sin(\alpha) m_z + \cos(\alpha) m_y \\ | |||
m^{\rm axis}_z & = & \sin(\beta) \cos(\alpha) m_x + \sin(\beta) \sin(\alpha) m_y + \cos(\beta) m_z | |||
\end{align} | |||
</math> | |||
It is easy to see that for the default (s<sub>x</sub>,s<sub>y</sub>,s<sub>z</sub>)=(0+,0,1), both angles are zero, i.e. <math>\beta=0</math> and <math>\alpha=0</math>. In this case, the internal representation is simply equivalent to the external representation: | |||
:<math> | |||
\begin{align} | |||
m_x & = & m^{\rm axis}_x \\ | |||
m_y & = & m^{\rm axis}_y \\ | |||
m_z & = & m^{\rm axis}_z | |||
\end{align} | |||
</math> | |||
The second important case, is ''m''<sup>axis</sup>=(0,0,''m''). In this case | |||
:<math> | |||
\begin{align} | |||
m_x & = & \sin(\beta)*\cos(\alpha) m = m s_x / \sqrt{s_x^2+s_y^2+s_z^2} \\ | |||
m_y & = & \sin(\beta)*\sin(\alpha) m = m s_y / \sqrt{s_x^2+s_y^2+s_z^2} \\ | |||
m_z & = & \cos(\beta) m = m s_z / \sqrt{s_x^2+s_y^2+s_z^2} | |||
\end{align} | |||
</math> | |||
Hence now the magnetic moment is parallel to the vector {{TAG|SAXIS}}. Thus there are two ways to rotate the spins in an arbitrary direction, either by changing the initial magnetic moments {{TAG|MAGMOM}} or by changing {{TAG|SAXIS}}. | |||
To initialize calculations with the magnetic moment parallel to a chosen vector (''x'',''y'',''z''), it is therefore possible to either specify (assuming a single atom in the cell) | |||
{{TAG|MAGMOM}} = x y z ! local magnetic moment in x,y,z | |||
{{TAG|SAXIS}} = 0 0 1 ! quantisation axis parallel to z | |||
or | |||
{{TAG|MAGMOM}} = 0 0 total_magnetic_moment ! local magnetic moment parallel to {{TAG|SAXIS}} | |||
{{TAG|SAXIS}} = x y z ! quantization axis parallel to vector (''x'',''y'',''z'') | |||
Both setups should in principle yield exactly the same energy, but for implementation reasons the second method is usually more precise. The second method also allows to read a preexisting {{FILE|WAVECAR}} file (from a collinear or non collinear run), and to continue the calculation with a different spin orientation. When a non collinear {{FILE|WAVECAR}} file is read, the spin is assumed to be parallel to {{TAG|SAXIS}} (hence VASP will initially report a magnetic moment in the ''z''-direction only). | |||
The recommended procedure for the calculation of magnetic anisotropies is therefore (please check the section on {{TAG|LMAXMIX}}): | |||
*Start with a collinear calculation and calculate a {{FILE|WAVECAR}} and {{FILE|CHGCAR}} file. | |||
*Add the tags | |||
{{TAG|LSORBIT}} = .TRUE. | |||
{{TAG|ICHARG}} = 11 ! non selfconsistent run, read {{FILE|CHGCAR}} | |||
{{TAG|LMAXMIX}} = 4 ! for d-elements increase {{TAG|LMAXMIX}} to 4, f-elements: {{TAG|LMAXMIX}} = 6 | |||
! you need to set {{TAG|LMAXMIX}} already in the collinear calculation | |||
{{TAG|SAXIS}} = x y z ! direction of the magnetic field | |||
{{TAG|NBANDS}} = 2 * number of bands of collinear run | |||
VASP reads in the {{FILE|WAVECAR}} and {{FILE|CHGCAR}} files, aligns the spin quantization axis parallel to {{TAG|SAXIS}}, which implies that the magnetic field is now parallel to {{TAG|SAXIS}}, and performs a non selfconsistent calculation. By comparing the energies for different orientations the magnetic anisotropy can be determined. Please mind, that a completely selfconsistent calculation ({{TAG|ICHARG}} = 1) is in principle also possible with VASP, but this would allow the spinor wavefunctions to rotate from their initial orientation parallel to {{TAG|SAXIS}} until the correct groundstate is obtained, i.e. until the magnetic moment is parallel to the easy axis. In practice this rotation will be slow, however, since reorientation of the spin gains little energy. Therefore if the convergence criterion is not too tight, sensible results might be obtained even for fully selfconsistent calculations (in the few cases we have tried this worked beautifully). | |||
== Related Tags and Sections == | == Related Tags and Sections == | ||
{{TAG|LNONCOLLINEAR}}, | {{TAG|LNONCOLLINEAR}}, |
Revision as of 00:14, 1 June 2011
SAXIS = [real array]
Default: SAXIS = 0+ 0 1
Description: SAXIS specifies the quantisation axis for noncollinear spins.
The spin quantization axis may be specified by means of the SAXIS-tag,
SAXIS = sx sy sz ! global spin quantisation axis
where the default for SAXIS = (0+,0,1) (the notation 0+ implies an infinitesimal small positive number in x-direction). All magnetic moments are now given with respect to the axis (sx,sy,sz), where we have adopted the convention that all magnetic moments and spinor-like quantities written or read by VASP are given with respect to this axis. This includes the MAGMOM line in the INCAR file, the total and local magnetizations in the OUTCAR and PROCAR file, the spinor-like orbitals in the WAVECAR file, and the magnetization density in the CHGCAR file. With respect to the Cartesian lattice vectors the components of the magnetization are (internally) given by
Where maxis is the externally visible magnetic moment. Here, is the angle between the SAXIS vector (sx,sy,sz) and the Cartesian vector , and is the angle between the vector SAXIS and the Cartesian vector :
The inverse transformation is given by
It is easy to see that for the default (sx,sy,sz)=(0+,0,1), both angles are zero, i.e. and . In this case, the internal representation is simply equivalent to the external representation:
The second important case, is maxis=(0,0,m). In this case
Hence now the magnetic moment is parallel to the vector SAXIS. Thus there are two ways to rotate the spins in an arbitrary direction, either by changing the initial magnetic moments MAGMOM or by changing SAXIS.
To initialize calculations with the magnetic moment parallel to a chosen vector (x,y,z), it is therefore possible to either specify (assuming a single atom in the cell)
MAGMOM = x y z ! local magnetic moment in x,y,z SAXIS = 0 0 1 ! quantisation axis parallel to z
or
MAGMOM = 0 0 total_magnetic_moment ! local magnetic moment parallel to SAXIS SAXIS = x y z ! quantization axis parallel to vector (x,y,z)
Both setups should in principle yield exactly the same energy, but for implementation reasons the second method is usually more precise. The second method also allows to read a preexisting WAVECAR file (from a collinear or non collinear run), and to continue the calculation with a different spin orientation. When a non collinear WAVECAR file is read, the spin is assumed to be parallel to SAXIS (hence VASP will initially report a magnetic moment in the z-direction only).
The recommended procedure for the calculation of magnetic anisotropies is therefore (please check the section on LMAXMIX):
LSORBIT = .TRUE. ICHARG = 11 ! non selfconsistent run, read CHGCAR LMAXMIX = 4 ! for d-elements increase LMAXMIX to 4, f-elements: LMAXMIX = 6 ! you need to set LMAXMIX already in the collinear calculation SAXIS = x y z ! direction of the magnetic field NBANDS = 2 * number of bands of collinear run
VASP reads in the WAVECAR and CHGCAR files, aligns the spin quantization axis parallel to SAXIS, which implies that the magnetic field is now parallel to SAXIS, and performs a non selfconsistent calculation. By comparing the energies for different orientations the magnetic anisotropy can be determined. Please mind, that a completely selfconsistent calculation (ICHARG = 1) is in principle also possible with VASP, but this would allow the spinor wavefunctions to rotate from their initial orientation parallel to SAXIS until the correct groundstate is obtained, i.e. until the magnetic moment is parallel to the easy axis. In practice this rotation will be slow, however, since reorientation of the spin gains little energy. Therefore if the convergence criterion is not too tight, sensible results might be obtained even for fully selfconsistent calculations (in the few cases we have tried this worked beautifully).
Related Tags and Sections
LNONCOLLINEAR, MAGMOM, LSORBIT