Controlled energy minimization

Dear lammps-users,

I would like to carry out controlled energy minimization. During it, the atomic positions in x, y direction are fixed and the atoms can only relax in the z direction.

Which commands should I use?

Thank you very much

Best regards,

Lyon

See the fix setforce command, and set the force
to 0.0 on the x,y dimensions.

Steve