Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

simcardemsx

Cardiac electro-mechanics in FEniCSx.

simcardemsx couples a model of cardiac electrophysiology (EP) to a model of tissue mechanics, with the contraction of each cell in between. It connects two solvers:

The cell model, EP and contraction alike, is a single gotranx .ode file. simcardemsx splits it in two and generates code for each half: NumPy for EP, and UFL for the contraction, so that the contraction model can be stepped inside the mechanics Newton iteration. That removes the instability the usual staggered coupling suffers from when the tissue is soft.

Where to start

Features