[lammps-users] Question about displace_box

Hello everybody, I was trying to modify the simulation box in the z direction. I don't know how the two other direction w and y will behave So i want to fix just the z and keep the two other direction free to compress or to retract. Is there any way to do this in lammps, i used NVT but NVT fix all the directions.

Any help will be appreciated.

Thanks

Raouf Mbarki

The boundary command is what sets the conditions
on the box boundaries in LAMMPS. Fix nvt (or nve, npt, etc)
has nothing to do with the boundaries. The boundary
command can set each of the boundaries to what you mention.

Steve