[lammps-users] It seems that displace_box cannot work when tilt factor is not zero

Hello, everyone

I wrote a simple script to test displace_box whether it works when tilt factor is not zero.

Script is listed below:

How are you detecting works versus doesn't work? Your script
just ends without printing anything out.

When I added these 2 lines at the end of your input script below:
dump 1 all atom 100 tmp.dump
run 0

it prints out energy and a dump file. With toggling the applied xy
dipslacement from 0.0 to finite, both the energy/pressure of the system changes
as do the box dimensions printed in the dump file.

Also, are you using the current version of the code?