15
$\begingroup$

I am interested to generate some configurations from MD simulations which include the presence of strong magnetic field. Does anyone know any software that has some functionality to do this?

$\endgroup$
  • $\begingroup$ Your best bet is an ab initio MD code, most likely. CP2K has an option to enable an electric field, although I don't know much about this and related keywords. $\endgroup$ – Andrew Rosen May 1 at 0:48
  • 1
    $\begingroup$ What aspect of the magnetic field do you want to simulate? The effect on spins (which is probably a bit easier) or the effect on the orbitals? $\endgroup$ – taciteloquence May 1 at 1:46
  • $\begingroup$ I am thinking if it is possible to add the Lorentz force, for instance, during the propagation. But, I am not really sure what will be the effect of this addition. $\endgroup$ – Meilani Wibowo May 1 at 20:06
6
$\begingroup$

There is certainly Lammps, which has a fix efield that allows you to apply electric field in your chosen cartesian direction. But I am not sure if it works for your purposes. You can play around with it to see.

https://lammps.sandia.gov/doc/fix_efield.html

| cite | improve this answer | |
$\endgroup$
  • 1
    $\begingroup$ +1. But e-field might be quite different from b-field? By the way if you're a LAMMPS user there's now a room just for LAMMPS: chat.stackexchange.com/rooms/109805/lammps $\endgroup$ – Nike Dattani Jul 2 at 1:14
  • $\begingroup$ My bad - I misread the question. There appears to be some discussion in Lammps mailing list about fix bfield, which may be of interest (lammps.sandia.gov/threads/msg66010.html). @NikeDattani: Do I delete my answer or leave this comment as is - what's the correct way to do this? $\endgroup$ – gogo Jul 3 at 3:27
  • $\begingroup$ You're free to add the part about the bfield and the URL to the discussion about it, to your answer. It's okay for your answer to give a bit of info about using LAMMPS with an efield and also with a bfield. It just makes it even more useful, for perhaps double the number of visitors. $\endgroup$ – Nike Dattani Jul 3 at 3:33
4
$\begingroup$

I think that there isn't one. As the cause of the magnetic properties are the electrons, and no MD codes consider the electrons, they are unable to simulate magnetism.

| cite | improve this answer | |
$\endgroup$
  • 2
    $\begingroup$ There are multiple ab initio dynamics codes, including CP2K, CPMD, etc. $\endgroup$ – Geoff Hutchison May 1 at 18:51
2
$\begingroup$

Actually that depends on what you're trying to achieve with the simulation. Generally speaking the magnetic field is not much different from the electric field, therefore the effect can be incorporated with small changes to fix efield in LAMMPS to account for different constants. In fact, this was what we did in a paper some time ago. However, the effect of the external magnetic field on magnetized particles is just a torque, and hence it makes sense to apply the torque only to spherically asymmetrical particles.

| cite | improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.