ZeroPressureMechanicsDynaWriter#

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

Bases: MechanicsDynaWriter

Class for preparing the input for a stress-free LS-DYNA simulation.

Notes

This class is derived from the MechanicsDynaWriter class and consequently derives all keywords relevant for simulations involving mechanics. This class does not write the control volume keywords but rather adds the keyword for computing the stress-free configuration based on left/right cavity pressures instead.

Overview#

update

Update the keyword database.

kw_database

Collection of keyword decks relevant for mechanics.

Import detail#

from ansys.health.heart.writer.mechanics_writer import ZeroPressureMechanicsDynaWriter

Attribute detail#

ZeroPressureMechanicsDynaWriter.kw_database#

Collection of keyword decks relevant for mechanics.

Method detail#

ZeroPressureMechanicsDynaWriter.update(robin_bcs: list[Callable] = None) None#

Update the keyword database.

Parameters:
robin_bcslist[Callable], default: None

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