ShellPart#

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

Bases: Part

Defines a shell part.

A shell 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_shear_factor

Set the shear correction factor, which scales the transverse shear stress.

set_integration_points

Set the number of through thickness integration points.

set_printout

Set the printout option.

set_thickness

Set the shell thickness.

set_des_surface

Generate and place discrete element sphere (DES) elements on the surface of shell elements.

set_property

Set properties for the shell part.

Import detail#

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

Attribute detail#

ShellPart.stub#
ShellPart.type = 'SHELL'#
ShellPart.shear_factor = 1#
ShellPart.intpoints = 5#
ShellPart.print = 0#
ShellPart.thickness = 1#
ShellPart.hourglasstype = -1#
ShellPart.defined_des_surface = False#
ShellPart.despid = 0#
ShellPart.desxid = 0#
ShellPart.des_nquad = 1#
ShellPart.des_nsid = 0#
ShellPart.des_rsf = 1#

Method detail#

ShellPart.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..

ShellPart.set_shear_factor(factor)#

Set the shear correction factor, which scales the transverse shear stress.

ShellPart.set_integration_points(points=5)#

Set the number of through thickness integration points.

ShellPart.set_printout(print)#

Set the printout option.

ShellPart.set_thickness(thickness)#

Set the shell thickness.

ShellPart.set_des_surface(despid=0, desxid=0, nquad=1, nsid=0, rsf=-1)#

Generate and place discrete element sphere (DES) elements on the surface of shell elements.

Parameters:
despidint, optional

Part ID for the generated DES elements. The default is 0.

desxidint, optional

Section ID for the generated DES elements. The default is 0.

nquadint, optional

Number of equally spaced DES elements to create on a shell element in each local shell direction. The default is 1.

nsidint, optional

If defined, this card creates a node set with ID NSID for the nodes generated by this card. The default is 0.

rsffloat, optional

Scale factor for determining the DES radius. The default is 1.

ShellPart.set_property()#

Set properties for the shell part.