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
Description: Harmonic potential model Geometry combinations available:
|PC2 | PC1 -||Sphere|
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):
DefaultBoilerPlate ↓ Sphere0_2_Data ↓ Sphere0_1_Data ↓ Sphere_Point ↓ Harmonic_Potential ↓ AssembleForces ↓ NoFeedback