Skip to content

Equations

Atomistic spin model

The basic assumption of the atomistic spin model is that each lattice site is associated with a magnetic moment μs. For metal systems with quenched orbital moments, the magnetic moment is mainly related to its spin angular momentum

μ=gμBS=γS

where μB=e/(2m) is the Bohr magneton, e(>0) is the electron charge, γ=gμB/(>0) is the gyromagnetic ratio, g=2 is the g-factor. The LLG equation governs the dynamics of the magnetic moment, which reads

mt=γm×Heff+αm×mt

where m is the unit vector of the magnetic moment, Heff is the effective field.

Unlike the continuous micromagnetic model, the atomistic spin model is discrete, and thus, the effective field Heff is defined as the partial derivative of the total Hamiltonian with respect to m, i.e.,

Heff=1μsHm

where H is the total Hamiltonian including the exchange interaction, Dzyaloshinskii-Moriya interaction, dipolar interaction, anisotropy interaction, Zeeman interaction and so on.

The exchange interaction is given by

Hex=Ji,jmimj

where J denotes the exchange constant and i,j represents a unique pair between lattice sites i and j and we assume that the summation is taken only once for each pair. A positive J results in the ferromagnetic state while a negative J leads to the antiferromagnetic state, which can be seen by minimizing the exchange Hamiltonian. To solve the LLG equation numerically, we need the effective field at each site, which is given

Hex,i=Jμsi,jmj.

Similarly, the Dzyaloshinskii-Moriya interaction reads

Hdmi=i,jDij(mi×mj)

where Dij is the DM vector. Typically, there are two situations: (1) Dij=Dr^ij, which corresponds to the Bulk DMI. (2) Dij=Dr^ij×z^, which corresponds to the interfacial DMI. Unlike the exchange interaction, the DM Hamiltonian is minimal when the two adjacent magnetic moments are perpendicular. The corresponding effective field can be computed by

Hdmi,i=1μsi,jDij×mj.

The other two common interactions are the anisotropy and the Zeeman, which are given by

Han=Ki(miu^)2Hze=μsmiH

The effective field of the anisotropy is

Han,i=2Kμs(miu^)u^.

Multiferroic Insulators

For multiferroics such as Cu2OSeO3, the noncollinear spin texture induces a local electric polarization via the the dp hybridization mechanism. The local electric dipole moment P depends on the direction of the applied static magnetic field relative to the crystallographic axes.[PRL 128, 037201 (2022)]

H0//001:
Pi=λ(mi,zmi,x,mi,ymi,z,mi,x2+mi,y22)
H0//110:
Pi=λ(mi,xmi,y,mi,x2+mi,z22,mi,ymi,z)
H0//111:
Pi,x=λmi,x(2mi,y+mi,z)3Pi,y=λmi,x2+mi,y(mi,y2mi,z)6Pi,z=λmi,x2+mi,y22mi,z223

The Hamiltonian related to the high-frequency lasers is given by

Hlaser=iμsmiH(t)iPiE(t)

The corresponding effective fields associated with the electric field are

H0//001:
Hx=λμs(EzmxExmz)Hy=λμs(Ezmy+Eymz)Hz=λμs(Exmx+Eymy)
H0//110:
Hx=λμs(EymxExmy)Hy=λμs(Exmx+Ezmz)Hz=λμs(Ezmy+Eymz)
H0//111:
Hx=λ3μs(2(Eymx+Exmy)+Ezmx+Exmz)Hy=λ3μs(2(ExmxEymy)+Ezmy+Eymz)Hz=λ3μs(Exmx+Eymy2Ezmz)

Micromagnetic model

In micromagnetics, the effective field can be computed from the total micromagnetic energy

Heff=1μ0MsδEδm

The typical energy terms are

  • Exchange energy
Eex=VA(m)2dV

where (m)2=(mx)2+(my)2+(mz)2. So the corresponding effective field is

Hex=2Aμ0Ms2m
  • Zeeman energy
