forked from lijiext/lammps
97 lines
3.4 KiB
Plaintext
97 lines
3.4 KiB
Plaintext
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
|
|
|
|
:link(lws,http://lammps.sandia.gov)
|
|
:link(ld,Manual.html)
|
|
:link(lc,Section_commands.html#comm)
|
|
|
|
:line
|
|
|
|
angle_style command :h3
|
|
|
|
[Syntax:]
|
|
|
|
angle_style style :pre
|
|
|
|
style = {none} or {hybrid} or {charmm} or {class2} or {cosine} or \
|
|
{cosine/squared} or {harmonic} :ul
|
|
|
|
[Examples:]
|
|
|
|
angle_style harmonic
|
|
angle_style charmm
|
|
angle_style hybrid harmonic cosine :pre
|
|
|
|
[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"_read_data.html or "read_restart"_read_restart.html 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"_angle_coeff.html command.
|
|
|
|
All angle potentials store their coefficient data in binary restart
|
|
files which means angle_style and "angle_coeff"_angle_coeff.html
|
|
commands do not need to be re-specified in an input script that
|
|
restarts a simulation. See the "read_restart"_read_restart.html
|
|
command for details on how to do this. The one exception is that
|
|
angle_style {hybrid} only stores the list of sub-styles in the restart
|
|
file; angle coefficients need to be re-specified.
|
|
|
|
IMPORTANT NOTE: When both an angle and pair style is defined, the
|
|
"special_bonds"_special_bonds.html command often needs to be used to
|
|
turn off (or weight) the pairwise interaction that would otherwise
|
|
exist between 3 bonded atoms.
|
|
|
|
In the formulas listed for each angle style, {theta} is the angle
|
|
between the 3 atoms in the angle.
|
|
|
|
:line
|
|
|
|
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"_angle_coeff.html command.
|
|
|
|
Note that there are also additional angle styles submitted by users
|
|
which are included in the LAMMPS distribution. The list of these with
|
|
links to the individual styles are given in the angle section of "this
|
|
page"_Section_commands.html#cmd_5.
|
|
|
|
"angle_style none"_angle_none.html - turn off angle interactions
|
|
"angle_style hybrid"_angle_hybrid.html - define multiple styles of angle interactions :ul
|
|
|
|
"angle_style charmm"_angle_charmm.html - CHARMM angle
|
|
"angle_style class2"_angle_class2.html - COMPASS (class 2) angle
|
|
"angle_style cosine"_angle_cosine.html - cosine angle potential
|
|
"angle_style cosine/delta"_angle_cosine_delta.html - difference of cosines angle potential
|
|
"angle_style cosine/periodic"_angle_cosine_periodic.html - DREIDING angle
|
|
"angle_style cosine/squared"_angle_cosine_squared.html - cosine squared angle potential
|
|
"angle_style harmonic"_angle_harmonic.html - harmonic angle
|
|
"angle_style table"_angle_table.html - tabulated by angle :ul
|
|
|
|
:line
|
|
|
|
[Restrictions:]
|
|
|
|
Angle styles can only be set for atom_styles that allow angles to be
|
|
defined.
|
|
|
|
Most angle styles are part of the MOLECULAR package. They are only
|
|
enabled if LAMMPS was built with that package. See the "Making
|
|
LAMMPS"_Section_start.html#start_3 section for more info on packages.
|
|
The doc pages for individual bond potentials tell if it is part of a
|
|
package.
|
|
|
|
[Related commands:]
|
|
|
|
"angle_coeff"_angle_coeff.html
|
|
|
|
[Default:]
|
|
|
|
angle_style none :pre
|