ansys.dyna.core.pre.dynabase.ShellPart ====================================== .. py:class:: ansys.dyna.core.pre.dynabase.ShellPart(pid) Bases: :py:obj:`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. .. !! processed by numpydoc !! .. py:attribute:: stub .. py:attribute:: type :value: 'SHELL' .. py:attribute:: shear_factor :value: 1 .. py:attribute:: intpoints :value: 5 .. py:attribute:: print :value: 0 .. py:attribute:: thickness :value: 1 .. py:attribute:: hourglasstype :value: -1 .. py:attribute:: defined_des_surface :value: False .. py:attribute:: despid :value: 0 .. py:attribute:: desxid :value: 0 .. py:attribute:: des_nquad :value: 1 .. py:attribute:: des_nsid :value: 0 .. py:attribute:: des_rsf :value: 1 .. py:method:: set_hourglass(type=HourglassType.STANDARD_LSDYNA_VISCOUS, coefficient=0.1) Set the hourglass type, which identifies the bulk viscosity. :Parameters: **type** : :obj:`enum` Default hourglass control type. **coefficient** : :class:`python:float`, :obj:`optional` Default hourglass coefficient. The default is ``0.``. .. !! processed by numpydoc !! .. py:method:: set_shear_factor(factor) Set the shear correction factor, which scales the transverse shear stress. .. !! processed by numpydoc !! .. py:method:: set_integration_points(points=5) Set the number of through thickness integration points. .. !! processed by numpydoc !! .. py:method:: set_printout(print) Set the printout option. .. !! processed by numpydoc !! .. py:method:: set_thickness(thickness) Set the shell thickness. .. !! processed by numpydoc !! .. py:method:: 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: **despid** : :class:`python:int`, :obj:`optional` Part ID for the generated DES elements. The default is ``0``. **desxid** : :class:`python:int`, :obj:`optional` Section ID for the generated DES elements. The default is ``0``. **nquad** : :class:`python:int`, :obj:`optional` Number of equally spaced DES elements to create on a shell element in each local shell direction. The default is ``1``. **nsid** : :class:`python:int`, :obj:`optional` If defined, this card creates a node set with ID NSID for the nodes generated by this card. The default is ``0``. **rsf** : :class:`python:float`, :obj:`optional` Scale factor for determining the DES radius. The default is ``1``. .. !! processed by numpydoc !! .. py:method:: set_property() Set properties for the shell part. .. !! processed by numpydoc !!