bond_harmonic - schrummy14/LIGGGHTS_Flexible_Fibers GitHub Wiki

LIGGGHTS Flexible Fibers

Home

Commands

Bond Style Harmonic Command

Syntax

bond_type harmonic

Examples

bond_type harmonic
bond_coeff 1 80.0 1.2

Description

The harmonic bond style uses the following force and moment equation

bond equation

Where r0 is the equilibrium bond distance. Note that the usual 1/2 factor is included in K.

The following coefficeints 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 by the read_data or read_restart commands:

  • K (energy/distance^2)
  • r0 (distance)

Restrictions

This bond style can only be used if LIGGGHTS(R)-PUBLIC was built with the MOLECULAR package (which it is by default). See the How to Install section for more info on packages.

Related Commands

bond_coeff delete_bonds

Defaults

none