BeamPart#

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

Bases: Part

Defines a beam part.

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

Overview#

set_cross_type

Set the type for the cross section.

set_diameter

Set the outer diameter for the cross section.

set_property

Set properties for the beam part.

Import detail#

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

Attribute detail#

BeamPart.stub#
BeamPart.type = 'BEAM'#
BeamPart.crosstype = 1#

Method detail#

BeamPart.set_cross_type(cross)#

Set the type for the cross section.

BeamPart.set_diameter(diameter)#

Set the outer diameter for the cross section.

BeamPart.set_property()#

Set properties for the beam part.