SolidPart#

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

Bases: Part

Defines a solid part.

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

Overview#

set_hourglass

Set the hourglass type, which identifies the bulk viscosity.

set_property

Set the properties for the solid part.

Import detail#

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

Attribute detail#

SolidPart.stub#
SolidPart.type = 'SOLID'#
SolidPart.hourglasstype = -1#

Method detail#

SolidPart.set_hourglass(type=HourglassType.STANDARD_LSDYNA_VISCOUS, coefficient=0.1)#

Set the hourglass type, which identifies the bulk viscosity.

Parameters:
typeenum

Default hourglass control type.

coefficientfloat, optional

Default hourglass coefficient. The default is 0..

SolidPart.set_property()#

Set the properties for the solid part.