Eex=μ0VHMdV

as expected, the effective field is H.

  • Anisotropy The uniaxial anisotropy energy is given by
Eanis=VKu(mu^)2dV

from which the effective field can be computed as

Han=2Kuμ0Ms(mu^)u^
  • Cubic Anisotropy The cubic anisotropy energy is given by
Ecubic=VKc(mx4+my4+mz4)dV

and thus the corresponding effective field reads

Hcubic=4Kcμ0Ms(mx3ex+my3ey+mz3ez)
  • Hexagonal Anisotropy The energy density of the hexagonal anisotropy is given by:
E=K1sin2θ+K2sin4θ+K3sin6θcos6ϕ

Here, θ is the angle between the magnetization vector m and the c-axis (z-axis). ϕ is the angle of the projection of m on the hexagonal plane, measured with respect to the x-axis.

Using the identity cos6x=sin6x+15cos2xsin4x15cos4xsin2x+cos6x, the energy density can be rewritten in terms of mx, my, and mz as:

E=K1(1mz2)+K2(1mz2)2+K3(mx615mx4my2+15mx2my4my6)

Therefore, The corresponding effective field is given by:

Heff=6K3μ0Ms(mx510mx3my2+5mxmy4)ex6K3μ0Ms(5mx4my+10mx2my3my5)ey+2mzμ0Ms[K1+2K2(1mz2)]ez

Dzyaloshinskii-Moriya Energy

In the continuum limit, the DMI energy density wdmi is associated with the so-called Lifshitz invariants, which are terms in the form

Lij(k)=mimjxkmjmixk.

The form of DMI energy density varies depending on the symmetry class. For bulk DMI, corresponding to symmetry class T or O, the expression is given by:

wdmi=D(Lyx(z)+Lxz(y)+Lzy(x))=Dm(×m).

The associated effective field is

Hdmi=2Dμ0Ms(×m).

For a thin film with interfacial DMI or a crystal with symmetry class Cnv, the energy density is

wdmi=D(Lxz(x)+Lyz(y))=D(mmzmzm),

and the effective field is

Hdmi=2Dμ0Ms(ey×mxex×my).

For a crystal with symmetry class D2d, the DMI energy density is given by wdmi=D(Lxz(y)+Lyz(x)), resulting in the effective field

Hdmi=2Dμ0Ms(ey×myex×mx).

Although the effective fields for different symmetries differ, the numerical implementation can be unified as follows

Hdmi,i=1μ0MsjNiDijeij×mjΔij,

where Dij represents the effective DMI constant and eij denotes the DMI vectors. For bulk DMI, eij=r^ij where r^ij is the unit vector between cell i and cell j. For interfacial DMI,  eij=ez×r^ij, i.e., eij={ey,ey,ex,ex,0,0} for the 6 neighbors Ni={x,+x,y,+y,z,+z}. For the symmetry class D2d one has eij={ex,ex,ey,ey,0,0}. If the cell-based DMI is provided, the effective DMI constant can be computed as

Dij=2DiDjDi+Dj.
  • Bulk DMI energy The Bulk DMI energy reads
Edmi=VDm(×m)dV

so the effective field is

HD=2Dμ0Ms(×m)
  • Magnetostatic energy
Ed=μ02VHd(r)M(r)dVHd(r)=14π(Vρm(r)rr|rr|3d3r+Sσm(r)rr|rr|3d2r)

LLG equation

The driver LLG solves the standard LLG equation, which can be written as

mt=γm×H+αm×mt

and the corresponding LL form is given by

(1+α2)mt=γm×Hαγm×(m×H)

Inertial LLG Equation

The Inertial LLG equation describes the dynamics of magnetization with inertial effects, extending the classical LLG equation by including a second-order time derivative term:

dmdt=γm×Heff+αm×dmdt+ηm×d2mdt2

