:class:`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:currentmodule:: ShellPart Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~set_hourglass` - Set the hourglass type, which identifies the bulk viscosity. * - :py:attr:`~set_shear_factor` - Set the shear correction factor, which scales the transverse shear stress. * - :py:attr:`~set_integration_points` - Set the number of through thickness integration points. * - :py:attr:`~set_printout` - Set the printout option. * - :py:attr:`~set_thickness` - Set the shell thickness. * - :py:attr:`~set_des_surface` - Generate and place discrete element sphere (DES) elements on the surface of shell elements. * - :py:attr:`~set_property` - Set properties for the shell part. .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~stub` - * - :py:attr:`~type` - * - :py:attr:`~shear_factor` - * - :py:attr:`~intpoints` - * - :py:attr:`~print` - * - :py:attr:`~thickness` - * - :py:attr:`~hourglasstype` - * - :py:attr:`~defined_des_surface` - * - :py:attr:`~despid` - * - :py:attr:`~desxid` - * - :py:attr:`~des_nquad` - * - :py:attr:`~des_nsid` - * - :py:attr:`~des_rsf` - Import detail ------------- .. code-block:: python from ansys.dyna.core.pre.dynabase import ShellPart Attribute detail ---------------- .. 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 Method detail ------------- .. 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 !!