mpacts.contact.models.misc. setmatrix

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

import mpacts.contact.models.misc.setmatrix
#or assign it to a shorter name
import mpacts.contact.models.misc.setmatrix as set

ContactMatrixSetter

Description: ContactMatrixSetter Model. Used for the unit test for the contact matrix elements. Geometry combinations available:

PC2 | PC1 - any
any YES

ContactMatrixSetter (any any)

ContactMatrixSetter Model. Used for the unit test for the contact matrix elements.

Parallel Compatible: Yes

Properties:

  • Required keywords:
    • 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:
    • _contactmatrixdatatype (default value = 1) — Identifier that signals that this chain element’s containing contact model is a friction matrix type. Only change this if you really know what you are doing!

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

DefaultBoilerPlateContactMatrixDataBoilerPlateContactMatrixContactStateNoFeedback

RemoveResetElements

Description: Elements in the ParentFrictionMatrix that are equal to 0.0can be removed by the ReuseExistingContactDetector (feedback:=-max). Also sets remaining elements to 0.0 for next round. Geometry combinations available:

PC2 | PC1 - any
any YES

RemoveResetElements (any any)

Elements in the ParentFrictionMatrix that are equal to 0.0can be removed by the ReuseExistingContactDetector (feedback:=-max). Also sets remaining elements to 0.0 for next round.

Parallel Compatible: Yes

Properties:

  • Required keywords:
    • 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:
    • _contactmatrixdatatype (default value = 1) — Identifier that signals that this chain element’s containing contact model is a friction matrix type. Only change this if you really know what you are doing!
  • Read only properties:
    • is_remove_from_contactmatrix_type — Identifier that signals that this contact model performs a reset of the friction matrix element

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

DefaultBoilerPlateContactMatrixDataBoilerPlateContactMatrixContactStateRemoveFromContactMatrix