feeLLGood – Spin accumulation
FeeLLGood can take into account spin accumulation effects through the spin transfer torque mechanisms. Throughout this website, we will use the term “spin accumulation” as a shortcut for the whole multiphysics problem consisting of electric potential and spin diffusion sub-problems, combined with the micromagnetic Gilbert equation modified with the Slonczewski term.
Model
FeeLLGood can solve the following generic problem: a non magnetic metallic electrode in contact with a magnetic material. The spin diffusion equation is solved inside both the electrode and the magnetic object, and the micromagnetic problem is solved inside the magnet. Since the current density drives the spin diffusion problem, the electrokinetic equation is also solved in the whole mesh once, in order to know the potential \(V\) everywhere. Once the potential \(V\) is known, the spin diffusion equation is solved in order to get spin density \(\mathbf{s}\) everywhere. Then, the Gilbert equation is solved, with an added torque induced by \(\mathbf{s}\) on the magnetization \(\mathbf{m}\). FeeLLGood does not take into account the back action of the variation of \(\mathbf{m}\) into \(\mathbf{s}\) in the spin diffusion problem. Since the characteristic time scale of the spin diffusion problem is much shorter than the characteristic time scale of the magnetization dynamics, it is assumed that at each instant the spin density \(\mathbf{s}\) is at equilibrium. Consequently, FeeLLGood does not solve the spin diffusion and the magnetization dynamics simultaneously.
Electric potential sub-problem
FeeLLGood computes the electric potential \(V\) by solving the systems of equations
\[\left\{ \begin{aligned} & \mathbf{j} = -\sigma \nabla V \\ & \nabla \cdot \mathbf{j} = 0 \end{aligned} \right.\]The first equation is Ohm’s law, where \(\mathbf{j}\) is the charge current density, and \(\sigma\) the electric conductivity. The second equation is the electric charge conservation. This implicitly neglects the time variation of the volume charge density. The Oersted field resulting from \(\mathbf{j}\) is neglected too. The potential \(V\) is computed once, everywhere, in both the magnetic and the non-magnetic materials.
The following boundary conditions have to be introduced: On a surface, a constant potential \(V_{S_1}\) has to be set and, on another surface, a constant normal charge current density \(J_{S_2}\). The surfaces \(S_1\) and \(S_2\) must not have any intersection. The electric conductivity \(\sigma\) has to be defined on every material in the mesh.
Spin diffusion sub-problem
At each time-step, everywhere in the mesh, the local spin diffusion equation is solved:
\[\nabla \cdot Q = \sum_{i,k} \frac{\partial Q_{i,k}}{\partial x_k} \hat{x}_i = - \frac{ \mathbf{s} } {\tau_\text{sf}} - \frac{ \mathbf{s} \times \mathbf{m} }{\tau_\text{sd}}\]where \(\tau_\text{sf}\) and \(\tau_\text{sd}\) are time constants of diffusion, and \(Q\) is the current spin density. The second term in the right hand side of the spin diffusion equation only exists in magnetic materials. \(Q\) is a rank 2 tensor, with the component \(Q_{i,k}\) representing the flow of the \(i\)-th component of the spin density \(\mathbf{s}\) along the \(k\)-th direction of space. These components are given by:
\[Q_{i,k} = -\frac{\mu_B P}{|e|} \mathbf{m}_{i} \, \mathbf{j}_{k} -D_0 \frac{\partial \mathbf{s}_i}{\partial x_k}\]with the following constants:
-
\(P = \frac{n^{\uparrow}-n^{\downarrow}}{n^{\uparrow}+n^{\downarrow}}\) the polarization rate, between −1 and +1
-
\(D_0 = \frac{2 \sigma}{e^2 N_0}\) the spin diffusion constant
-
\(N_0\) the density of states at the Fermi level
-
\(\mu_B\) the Bohr magneton
-
\(e\) the electron charge
At interfaces, the spin density \(\mathbf{s}\) is assumed to be continuous, and the normal component of \(Q\) is conserved. In order to solve the diffusion equation everywhere in the mesh, Dirichlet boundary conditions are introduced on two surfaces:
-
on the surface \(S_1\) where a constant normal current density \(\mathbf{j}_{S_1}\) was provided for the computation of the potential \(V\), the constant spin density \(\mathbf{s}_{S_1}\) has to be provided too,
-
on a surface \(S_2\), a constant spin density \(\mathbf{s}\) is fixed, possibly to zero.
To illustrate a problem feeLLGood might solve, here is a simple sketch, corresponding to example 5.

The blue cylinder is a magnetic material, the light red cylinder is a non magnetic electrode, the cube is a spin polarizer. A mesh would have to provide two volume regions (the two cylinders) and two surfaces:
-
\(S_1\), the disk joining the cube (spin reservoir) and the blue cylinder, where unit polarization vector \(\mathbf{u}_P\) and current density \(\mathbf{j}\) are fixed,
-
\(S_2\), the red disk surface, where both spin density \(\mathbf{s}\) and potential \(V\) are fixed.
The cube in the sketch does not need to be meshed. It is only meant to illustrate where the spin polarizer would be, and to help understanding on what surfaces one has to define the boundary conditions.
Micromagnetic problem
The Gilbert equation is modified with an extra torque contribution:
\[\frac{\partial \mathbf{m}}{\partial t} = - |\gamma_0| \mathbf{m} \times \mathbf{H}_\text{eff} + \alpha \mathbf{m} \times \frac{\partial \mathbf{m}}{\partial t} + \frac{1}{\tau_{\text{sd}} M_s} \mathbf{m} \times \mathbf{s}\]This extra contribution to the dynamics of the magnetization is the so-called “spin transfer torque” contribution. It was introduced separately by L. Berger and J.Slonczewski in 1996, and refined since. In our model, the effective field is the same as the one in the classic micromagnetic problem, including the exchange field and the demagnetizing field. At each time-step, the solution to the spin diffusion sub-problem \(\mathbf{s}\) is updated, and the normalized magnetization \(\mathbf{m}\) is solved for in all magnetic regions.
Spin accumulation parameters
As previously explained in the model section, here are the parameters required for computing the spin accumulation contributions to the magnetization dynamics, in S.I. units.
On surfaces:
- On a surface region \(S_1\), a constant normal current density \(\mathbf{j} \cdot \hat{n}\) (in A/m2), as well as a unit vector polarization \(\mathbf{u}_P\) (unitless) and \(P\) the polarization rate.
- On a surface \(S_2\), a constant potential \(V\) (in volts) and a constant spin density \(\mathbf{s}\) (in A/m). They might be zero.
On volumes:
- the electric conductivity, \(\sigma\), and the density of states at the Fermi level, \(N_0\),
- the characteristic length \(l_\text{sf}\) in all regions,
- the characteristic length \(l_\text{sd}\) in magnetic volume regions.
Mesh recommendations
Since the characteristic lengths \(l_{\text{sf}}\) and \(l_{\text{sd}}\) are in the range of one to a few nanometers, the average tetrahedron mesh size should be small enough. It is also important to build the mesh in a way that surface \(S_2\) is relatively far from the part of the mesh where \(\mathbf{s}\) is varying fast. The surface \(S_1\) is an interface to a reservoir of spin, defining the unit polarization vector \(\mathbf{u}_P\). It is recommended to mesh uniformly the whole problem, because of the order of magnitude of the characteristic lengthes \(l_\text{sf}\) and \(l_\text{sd}\). But if ever \(l_\text{sf}\) in the non magnetic material is much bigger than the exchange length \(l_\text{ex}\) in the magnet a non uniform mesh might be considered. All surfaces are oriented, local normals \(\hat{n}\) outward-facing.