[lammps-users] How to controll the motion of a rigid group?

Hi everybody,

I use “fix rigid” command on a group of atoms and want to let it moving along a specific direction with a constant velocity.

However, the manual says:
“The fix rigid updates the positions and velocities of the rigid atoms with a constant-energy time integration, so you should not update the same atoms via other fixes (e.g. nve, nvt, npt).”

Then how can I let a rigid group moving with a specific velocity?

Thanks in advance!

You can just set their initial velocity to v, use fix setforce to set
force to 0.0, and then integrate them with fix nve.