:class:`ElectroMechanicsDynaWriter` =================================== .. py:class:: ansys.health.heart.writer.ep_mechanics_writer.ElectroMechanicsDynaWriter(model: ansys.health.heart.models.HeartModel, settings: Optional[ansys.health.heart.settings.settings.SimulationSettings] = None) Bases: :py:obj:`ansys.health.heart.writer.mechanics_writer.MechanicsDynaWriter`, :py:obj:`ansys.health.heart.writer.ep_writer.ElectrophysiologyDynaWriter` Class for preparing the input for LS-DYNA electromechanical simulation. .. !! processed by numpydoc !! .. py:currentmodule:: ElectroMechanicsDynaWriter Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~update` - Update the keyword database. .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~kw_database` - Collection of keyword decks relevant for mechanics. * - :py:attr:`~set_flow_area` - from MechanicWriter. Import detail ------------- .. code-block:: python from ansys.health.heart.writer.ep_mechanics_writer import ElectroMechanicsDynaWriter Attribute detail ---------------- .. py:attribute:: kw_database Collection of keyword decks relevant for mechanics. .. !! processed by numpydoc !! .. py:attribute:: set_flow_area :value: True from MechanicWriter. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: update(dynain_name: Optional[str] = None, robin_bcs: Optional[list[Callable]] = None) -> None Update the keyword database. :Parameters: **dynain_name** : :class:`python:str`, default: :data:`python:None` Dynain file from stress-free configuration computation. **robin_bcs** : :class:`python:list`\[:obj:`Callable`], default: :data:`python:None` List of lambda functions to apply Robin-type boundary conditions. .. rubric:: Notes You do not need to write mesh files if a Dynain file is given. .. !! processed by numpydoc !!