Demos#

This page indexes all the demos in fenicsx-beat, grouped the same way as in the sidebar. If you are new to the library, start with the mathematical background page for the model and notation used throughout, then work through the FitzHugh–Nagumo demo below.

Getting started#

Examples#

Verification#

  • Verifying Second-Order Temporal Convergence — checks the second-order-in-time convergence of Strang splitting combined with a Crank–Nicolson PDE step, using the method of manufactured solutions, then with gotranx’s cell schemes (only the second-order *_rush_larsen_2 keeps it second order) and with the ten Tusscher–Panfilov 2006 cell model; a last section compares the cost and accuracy of merged Strang half-steps.

  • Monodomain convergence test — the companion check of the (first-order) spatial and Godunov-splitting convergence rates (first order in time with Godunov splitting; see the verification demo above for second order with Strang).

  • Bidomain convergence test — the same kind of check for beat.BidomainModel, measuring the rate in \(h\) and \(\Delta t\) for the extracellular potential as well as the transmembrane one, and confirming that the model collapses exactly onto the monodomain model when the conductivity tensors are proportional.

Advanced topics#

[DvDF+70]

Dirk Durrer, R Th van Dam, GE Freud, MJ Janse, FL Meijler, and RC Arzbaecher. Total excitation of the isolated human heart. Circulation, 41(6):899–912, 1970. doi:10.1161/01.CIR.41.6.899.

[LGA+15]

Sander Land, Viatcheslav Gurev, Sander Arens, Christoph M Augustin, Lukas Baron, Robert Blake, Chris Bradley, Sebastian Castro, Andrew Crozier, Marco Favino, and others. Verification of cardiac mechanics software: benchmark problems and solutions for testing active and passive material behavior. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 471(2184):20150641, 2015.

[NCP+17] (1,2,3,4)

Aurel Neic, Fernando O. Campos, Anton J. Prassl, Steven A. Niederer, Martin J. Bishop, Edward J. Vigmond, and Gernot Plank. Efficient computation of electrograms and ECGs in human whole heart simulations using a reaction-eikonal model. Journal of Computational Physics, 346:191–211, 2017. doi:10.1016/j.jcp.2017.06.020.

[tTP06] (1,2)

Kirsten H W J ten Tusscher and Alexander V Panfilov. Alternans and spiral breakup in a human ventricular tissue model. American Journal of Physiology-Heart and Circulatory Physiology, 291(3):H1088–H1100, 2006. doi:10.1152/ajpheart.00109.2006.

[ZLH+21]

Zhaoyang Zhang, Michael B Liu, Xiaodong Huang, Zhen Song, and Zhilin Qu. Mechanisms of premature ventricular complexes caused by qt prolongation. Biophysical journal, 120(2):352–369, 2021.