LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

bond_style harmonic command

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: none

Related commands:

bond_coeff, delete_bonds

Default: none