Deform a simulation box

Hello,

I ran an NPT simulation to reach the equilibrium density (i.e. lattice parameters) and would like to use the average density from the production run for my NVT simulations. Can I perform a compression (or deform) simulation to do that?


Thank you,

Mohammed