Syntax:
bond_style harmonic
Examples:
bond_style harmonic bond_coeff 5 80.0 1.2
Description:
The harmonic bond style uses the potential
where r0 is the equilibrium bond distance. Note that the usual 1/2 factor is included in K.
The following coefficients must be defined for each bond type via the bond_coeff command as in the example above, or in the data file or restart files read by the read_data or read_restart commands:
Restrictions:
This bond style can only be used if LAMMPS was built with the MOLECULAR package (which it is by default). See the Making LAMMPS section for more info on packages.
Related commands:
Default: none