Syntax:
fix ID group-ID wall/reflect keyword ...
Examples:
fix xwalls all wall/reflect xlo xhi fix walls all wall/reflect xlo ylo zlo xhi yhi zhi
Description:
Bound the simulation with one or more walls which reflect particles when they attempt to move thru them. Normally, the simulation domain should be set non-periodic via the boundary command in any dimension that has such a wall, but LAMMPS does not check for this condition.
Reflection means that if an atom moves outside the box on a timestep by a distance delta (e.g. due to fix nve), then it is put back inside the box by the same delta and the sign of the corresponding component of its velocity is flipped.
Restrictions: none
Related commands:
fix wall/lj93 command
Default: none