:class:`SolidPart` ================== .. py:class:: ansys.dyna.core.pre.dynabase.SolidPart(pid) Bases: :py:obj:`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. .. !! processed by numpydoc !! .. py:currentmodule:: SolidPart 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_property` - Set the properties for the solid part. .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~stub` - * - :py:attr:`~type` - * - :py:attr:`~hourglasstype` - Import detail ------------- .. code-block:: python from ansys.dyna.core.pre.dynabase import SolidPart Attribute detail ---------------- .. py:attribute:: stub .. py:attribute:: type :value: 'SOLID' .. py:attribute:: hourglasstype :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_property() Set the properties for the solid part. .. !! processed by numpydoc !!