Skip to content

Commit 380f54e

Browse files
committed
Revised sld.rst
1 parent f8eb111 commit 380f54e

1 file changed

Lines changed: 36 additions & 9 deletions

File tree

content/sld/sld.rst

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,70 @@
11
Spin-lattice dynamics
22
=====================
33

4-
SLD simulation of a dimer
5-
-------------------------
4+
For ASD simulations, the minimal set of input files consists of ``inpsd.dat``, a ``posfile``,
5+
a ``momfile``, and a ``jfile``. In order to set up a SLD simulation with UppASD, this set of
6+
input files need to be augmented with a number of files, namely a ``phonfile``, an ``llfile``,
7+
and the coupling constants for a cross coupling Hamiltonian such as the third order
8+
spin-spin-displacement Hamiltonian contained in an ``mmlfile``.
9+
10+
Exercise 1: SLD simulation of a dimer
11+
-------------------------------------
12+
613
In this example we are modeling a spin-lattice coupled magnetic dimer, with zero lattice
714
damping and zero Gilbert damping, using velocity-Verlet or fixed-point iteration
815
implicit midpoint solver. The full expressions for the Hamiltonian, the effective magnetic
916
fields, and the interatomic forces are contained in Eqs. 27-31 in Ref. [Hellsvik2019]_.
1017

11-
The main input file ``inpsd.dat``
18+
The main input file ``inpsd.dat`` contains a number of additional blocks
1219

1320
.. literalinclude:: DimerSLD/DimerpuSLDcoupled/inpsd.dat
1421

15-
the ``posfile`` The file contains the positions of the atoms in terms of basis vector coordinates in the unit cell.
22+
The ``posfile`` contains the positions of the atoms in terms of basis vector coordinates in the unit cell.
1623

1724
.. literalinclude:: DimerSLD/DimerpuSLDcoupled/posfile
1825

19-
the ``momfile`` The file contains the magnetic moments of the atoms in the unit cell.
26+
The ``momfile`` contains the magnetic moments of the atoms in the unit cell.
2027

2128
.. literalinclude:: DimerSLD/DimerpuSLDcoupled/momfile
2229

23-
the ``jfile.nosym`` The file contains the exchange couplings within the system.
30+
The ``jfile.nosym`` contains the exchange couplings within the system.
2431

2532
.. literalinclude:: DimerSLD/DimerpuSLDcoupled/jfile.nosym
2633

27-
The ``phonfile`` File contains ionic masses, initial displacements and velocities. The columns are : site number, atom type, atomic mass, initial displacements and velocities in three different directions x, y, z.
34+
The ``phonfile`` file contains ionic masses, initial displacements and velocities.
35+
The first column is the ``site`` number, the second the atom ``type``,
36+
the third the ``atomic mass`` in atomic mass units, the 4-6th the Cartesian components
37+
of the initial displacements, the 7-9th columns the Cartesian components of the velocities.
2838

2939
.. literalinclude:: DimerSLD/DimerpuSLDcoupled/phonfile
3040

31-
The ``llfile.nosym`` File contains the harmonic force constants for a lattice. The columns are : site number, (not used), interaction vectors depending on maptype, 9 components of the harmonic force constants in the order of [xx, xy, xz, yx, yy, yz, zx, zy, zz].
41+
The ``llfile`` file contains the harmonic force constants.
42+
The first column is the ``site`` number, (not used), the 3rd-5th the interaction vectors
43+
(dependent on ``maptype``), and the 6-15th columns the components of the harmonic force
44+
constants in the order of *xx*, *xy*, *xz*, *yx*, *yy*, *yz*, *zx*, *zy*, *zz*.
3245

3346
.. literalinclude:: DimerSLD/DimerpuSLDcoupled/llfile.nosym
3447

35-
The ``mmlfile.nosym`` File contains the spin-lattice coupling (SLC) constants [see Eqs. 6-9 in Ref. [Hellsvik2019]_]. The columns from first row are : site number (atom i), site number of nearest neighbour mapping (atom j), interaction vectors for nearest neighbour site (j-th) and displaced (k-th) atom depending on maptype. The columns from the second, third and fourth rows are : 9 components of SLC constants for the displacement of k-th atom along x, y, z respecively. The ordering of SLC components in each row are [xx, yx, zx, xy, yy, zy, xz, yz, zz]. For DimerSLD, the SLC constants are of :math:`A_{iji}` type.
48+
The ``mmlfile`` contains the spin-lattice coupling (SLC) constants
49+
[see Eqs. 6-9 in Ref. [Hellsvik2019]_]. The columns from first row are:
50+
site number (atom i), site number of nearest neighbour mapping (atom j),
51+
interaction vectors for nearest neighbour site (j-th) and displaced (k-th)
52+
atom depending on maptype. The columns from the second, third and fourth rows are:
53+
9 components of SLC constants for the displacement of k-th atom along x, y, z respectively.
54+
The ordering of SLC components in each row are [xx, yx, zx, xy, yy, zy, xz, yz, zz].
55+
For a dimer, the SLC constants are of :math:`A_{iji}` type, *i.e.* the displacement is always
56+
on one of the two atoms that are exchange coupled, given that no third site is present.
3657

3758
.. literalinclude:: DimerSLD/DimerpuSLDcoupled/mmlfile.nosym
3859

60+
* Run a simulation for the example ``DimerSLD/DimerpuSLDcoupled``. Which output files are generated?
61+
* Plot the time trajectories of the energies that are written to the file ``lattenergy.scnobase.out``. How do the energies evolve in time? Compare for Fig. 2 in [Hellsvik2019]_.
62+
* Plot the time trajectories of spins (``moment.scnobase.out``), and displacements (``disp.scnobase.out``). How do magnetic precession frequencies evolve in time? Compare for Fig. 3 in [Hellsvik2019]_.
63+
* Compare the input files contained in ``DimerSLD/DimerpuSLDcoupledSym`` with ``DimerSLD/DimerpuSLDcoupled``. How do they differ? Verify that the same Hamiltonians are set up within the UppASD simulation by comparing the ``struct.scnobase.out``, the ``lldata.scnobase.ou``, and the ``mmldata.scnobase.out`` files for the two different cases.
64+
3965
SLD simulation for trimer
4066
-------------------------
67+
4168
TrimerSLD # Trimer SLD, atomic units, with different MML coupling,
4269
# either of :math:`A_{iji}` type or of :math:`A_{ijk}` type.
4370
# optional use of point group symmetries for the couplings

0 commit comments

Comments
 (0)