LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

fix enforce2d command

Syntax:

fix ID group-ID enforce2d 

Examples:

fix 5 all enforce2d 

Description:

Zero out the z-dimension velocity and force on each atom in the group. This is useful when running a 2d simulation to insure that atoms do not move from their initial z coordinate.

Restrictions: none

Related commands: none

Default: none