<div dir="ltr">Can't you just run the simulation until this NVT step and then write a restart file. In the restart file you should easily be able to manually swap the velocities.<br></div>