I saw the discussion forum related to my problem on the following
Please look at this page.
My question is exactly title of this page i.e:"How to add a magnetic
field in LAMMPS?"
so you have seen the answer from steve and you
did get an answer from me. how many more people
do you need to tell you the same thing?