Physics and Equations¶
The spindynam package implements the coupled spin-lattice dynamics formalism
described in Tranchida et al., J. Comput. Phys. 372 (2018) 406-425.
Hamiltonian¶
The total Hamiltonian of the coupled spin-lattice system is given by Equation 4:
Where: - \(\mathbf{p}_i\) is the momentum of atom \(i\). - \(m_i\) is the mass of atom \(i\). - \(V(r_{ij})\) is the interatomic potential (mechanical part).
The magnetic Hamiltonian \(\mathcal{H}_{mag}\) includes Zeeman and Exchange interactions (Equation 3):
Where: - \(\mathbf{s}_i\) is the atomic spin (unit vector). - \(J(r_{ij})\) is the distance-dependent exchange interaction. - \(\mathbf{H}_{ext}\) is the external magnetic field. - \(\mu_B\) is the Bohr magneton and \(g_i\) is the Landé g-factor.
Functional Forms¶
The SpinLatticeHeisenberg calculator utilizes the following functional forms for the interactions:
Exchange Interaction \(J(r_{ij})\)¶
The exchange coupling follows an exponential decay with distance:
Where: - \(J_0\) is the exchange constant at the equilibrium distance \(r_0\). - \(\alpha\) is the dimensionless decay parameter.
Atomic Potential \(V(r_{ij})\)¶
The interatomic mechanical potential is modeled as a harmonic well:
Where: - \(K\) is the spring constant. - \(r_0\) is the equilibrium distance.
Equations of Motion¶
The time evolution of any observable \(A\) in the coupled spin-lattice phase space is governed by the Poisson bracket (Equation 5):
The resulting equations of motion for the positions, momenta, and spins are given by (Equation 12):
Forces and Effective Fields¶
The total force \(\mathbf{F}_i\) acting on atom \(i\) consists of mechanical and magnetic contributions (Equation 7):
Where \(\mathbf{e}_{ij} = \frac{\mathbf{r}_i - \mathbf{r}_j}{r_{ij}}\) is the unit vector pointing from atom \(j\) to atom \(i\).
The magnetic effective field \(\boldsymbol{\omega}_i\) (or torque) acting on spin \(i\) is defined as (Equation 8):
Symplectic Integrator¶
To preserve the geometric structure of the phase space (including the spin norm and total energy for NVE), we use a second-order symmetric Suzuki-Trotter decomposition (Equation 13):
Where: - \(\mathcal{L}_p\) updates momenta using forces. - \(\mathcal{L}_r\) updates positions using momenta. - \(\mathcal{L}_s\) is the magnetic Liouvillian, updated via a sequential rotation of each spin.
Spin Rotation (Equation 15)¶
Individual spin updates are performed using a norm-preserving rational propagator:
This formulation avoids the need for ad-hoc normalization and strictly preserves the spin magnitude throughout the simulation.
References¶
Tranchida et al., “A symplectic algorithm for coupled atomistic spin-lattice dynamics”, Journal of Computational Physics, 372 (2018) 406-425. DOI: 10.1016/j.jcp.2018.06.042