LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

fix efield command

Syntax:

fix ID group-ID efield ex ey ez 

Examples:

fix kick external-field efield 1.0 0.0 0.0 

Description:

Add a force F = qE to each charged atom in the group due to an external electric field being applied to the system.

Restrictions: none

Related commands:

fix addforce

Default: none