The simulator.py module#

Summary#

BaseSimulator

Base class for the simulator.

EPSimulator

EP (electrophysiology) simulator.

MechanicsSimulator

Mechanics simulator with imposed active stress.

EPMechanicsSimulator

Coupled EP-mechanics simulator with computed electrophysiology.

run_lsdyna

Standalone function for running LS-DYNA.

Description#

Simulator module.

Options for simulation:

  • EP-only

    • With/without fibers

    • With/without Purkinje

  • Electro-mechanics

    • Simplified EP (imposed activation)

    • Coupled electro-mechanics

Module detail#

simulator.run_lsdyna(path_to_input: pathlib, settings: ansys.health.heart.settings.settings.DynaSettings = None, simulation_directory: pathlib = None)#

Standalone function for running LS-DYNA.

Parameters:
path_to_inputPath

Input file for LS-DYNA.

settingsDynaSettings, default: None

LS-DYNA settings, such as path to the executable file, executable type, and platform.

simulation_directoryPath, default: None

Directory for the simulation.