Run one atom under "addforce"

Dear all.

I set one atom and give it an initial velocity, I tried to make it move according to “fix addforce” The fx, fy, fz will change according to the coordinate. However, when I tried to run it, the coordinate and velocity will not change and the atom is always at the initial position in the output file. I have no idea where is the problem.Could you please help me with it?
Thanks!

Your input script is too complex for people to volunteering their time to take a look. Please post a simplest possible input script that illustrates your question.

Thanks for your understanding.

Ray

You need fix nve or similar.

Michal

Thank you! I tried to use it and it told me that " ERROR: Replacing a fix, but new style != old style."

Thank you! I tried to use it and it told me that " ERROR: Replacing a fix,
but new style != old style."​

http://lammps.sandia.gov/doc/Section_errors.html