mpacts.contact.models.springs. harmonicpotential

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

import mpacts.contact.models.springs.harmonicpotential
#or assign it to a shorter name
import mpacts.contact.models.springs.harmonicpotential as har

HarmonicPotential

Description: Harmonic potential model Geometry combinations available:

PC2 | PC1 - Sphere
Sphere YES

HarmonicPotential (Sphere Sphere)

Harmonic potential model

Parallel Compatible: Yes

Properties:

  • 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):

DefaultBoilerPlateSphere0_2_DataSphere0_1_DataSphere_PointHarmonic_PotentialAssembleForcesNoFeedback