In order to be able to use this module import it like this:

#or assign it to a shorter name
import as har


Description: Harmonic potential model Geometry combinations available:

PC2 | PC1 - Sphere
Sphere YES

HarmonicPotential (Sphere Sphere)

Harmonic potential model

Parallel Compatible: Yes


  • Required keywords:
    • cutoff_distance — cutoff distance
    • k — potential stiffnes
    • pc1 — The first particle container in the binary contact detection.
    • pc2 — The second particle container in the binary contact detection. If contact detection within the same particle container is desired, and it is applicable for the contactmodel, pass the same pc to both pc1 and pc2.

This contact model is composed out of following pieces (click on the chain elements to get more information):