[lammps-users] how to fix atom position in minimization

Dear All,

Which command can I use to fix some specified atoms’ position in minimization process?

Thank you!

Best,
Wei

Dear All,

Which command can I use to fix some specified atoms' position in
minimization process?

you can use fix setforce to zero out forces for atoms that you don't
want to move.

axel.