How to apply magnetic field in lammps

Dear all,
I want to ask that is there a way I can apply magnetic field in my simulation. I have a box of water and magnetic particle (Fe) arranged in a random manner. I want to see how the interaction changes between them when a magnetic field of certain strength is applied to them. Is there anyway to do this in lammps. I learnt about the spin package but having trouble in applying it. If anybody wants to know which equation I am using for the magnetic field I can give that.

Thank you,
Devargya

Hi Devargya,

Maybe the following work can provide some points to your problem.

https://link.springer.com/article/10.1007/s00466-017-1508-y

I hope it helps!

Best,
Huilin

Thanks, I’ll check it out.