[lammps-users] which ensemble has to be used to approximtes real deformation process?

The fix deform command can change the shape/size of your
simulation box, similar to how stress/strain tests are done
with expts. You typically just use fix nve to integrate the
atoms while fix deform is doing its thing.