|
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 | +In these exercises you will explore how a spin-lattice coupled systems can be set up for |
| 11 | +simulation with UppASD. The first two systems are a magnetic dimer and a magnetic trimer. |
| 12 | +For these systems input files are provided in two variants, either with the full set of |
| 13 | +interactions specified, or with only the irreducible set of interactions are specified. |
| 14 | +In the latter case the point group operations that are activated with the ``sym`` flag |
| 15 | +are used to work out the full set of couplings. |
| 16 | + |
| 17 | +Exercise 1: SLD simulation of a dimer |
| 18 | +------------------------------------- |
| 19 | + |
6 | 20 | In this example we are modeling a spin-lattice coupled magnetic dimer, with zero lattice |
7 | 21 | damping and zero Gilbert damping, using velocity-Verlet or fixed-point iteration |
8 | 22 | implicit midpoint solver. The full expressions for the Hamiltonian, the effective magnetic |
9 | 23 | fields, and the interatomic forces are contained in Eqs. 27-31 in Ref. [Hellsvik2019]_. |
10 | 24 |
|
11 | | -The main input file ``inpsd.dat`` |
| 25 | +The main input file ``inpsd.dat`` contains a number of additional blocks |
12 | 26 |
|
13 | 27 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/inpsd.dat |
14 | 28 |
|
15 | | -the ``posfile`` The file contains the positions of the atoms in terms of basis vector coordinates in the unit cell. |
| 29 | +The ``posfile`` contains the positions of the atoms in terms of basis vector coordinates in the unit cell. |
16 | 30 |
|
17 | 31 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/posfile |
18 | 32 |
|
19 | | -the ``momfile`` The file contains the magnetic moments of the atoms in the unit cell. |
| 33 | +The ``momfile`` contains the magnetic moments of the atoms in the unit cell. |
20 | 34 |
|
21 | 35 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/momfile |
22 | 36 |
|
23 | | -the ``jfile.nosym`` The file contains the exchange couplings within the system. |
| 37 | +The ``jfile.nosym`` contains the exchange couplings within the system. |
24 | 38 |
|
25 | 39 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/jfile.nosym |
26 | 40 |
|
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. |
| 41 | +The ``phonfile`` file contains ionic masses, initial displacements and velocities. |
| 42 | +The first column is the ``site`` number, the second the atom ``type``, |
| 43 | +the third the ``atomic mass`` in atomic mass units, the 4-6th the Cartesian components |
| 44 | +of the initial displacements, the 7-9th columns the Cartesian components of the velocities. |
28 | 45 |
|
29 | 46 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/phonfile |
30 | 47 |
|
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]. |
| 48 | +The ``llfile`` file contains the harmonic force constants. |
| 49 | +The first column is the ``site`` number, (not used), the 3rd-5th the interaction vectors |
| 50 | +(dependent on ``maptype``), and the 6-15th columns the components of the harmonic force |
| 51 | +constants in the order of *xx*, *xy*, *xz*, *yx*, *yy*, *yz*, *zx*, *zy*, *zz*. |
32 | 52 |
|
33 | 53 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/llfile.nosym |
34 | 54 |
|
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. |
| 55 | +The ``mmlfile`` contains the spin-lattice coupling (SLC) constants |
| 56 | +[see Eqs. 6-9 in Ref. [Hellsvik2019]_]. The columns from first row are: |
| 57 | +site number (atom i), site number of nearest neighbour mapping (atom j), |
| 58 | +interaction vectors for nearest neighbour site (j-th) and displaced (k-th) |
| 59 | +atom depending on maptype. The columns from the second, third and fourth rows are: |
| 60 | +9 components of SLC constants for the displacement of k-th atom along x, y, z respectively. |
| 61 | +The ordering of SLC components in each row are [xx, yx, zx, xy, yy, zy, xz, yz, zz]. |
| 62 | +For a dimer, the SLC constants are of :math:`A_{iji}` type, *i.e.* the displacement is always |
| 63 | +on one of the two atoms that are exchange coupled, given that no third site is present. |
36 | 64 |
|
37 | 65 | .. literalinclude:: DimerSLD/DimerpuSLDcoupled/mmlfile.nosym |
38 | 66 |
|
39 | | -SLD simulation for trimer |
40 | | -------------------------- |
41 | | -TrimerSLD # Trimer SLD, atomic units, with different MML coupling, |
42 | | - # either of :math:`A_{iji}` type or of :math:`A_{ijk}` type. |
43 | | - # optional use of point group symmetries for the couplings |
| 67 | +* Run a simulation for the example ``DimerSLD/DimerpuSLDcoupled``. Which output files are generated? |
| 68 | +* 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]_. Use the sccript ``plotTrajDimerSLD.py``. |
| 69 | +* Plot the time trajectories of spins (``trajectory.scnobase.001.1.out``, ``trajectory.scnobase.002.1.out``), and displacements (``disptraj.scnobase.1.1.out``, ``disptraj.scnobase.2.1.out``). How do magnetic precession frequencies evolve in time? Compare for Fig. 3 in [Hellsvik2019]_. |
| 70 | +* 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. |
| 71 | + |
| 72 | +Exercise 2: SLD simulation for trimer |
| 73 | +------------------------------------- |
| 74 | + |
| 75 | +* Run a simulation for the example ``TrimerSLD/TrimerauSLD3site``. |
| 76 | +* Modify the plot script ``plotTrajDimerSLD.py`` that was used for the dimer, so that it can be used for the trimer. |
| 77 | +* Run a simulation for the example ``TrimerSLD/TrimerauSLD3siteSym``. Compare the input files contained in ``TrimerSLD/TrimerauSLD3siteSym`` with ``TrimerSLD/TrimerauSLD3site``. How do they differ? |
| 78 | + |
| 79 | +Exercise 3: Phonon and magnon spectra for bcc Fe |
| 80 | +------------------------------------------------ |
44 | 81 |
|
45 | | -bcc Fe |
46 | | ------- |
47 | 82 | bccFeSLD # bcc Fe with MM, LL and MML coupling. Uses cutoff in LL interaction |
48 | 83 |
|
49 | 84 | # Variants available in the runbccFe*.sh scripts |
|
0 commit comments