:class:`RigidwallCylinder` ========================== .. py:class:: ansys.dyna.core.pre.dynabase.RigidwallCylinder(tail=Point(0, 0, 0), head=Point(0, 0, 0), radius=1, length=10) Bases: :py:obj:`BaseObj` Defines a rigid wall with a cylinder form. :Parameters: **tail** : :obj:`Point`, :obj:`optional` Coordinates of the tail of the normal vector. The default is ``(0, 0, 0)``. **head** : :obj:`Point`, :obj:`optional` Coordinates of the head of the normal vector. The default is ``(0, 0, 0)``. **radius** : :class:`python:float`, :obj:`optional` Radius of the cylinder. The default is ``1``. **length** : :class:`python:float`, :obj:`optional` Length of cylinder. The default is ``10``. .. !! processed by numpydoc !! .. py:currentmodule:: RigidwallCylinder Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~set_motion` - Set the prescribed motion. * - :py:attr:`~get_data` - Get the rigidwall data. * - :py:attr:`~create` - Create a rigidwall cylinder. .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~stub` - * - :py:attr:`~tail` - * - :py:attr:`~head` - * - :py:attr:`~radius` - * - :py:attr:`~length` - * - :py:attr:`~motion` - * - :py:attr:`~lcid` - * - :py:attr:`~dir` - * - :py:attr:`~type` - Import detail ------------- .. code-block:: python from ansys.dyna.core.pre.dynabase import RigidwallCylinder Attribute detail ---------------- .. py:attribute:: stub .. py:attribute:: tail .. py:attribute:: head .. py:attribute:: radius :value: 1 .. py:attribute:: length :value: 10 .. py:attribute:: motion :value: -1 .. py:attribute:: lcid :value: 0 .. py:attribute:: dir .. py:attribute:: type :value: 'rigidwall_cylinder' Method detail ------------- .. py:method:: set_motion(curve, motion=RWMotion.VELOCITY, dir=Direction(1, 0, 0)) Set the prescribed motion. .. !! processed by numpydoc !! .. py:method:: get_data() -> List Get the rigidwall data. .. !! processed by numpydoc !! .. py:method:: create() Create a rigidwall cylinder. .. !! processed by numpydoc !!