mpacts.contact.models.collision.linearforce. linearforce_capsulewithtorque

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

import mpacts.contact.models.collision.linearforce.linearforce_capsulewithtorque
#or assign it to a shorter name
import mpacts.contact.models.collision.linearforce.linearforce_capsulewithtorque as lin

LinearForceForCapsulesWithTorque

Description: Linear repulsion model for capsules with effective torque. Geometry combinations available:

PC2 | PC1 - Rigid_Triangle Rigid_Quad Deformable_Capsule
Sphere     YES
Deformable_Capsule YES YES YES

LinearForceForCapsulesWithTorque (Deformable_Capsule Deformable_Capsule)

Linear repulsion model for capsules with effective torque.

Parallel Compatible: Yes

Properties:

  • Required keywords:
    • k (kg . s^-2) — effective spring constant.
    • 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):

DefaultBoilerPlateDeformable_Cylinder_1_DataDeformable_Cylinder_2_DataDeformable_Capsule_1_Rotational_DataDeformable_Capsule_2_Rotational_DataCapsule_CapsuleN_LinearForceNoDashpotAssembleTorque_DeformableCapsule_2AssembleTorque_DeformableCapsule_1AssembleForces_DeformableCapsuleWithTorqueFeedback

LinearForceForCapsulesWithTorque (Deformable_Capsule Sphere)

Linear repulsion model for capsules with effective torque.

Parallel Compatible: Yes

Properties:

  • Required keywords:
    • k (kg . s^-2) — effective spring constant.
    • 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):

DefaultBoilerPlateDeformable_Cylinder_1_DataSphere0_2_DataDeformable_Capsule_1_Rotational_DataCapsule_SphereN_LinearForceNoDashpotAssembleForces_2AssembleTorque_DeformableCapsule_1AssembleForces_DeformableCapsuleWithTorque_1Feedback

LinearForceForCapsulesWithTorque (Rigid_Quad Deformable_Capsule)

Linear repulsion model for capsules with effective torque.

Parallel Compatible: Yes

Properties:

  • Required keywords:
    • k (kg . s^-2) — effective spring constant.
    • 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.
  • Optional keywords:
    • reject_overlap_r (default value = 1) — Number of radii overlap, at which the contact will be rejected. Set to 0 to disable. Default = 1
  • Read only properties:
    • length_intersection — Length of the cylinder intersection line projected on the Ngon
    • max_overlap — maximal positive overlap on the intersection line.
    • min_overlap — maximal positive overlap on the intersection line.
    • overlap_sphere1 — overlap at the more overlapping sphere.
    • overlap_sphere2 — overlap at the less overlapping sphere.
    • tan_alpha — tangent of the angle between the cylinder axis and the Ngon.

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

DefaultBoilerPlateDeformable_Cylinder_2_DataRigid_NGon_1_Data  <4 >
  ↓
Deformable_Capsule_2_Rotational_DataNGon_CapsuleSphere12N_LinearForceNoDashpotAssembleForces_1AssembleTorque_DeformableCapsule_2AssembleForces_DeformableCapsuleWithTorque_2Feedback

LinearForceForCapsulesWithTorque (Rigid_Triangle Deformable_Capsule)

Linear repulsion model for capsules with effective torque.

Parallel Compatible: Yes

Properties:

  • Required keywords:
    • k (kg . s^-2) — effective spring constant.
    • 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.
  • Optional keywords:
    • reject_overlap_r (default value = 1) — Number of radii overlap, at which the contact will be rejected. Set to 0 to disable. Default = 1
  • Read only properties:
    • length_intersection — Length of the cylinder intersection line projected on the Ngon
    • max_overlap — maximal positive overlap on the intersection line.
    • min_overlap — maximal positive overlap on the intersection line.
    • overlap_sphere1 — overlap at the more overlapping sphere.
    • overlap_sphere2 — overlap at the less overlapping sphere.
    • tan_alpha — tangent of the angle between the cylinder axis and the Ngon.

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

DefaultBoilerPlateDeformable_Cylinder_2_DataRigid_NGon_1_Data  <3 >
  ↓
Deformable_Capsule_2_Rotational_DataNGon_CapsuleSphere12N_LinearForceNoDashpotAssembleForces_1AssembleTorque_DeformableCapsule_2AssembleForces_DeformableCapsuleWithTorque_2Feedback