Dear all,
I believe the current implementation of iso barostat in lammps is inappropriate for tricubic systems.
For example, if you have a system defined as: (the red lines in the attached figure corresponds to the xy projection)
0 10 xlo xhi
0 8 ylo yhi
0 10 zlo zhi
-4 0 0 xy xz yz
After some time of evolution, e.g., driven by the pressure approaching their targets, if "lx" is expected to increase from 10 to 11,
one would expect a box like (green lines in the attached figure):
0 11 xlo xhi
0 8.8 ylo yhi
0 11 zlo zhi
-4.4 0 0 xy xz yz
However, in the present implementation of iso barostat, lammps will give a box like (the blue lines):
0 11 xlo xhi
0 8.8 ylo yhi
0 11 zlo zhi
-4 0 0 xy xz yz
Consequently, the geometry of the original box is destroyed. I think the correct way should be to rescale xy, xz and yz
simultaneously when one rescales lx, ly, and lz when barostating a tricubic system in the iso mode.
Any objection?
Lingti Kong