where m is the normalized magnetization vector (|m|=1), γ is the gyromagnetic ratio, Heff is the effective magnetic field, α is the Gilbert damping parameter, η=ατ is the inertial parameter, with τ being the angular momentum relaxation time.

To facilitate numerical implementation, we introduce the velocity variable:

v=dmdt

Substituting this definition, the ILLG equation becomes:

v=γm×Heff+αm×v+ηm×dvdt

Taking the cross product of both sides with m:

m×v=γm×(m×Heff)+αm×(m×v)+ηm×(m×dvdt)

Applying the vector triple product identity a×(b×c)=(ac)b(ab)c to the inertial term:

ηm×(m×dvdt)=η(mdvdt)mηdvdt=ηv2mηdvdt

The simplification (mdvdt)=v2 follows from differentiating the constraint mv=0, which itself derives from the conservation of magnetization magnitude |m|=1. The ILLG equation can be transformed into the following coupled first-order system suitable for numerical integration:

dmdt=vdvdt=1ηm×vγηm×(m×Heff)+αηm×(m×v)v2m

Spin Transfer Torques

Spin transfer torque (STT) is a fundamental phenomenon in spintronics where spin-polarized electric currents exert torques on magnetic moments, enabling the manipulation of magnetization states. This effect is typically modeled through extensions to the Landau-Lifshitz-Gilbert (LLG) equation.

Zhang-Li Model

The Zhang-Li model incorporates STT into the LLG equation. The equation for the magnetization vector m is:

dmdt=γm×Heff+αm×dmdtbm×[m×(j)m]ξbm×(j)m

where j is the current density vector and ξ is the non-adiabatic parameter. The coefficient b is defined as:

b=PμBeMs(1+ξ2)

with P being the spin polarization, μB the Bohr magneton, and e>0 the elementary charge.

Note that m×[m×(j)m]=(j)m, the equation simplifies to:

mt=γm×Heff+αm×mt(u)m+β[m×(u)m]

where

u=bJ,β=ξ

and the unit of u is m/s.

Alternative Formulations

Other models may define the current strength parameter differently. For comparison, u is defined as follows:

u=PgμB2eMsj

For detailed discussions on model differences, see this reference.

Atomistic Model

In atomistic simulations, the current strength is adapted for discrete spins:

u=PgμBa32eμsj=Pa32eSj

where a is the lattice constant, μs is the magnetic moment, S=|S| is the magnitude of the local spin vector.

Slonczewski spin transfer torque

The LLG equation including the Slonczewski torque is

dmdt=γm×Heff+α(m×dmdt)+γβϵ[m×(mp×m)]γβξm×mp

where m=M/Ms, γ the gyromagnetic ratio, mp is electron polarization direction, and ξ is the secondary spin-torque parameter. The coefficient β is defined as follows:

β=μ0eJtMs

where e is electron charge (C), J is current density (A/m²), t is free layer thickness (m), Ms is the saturation magnetization (A/m). The coefficient ϵ is defined as

ϵ=PΛ2(Λ2+1)+(Λ21)(mmp)

where P is the spin polarization, Λ is the Slonczewski parameter.

For constant ϵ=P/2 which corresponding to Λ=1, the Slonczewski torque reduced to [PRL 102, 067206 (2009)]

mt=γm×Heff+αm×mtaJm×(m×mp)bJm×mp

where

aJ=γ2μ0ePJtMs,bJ=ξaJ

Damping-Like and Field-Like Torques

The Landau-Lifshitz-Gilbert (LLG) equation can be extended to include damping-like and field-like torques, which are essential for modeling spin-orbit torques (SOT) or Slonczewski torque with constant ϵ(θ). The modified LLG equation is expressed as:

mt=γm×Heff+αm×mtaJm×(m×p)bJm×p

where aJ and bJ are the coefficients of the damping-like and field-like torques, respectively, and p is a unit vector. In the context of SOT in particular, p represents the direction of the spin current generated by spin-orbit coupling.

Effective Field Formulation

