Hello everyone.

I wrote a program in Lammps that applies pressure on three axes separately. Since in reality the pressure is applied randomly on each of the three axes; How do I write the program to run random commands in the loop?

fix myhug all nphug Tdamp 0.0006 Pstart 1 Pstop 0 x

fix myhug all nphug Tdamp 0.0006 Pstart 1 Pstop 0 y

fix myhug all nphug Tdamp 0.0006 Pstart 1 Pstop 0 z

More Seyed Oveis Mirabootalebi's questions See All
Similar questions and discussions