ansys.dyna.core.pre.dynabase.Constraint#
- class ansys.dyna.core.pre.dynabase.Constraint#
Provides a way of constraining degrees of freedom to move together in some way.
- spotweldlist = []#
- cnrbsetidlist = []#
- jointsphericallist = []#
- mergerigidlist = []#
- create_spotweld(nodeid1, nodeid2)#
Define massless spot welds between non-contiguous nodal pairs.
- create_cnrb(nodeset)#
Create a nodal rigid body, which is a rigid body that consists of defined nodes.
- Parameters:
- nodeset
NodeSet
Node set that defines the rigid body.
- nodeset
- Returns:
- bool
True
when successful,False
when failed.
- create_joint_spherical(nodes, relative_penalty_stiffness=1.0, damping_scale_factor=1.0)#
Create a joint between two rigid bodies.
- merge_two_rigid_bodies(lead_rigidbody=0, constrained_rigidbody=0)#
Merge two rigid bodies.
One rigid body, called the constrained rigid body, is merged into another rigid body, called the lead rigid body.
- create()#
Create a constraint.