DiscretePart#

class ansys.dyna.core.pre.dynabase.DiscretePart(pid)#

Bases: Part

Defines a discrete part.

The part definition consists of the combined material information, section properties, hourglass type, thermal properties, and a flag for part adaptivity.

Overview#

set_displacement_option

Set the displacement, which defines the rotation.

set_property

Set properties for the discrete part.

Import detail#

from ansys.dyna.core.pre.dynabase import DiscretePart

Attribute detail#

DiscretePart.type = 'DISCRETE'#
DiscretePart.stub#
DiscretePart.displacement_option = 0#

Method detail#

DiscretePart.set_displacement_option(displacement_option=DRO.DESCRIBES_TRANSLATIONAL_SPRING)#

Set the displacement, which defines the rotation.

DiscretePart.set_property()#

Set properties for the discrete part.