For numerical simulations, spin-transfer torque (STT) can be equivalently expressed as an effective field contribution. The LLG equation with STT represented as an effective field becomes:

mt=γm×(Heff+Hstt)+αm×mt

In the Zhang-Li model for STT, the effective field is given:

Hstt=1γ[m×(u)m+β(u)m]

For damping-like and field-like torques, the effective field can be derived as:

Hstt=1γ(aJm×p+bJp)

SLLG equation

The SLLG equation, i.e., LLG equation including the stochastic field b, is given by

mt=γm×(Heff+b)+αm×mt

The thermal fluctuation is assumed to be a Gaussian white noise, i.e., the thermal noise b obeys the properties

b=0,biubjv=2Dδijδuv

where i and j are Cartesian indices, u and v indicate the magnetization components and , represents the average taken over different realizations of the fluctuating field. And

D=αkBTγμs.

For the micromagnetic case, D is given as

D=αkBTμ0MsγΔV.

which is equivalent to a stochastic field

bu=η2αkBTμ0MsγΔVdt

where η is a random number follows the normal distribution.

Steepest descent method

We provide a steepest descent energy minimization method for a complicated system, which is of the form

xk+1=xk+αkdk

where

dk=f(xk)

And for the micromagnetics, we have

mk+1=mkτkmk×(mk×Heff)

In practice, we use the following update rule to keep the magnetization vector normalized.

mk+1=mkτkmk+mk+12×(mk×Heff(mk))mk+12=mk2

From the equation we have:

(1+τk24fk2)mk+1=(1τk24fk2)mkτkgk

where

fk=mk×Heffgk=mk×(mk×Heff)

The step size τk can be computed by

τk1=isk1isk1iisk1iyk1i,τk2=isk1iyk1iiyk1iyk1i

where

sk1=mkmk1yk1=gkgk1

Monte Carlo Simulation

The implemented energy reads

H=i,j(JxSixSjx+JySiySjy+JzSizSjz)+i,jDij(Si×Sj)Ki(uSi)2iHSi

where Si is unit vector of the classical spin at site i.

For interfacial DMI,

Dij=Dz^×r^ij+Dzjz^

while for Bulk DMI,

Dij=Dr^ij

Note that the Monte Carlo only works for triangular and cubic meshes.

NEB (Nudged elastic band)

NEB is a chain method to find the MEP (minimum energy path) between two states. To start, we need to construct a chain including several images (each image is a copy of the magnetization) and then relax the system. Two ends images that corresponding to the initial and final states will be pinned as they are the energy states given by the users. The system contain all free images will be relaxed to reduce the total energy, which is very similar to the case that relaxing the magnetic system using LLG equation if one disables the precession term. One significant difference is that the effective field in LLG equation is the functional derivative of the system energy with respect to magnetization while in NEB the effective field of image n should also contain the influence of its neighbours (i.e., the images n-1 and n+1). This influence is described by the so-called tangents: only the perpendicaular part of the effective field is kept when relaxing the whole system.

Assume that the whole system has N images

Z=[Y1,Y2,...,YN]

where

Yi=[m1x,m1y,m1z,...,mnx,mny,mnz]

each image has n spins. To relax the system, we could solve the equation

Yit=Yi×(Yi×Gi)

where Gi is effective field that can be computed as

Yi=Hi(Hiti)ti+Fi

The Hi is the normal micromagnetic effective field, ti is the tangent and Fi is a force that can be used to adjust the distance between images.

Fi=k(|Yi+1Yi||YiYi1|)ti

The distance bewteen images Yi and Yj is defined as

L=[k(Lki,j)2]1/2

where Lki,j is the geodesic distance of point k that can be computed using Vincenty's formula.

The tangents can be computed as follows

ti+=Yi+1Yiti=YiYi1

The detailed equations can be found @ [Journal of Chemical Physics 113, 22 (2000)] and [Computer Physics Communications 196 (2015) 335–347].