Dear LAMMPS community,
Recently I found that lammps can do the spin-lattice dynamics, it was so great! Now I have two questions when I run the example “in.spin.iron”:
First question is about the timestep. I’m trying to do the simulation which is far from equilibrium and need to use the variable timestep, that is, the “fix dt/reset” instead of “timestep”. However, I found that the lattice subsystem will be heated up with no reason to millions of kelvin within tens of steps and finally lead to the error of “lost atoms”. But it never happen if I use fixed timestep (e.g. 0.0001 ps). (see attached file “in.spin.iron.2”, line 36 and 37)
The second question is about the energy transfer between the spin and the lattice subsystem. In the reference “Massively parallel symplectic algorithm for coupled magnetic spin dynamics and molecular dynamics”, the cobalt with “the magnetic exchange interaction, a spin-orbit coupling, and a mechanical EAM potential”, the spin subsystem with thermostat can heat up the lattice subsystem, and the lattice subsystem with thermostat can also heat up the spin system. However, in the example “in.spin.iron”, with only include “exchange interaction and EAM potential”, this can not happend. The spin subsystem with lower temperature can not gain heat from the lattice subsystem with higher temperature (“nve”, or “lattice langevin thermostat”. The heat can only transfer from the spin subsystem to the lattice subsystem. I have try many cases, and I found that the only case that the heat can transfer from spin to lattice is that when the spin is contact to a langevin thermostat and the lattice is not.
Any help is appriciated!
Best regards,
Kan from Sun Yat-sen University
in.spin.iron.2 (1.83 KB)