[lammps-users] The parameters of style and coord in fix wall/lj126 command

Dear all:

I do not know the meaning of the parameters of style and coord in fix wall/lj126 command

The original is :

style = xlo or xhi or ylo or yhi or zlo or zhi

coord = position of wall

Whether the xlo and xhi means a wall parallel to x surface? What is the difference between xlo and xhi?

What is the meaning of coord?

Could anybody give me some examples?

Thanks in advance.

Kitty:

The “coord” parameter specifies the location of the wall. Think of it as an equation of the form z = coord (or x = coord or y = coord) which expresses the position of the wall.

The difference between xlo and xhi (for instance) is which side you’re blocking off. “zlo” means that the wall is below z = coord, while “zhi” mens the wall is above z = coord. (The same obviously holds for x and y.)

–AEI