[lammps-users] question regarding the compression

If you impose the force with a fix wall command, you could
put the fix and a run command in a loop (see variables and next commands),
and then just re-position the wall successively.

Fix NVT works best if the initial velocities give a temperature close
to the target T.

Steve