about fix setforce

Hi lammps-users,

I’d like to simulate a rigid diamond tip sliding on the copper surface
and I’ve already use fix setforce to make the tip a rigid body,
how should I apply a constant load on the rigid tip and give a constant
sliding velocity?

Best Regards,
guzheng

Hi lammps-users,

I'd like to simulate a rigid diamond tip sliding on the copper surface
and I've already use fix setforce to make the tip a rigid body,
how should I apply a constant load on the rigid tip and give a constant
sliding velocity?

if you set the forces of those atoms to zero *and*
initialize their velocity to the same vector *and*
integrate their equations of motion with fix nve,
they will move with a constant velocity. think about
it for a little bit...

axel.

You might want to check out a combination of "fix rigid" and "fix move"
commands.

Ray