Getting Started with Electrophysiology (MFHN model)


  • This example will guide you through the creation of a new electrophysiology model using a Modified Fitzhugh-Nagumo model (Rogers & McCulloch, 1994, IEEE Transactions on Biomedical Engineering, 41:743-757) to explore a reentrant wave case.

  • The files required are located in the examples directory on your Continuity client .../continuity/pcty/examples/electrophysiology20/

  • The steps below are saved in a script that can be found in [here] and can be executed automatically with File→Read→Python script

Start Continuity

Create Mesh

Formulate Electrophysiology Problem

  • If the Electrophysiology menu is not loaded, File→Load Module

    • Select Electrophysiology and click Load Module

  • Electrophysiology→Edit Ionic Model…

    • Select the EP_MFHN_reentry_sympy model

    • Locate the ‘Submit’ tab and click Submit

  • Initialize the EP model by clicking on Electrophysiology→Solve→Initialize…

  • Calculate the no-flux Boundary Conditions of the model in Electrophysiology→Calculate→Constraints…

    • Choose the default Fix out-of-plane boundary node derivatives and click OK

    • Send all data to the server

  • Go to the Render elements icon and render the surface

    • Make sure you are using the OpenMesh renderer at View→Change Renderer→Open Mesh…

    • Click OK

  • Your model is ready to Solve

Compute and Render Solutions

  • Electrophysiolgoy→Solve→Integration…

    • Choose a ‘File name’ distinction
    • Input 900 ms as the duration for the simulation

    • Go to the Output tab and input a display solution interval of 20 steps

    • Go back to the Integrate tab and click on OK

  • When your simulation has finished, you can render the solutions by Electrophysiology→Render→Render Solution…

    • Set Min Value to 0

    • Set Max value: to 1

    • Click OK to view an animated color map of the Action Potential propagation

Electrophysiology Example in the BiVentricular Dog Anatomy (MFHN)

* Happy Modelling!