ElectroMechanicsDynaWriter#

class ansys.health.heart.writer.ep_mechanics_writer.ElectroMechanicsDynaWriter(model: ansys.health.heart.models.HeartModel, settings: ansys.health.heart.settings.settings.SimulationSettings | None = None)#

Bases: ansys.health.heart.writer.mechanics_writer.MechanicsDynaWriter, ansys.health.heart.writer.ep_writer.ElectrophysiologyDynaWriter

Class for preparing the input for LS-DYNA electromechanical simulation.

Overview#

update

Update the keyword database.

kw_database

Collection of keyword decks relevant for mechanics.

set_flow_area

from MechanicWriter.

Import detail#

from ansys.health.heart.writer.ep_mechanics_writer import ElectroMechanicsDynaWriter

Attribute detail#

ElectroMechanicsDynaWriter.kw_database#

Collection of keyword decks relevant for mechanics.

ElectroMechanicsDynaWriter.set_flow_area = True#

from MechanicWriter.

Method detail#

ElectroMechanicsDynaWriter.update(dynain_name: str | None = None, robin_bcs: list[Callable] | None = None) None#

Update the keyword database.

Parameters:
dynain_namestr, default: None

Dynain file from stress-free configuration computation.

robin_bcslist[Callable], default: None

List of lambda functions to apply Robin-type boundary conditions.

Notes

You do not need to write mesh files if a Dynain file is given.