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, $\gamma=g\mu_B/\hbar (>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)

LLG equation with extensions

Spin transfer torque

In micromagnetics, the spin transfer torque is modelled with the extended LLG equation Zhang-Li extension, which reads

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

where

u=pgμB2eMsj

represents the strength of the current. The unit of u is m/s. In the definition of u, p is the spin polarization of the electric current, e(>0) is the elementary charge, Ms is the saturation magnetization and j is electric current density.

For the atomistic model,

u=pgμBa32eμsj=pa32eSj.

where S=|S| is the length of local spin.

In MicroMagnetic, the the extended LLG equation Zhang-Li extension is implemented in the driver LLG_STT. Moreover, the driver LLG_CPP implements the LLG equation with spin transfer torque for the current-perpendicular-to-plane (CPP) case,

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

The spin valve structures and spin orbit torques can use the LLG_CPP driver.

The driver LLG_STT_CPP has put them together,

mt=γm×H+αm×mt+(u)mβ[m×(u)m]aJm×(m×p)bJm×p

Spin transfer torque as effective field.

The spin transfer torque can also be considered as an effective field. For example, the LLG equation with CPP STT can be rewritten as

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

with Hstt=(1/γ)(aJm×p+bJp). Similarly, note that $(\mathbf{u} \cdot \nabla) \mathbf{m} = - \mathbf{m} \times [ \mathbf{m} \times (\mathbf{u} \cdot \nabla) \mathbf{m}] $ and thus, for zhang-li model, we have Hstt=(1/γ)[m×(u)m+β(u)m].

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].