Syntax:
angle_style style
Examples:
angle_style harmonic angle_style charmm angle_style hybrid harmonic cosine
Description:
Set the formula(s) LAMMPS uses to compute angle interactions between triplets of atoms, which remain in force for the duration of the simulation. The list of angle triplets is read in by a read_data or read_restart command from a data or restart file.
Hybrid models where angles are computed using different angle potentials can be setup using the hybrid angle style.
The coefficients associated with a angle style can be specified in a data or restart file or via the angle_coeff command.
In the formulas listed for each angle style, theta is the angle between the 3 atoms in the angle.
Note that when both an angle and pair style is defined, the special_bond command often needs to be used to turn off (or weight) the pairwise interactions that would otherwise exist between the 3 bonded atoms.
Here is an alphabetic list of angle styles defined in LAMMPS. Click on the style to display the formula it computes and coefficients specified by the associated angle_coeff command:
Restrictions:
Angle styles can only be set for atom_styles that allow angles to be defined.
Angle styles are part of the "molecular" package or other packages as noted in their documentation. They are only enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info.
Related commands:
Default:
angle_style none