Harmonic bond¶
Description¶
The harm_bond type of bond potential calculates the standard harmonic bond potential given by
\[
E = \frac{1}{2} k \left ( r -r_0 \right )^2
\]
with \(k\) and \(r_0\) the potential parameters decribed in the following table.
| Parameter | Units | Description |
|---|---|---|
| \(k\) | mass/time\(^2\) | spring constant |
| \(r_0\) | distance | equilibrium bond length |
YAML syntax¶
compute_force_bond:
potentials_for_bonds:
- types: [STRING, STRING]
potential: harm_bond
parameters:
r0: VALUE UNITS
k: VALUE UNITS
- STRING = Name of the atom type (specie) involved in the bond.
- VALUE = Physical value of the intended parameter.
- UNITS = Units of the provided value that will be passed to the conversion helper for internal units conversion.
Usage examples¶
Systems with a single atom type (specie)