[lammps-users] NPT algorithm for triclinic box

Hi,

I was trying to apply NPT for a triclinic box to maintain zero pressure on the boundary of the box. But LAMMPS gave me an error that it cannot apply NPT for a triclinic box. Is it possible to maintain zero pressure on the sides of a triclinic box otherwise? I have to maintain periodic boundary condition on every side.

Thanks in advance

Tawhid

LAMMPS does not (yet) do true Parinello-Rahman
which would hold the off-diagonal pressure components
at a desired value. But that may not be what you
are asking. You can use fix npt (I think, I'm not looking
at the code at the moment) on the dimensions that are
not tilted, e.g. Pzz for a box that is tilted in xy.

Steve