[lammps-users] Question in 'fix wall/lj126 command'

Dear All,

I am wondering, the meaning of xlo, xhi,ylo,yhi… together with the ‘position’ parameter in that command.

Form example, if I set ’ … zlo 100… ', does it mean I put the wall at the box with height=100? Then, what about the meaning of
‘zhi 100’. Thanks.

2009/5/14 Jarvis Chong <zhuanghl@…24…>

Dear All,

I am wondering, the meaning of xlo, xhi,ylo,yhi… together with the ‘position’ parameter in that command.

Form example, if I set ’ … zlo 100… ', does it mean I put the wall at the box with height=100? Then, what about the meaning of
‘zhi 100’. Thanks.

Say the wall is at position w, and call the coordinate of a particle in that same direction r. A “lo” wall (xlo, ylo, or zlo) prevents a particle from going from the region r > w to the region r < w, while the “hi” wall (xhi, yhi, or zhi) prevents a particle from going from the region r < w to the region r > w.

So, it’s a lot like specifying which way the wall “faces.”

–AEI