doc:user:elements:contact:interactions
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:user:elements:contact:interactions [2013/07/10 16:09] – created joris | doc:user:elements:contact:interactions [2025/04/09 10:57] (current) – [Defo-Defo contact] papeleux | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Contact Interactions ====== | ||
+ | Contact elements are generated on the mesh using '' | ||
+ | |||
+ | ===== Rigid-Defo contact ===== | ||
+ | |||
+ | Interaction between a rigid body (die), meshed or not, and a deformable meshed entity. | ||
+ | |||
+ | ci = RdContactInteraction(number) | ||
+ | ci.setTool(gObject1) | ||
+ | ci.push(gObject2) | ||
+ | ci.setSmoothNormals(bool) | ||
+ | ci.addProperty(prp) | ||
+ | interactionset.add(ci) | ||
+ | |||
+ | where | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |'' | ||
+ | |'' | ||
+ | |'' | ||
+ | |||
+ | ===== Defo-Defo contact ===== | ||
+ | |||
+ | Interaction between two different deformable meshed entities. By default, contact is double in two steps. First, the nodes from the second body are considered as slaves of the first body, then, nodes from the first are considered as slaves of the second. | ||
+ | |||
+ | ci = DdContactInteraction(number) | ||
+ | ci.setTool(gObject1) | ||
+ | ci.push(gObject2) | ||
+ | ci.setSmoothNormals(bool) | ||
+ | ci.setGeoContact() | ||
+ | ci.setSinglePass() | ||
+ | ci.addProperty(prp) | ||
+ | interactionset.add(ci) | ||
+ | |||
+ | where | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | ===== Auto - Contact ===== | ||
+ | |||
+ | Interaction between two parts of a same meshed body. | ||
+ | |||
+ | ci = ScContactInteraction(number) | ||
+ | ci.push(gObject1) | ||
+ | ci.setSmoothNormals(bool) | ||
+ | ci.addProperty(prp) | ||
+ | interactionset.add(ci) | ||
+ | |||
+ | where | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | ===== Rigid-Defo contact driven with a force ===== | ||
+ | |||
+ | Interaction between a rigid body (die) and a deformable meshed entity. When this contact interaction is instantiated, | ||
+ | |||
+ | ci = FdRdContactInteraction(number) | ||
+ | ci.setTool(gObject1) | ||
+ | ci.push(gObject2) | ||
+ | ci.setSmoothNormals(bool) | ||
+ | ci.addProperty(prp) | ||
+ | interactionset.add(ci) | ||
+ | |||
+ | where | ||
+ | |||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' |