LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

fix addforce command

Syntax:

fix ID group-ID addforce fx fy fz 

Examples:

fix kick flow addforce 1.0 0.0 0.0 

Description:

Add fx,fy,fz to the corresponding component of force for each atom in the group. This command can be used to give an additional push to atoms in a simulation, such as for a simulation of Poiseuille flow in a channel.

Restrictions: none

Related commands:

fix setforce, fix aveforce

Default: none