Part
#
- class ansys.dyna.core.pre.dynabase.Part(id)#
Defines the part object.
Overview#
Set the material. |
|
Set the element formulation. |
|
Set the stiffness damping coefficient. |
|
Set extra nodes for the rigid body. |
|
Set initial translational and rotational velocities for the rigid body. |
|
Set properties for the part. |
Import detail#
from ansys.dyna.core.pre.dynabase import Part
Attribute detail#
- Part.stub#
- Part.type = ''#
- Part.id#
- Part.secid = 0#
- Part.mid = 0#
- Part.eosid = 0#
- Part.hgid = 0#
- Part.grav = 0#
- Part.adpopt = 0#
- Part.tmid = 0#
- Part.formulation = 0#
- Part.stiffness_damping = 0#
- Part.rigidbody_initial_velocity = False#
- Part.translation#
- Part.rotation#
- Part.extra_nodes_defined = False#
Method detail#
- Part.set_material(mat, mat_thermal=None)#
Set the material.
- Part.set_element_formulation(formulation)#
Set the element formulation.
- Part.set_stiffness_damping_coefficient(coefficient)#
Set the stiffness damping coefficient.
- Part.set_extra_nodes(nodeset)#
Set extra nodes for the rigid body.
- Parameters:
- nodeset
NodeSet
Extra nodes list.
- nodeset
- Part.set_rigidbody_initial_velocity(translation=Velocity(0, 0, 0), rotation=RotVelocity(0, 0, 0))#
Set initial translational and rotational velocities for the rigid body.
Initial translational and rotational velocities are set at the center of gravity for a rigid body or a nodal rigid body.
- Part.set_property()#
Set properties for the part.