Dear lammps users,
I want to constrain the motion of thermally vibrated atoms only in the lateral direction (x-y plane), i.e. ignore v_z components.
The simulation should be performed in 3D.
Is there simple way to do it?
Thanks in advance.
Joe
Dear lammps users,
I want to constrain the motion of thermally vibrated atoms only in the lateral direction (x-y plane), i.e. ignore v_z components.
The simulation should be performed in 3D.
Is there simple way to do it?
Thanks in advance.
Joe
Dear lammps users,
I want to constrain the motion of thermally vibrated atoms only in the lateral direction (x-y plane), i.e. ignore v_z components.
The simulation should be performed in 3D.
Is there simple way to do it?
You can use the velocity command to set the initial z velocities to zero and then fix setforce to keep the z component of the force at zero.
Axel
See the fix planeforce command.
Steve