|
1 | 1 | Spin-lattice dynamics |
2 | 2 | ===================== |
3 | 3 |
|
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 | + |
6 | 13 | In this example we are modeling a spin-lattice coupled magnetic dimer, with zero lattice |
7 | 14 | damping and zero Gilbert damping, using velocity-Verlet or fixed-point iteration |
8 | 15 | implicit midpoint solver. The full expressions for the Hamiltonian, the effective magnetic |
9 | 16 | fields, and the interatomic forces are contained in Eqs. 27-31 in Ref. [Hellsvik2019]_. |
10 | 17 |
|
11 | | -The main input file ``inpsd.dat`` |
| 18 | +The main input file ``inpsd.dat`` contains a number of additional blocks |
12 | 19 |
|
13 | 20 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/inpsd.dat |
14 | 21 |
|
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. |
16 | 23 |
|
17 | 24 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/posfile |
18 | 25 |
|
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. |
20 | 27 |
|
21 | 28 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/momfile |
22 | 29 |
|
23 | | -the ``jfile.nosym`` The file contains the exchange couplings within the system. |
| 30 | +The ``jfile.nosym`` contains the exchange couplings within the system. |
24 | 31 |
|
25 | 32 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/jfile.nosym |
26 | 33 |
|
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. |
28 | 38 |
|
29 | 39 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/phonfile |
30 | 40 |
|
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*. |
32 | 45 |
|
33 | 46 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/llfile.nosym |
34 | 47 |
|
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. |
36 | 57 |
|
37 | 58 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/mmlfile.nosym |
38 | 59 |
|
| 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 | + |
39 | 65 | SLD simulation for trimer |
40 | 66 | ------------------------- |
| 67 | + |
41 | 68 | TrimerSLD # Trimer SLD, atomic units, with different MML coupling, |
42 | 69 | # either of :math:`A_{iji}` type or of :math:`A_{ijk}` type. |
43 | 70 | # optional use of point group symmetries for the couplings |
|
0 commit comments