CEPS
Monodomain model

Equations

The monodomain equation is a variant of the bidomain equation where the intra- and extracellular conductivities are assumed to be proportional:

On the computation domain , the problem reads:

Unknowns:

• is the transmembrane potential, in ,
• is a vector of ionic variables describing the state of the membrane.

Tissue properties:

• is the surface to volume ratio of cell membranes, in ,
• is the cell membrane surfacic capacitance, in ,
• the tensorial intracellular conductivity, in . Usually, the tensor is the same everywhere when expressed in the local frame defined by fiber orientation. However, alterations of the tissue conductivity can be introduced by using volume fractions.

Fonctions:

• is the current due to ionic gates, in ,
• is the user-defined applied current used to stimulate a specific region of the domain,
• is the evolution function of ionic variables.

Numerical schemes for the PDE

We present here the numerical schemes that are used to solve the elements of the problem that involve spatial operators. For the discretization of the ODE that models the ionic exchanges, refer to the Numerics page.

The numerical schemes are expressed after finite element spatial discretization: is the mass matrix of products of basis functions , and designates the stiffness terms corresponding to the discretization of the terms.

Backward differentiation solvers (SBDF)

This is a multi-step method (for orders greater than 1). For a method of order , we solve at each iteration:

with the coefficients

The first iterations where data at previous steps is not necessarily available are performed with lesser order .

Runge-Kutta

Several explicit Runge-Kutta schemes can be used (see numerics). The complicated part is to determine the evolution function from one sub step to another. We compute it as the solution of

where are the matricial RK coefficients.

Crank-Nicolson

This method involves previous states at two steps:

A backward Euler step is performed at first iteration in order to compute (SBDF1).

How to use

Here is an example of input file, which is available in the examples directory. See the input file page for more details on options.

#-----------------------------------------------------------
# Monodomain model:
# component index 0 represents the transmembrane potential
#-----------------
# Output controls
#-----------------
# Output name
output file name : ./results/monodomainAB2
# Output every 0.5ms
snapshot time : 0.5
# Uncomment to plot currents
#save ionic current : true
#save stimulation current : true
# Data used to generate the activation time map. Values are
# - AP detection threshold
# - Minimum voltage used for peak detection
# - AP duration percentage
activation time data : 0.2 0.2 0.75
# Probe points: values of the unknowns at those points*
# along time will be written in a separate file
# (*at closest point in given mesh to be exact)
probe points : 2.68655 -15.8401 20.9223 , 1.34332 -16.1237 19.8474
#-----------------
# Simulation time
#-----------------
# Times are given in milliseconds
PDE start time : 0.0
PDE end time : 25
#----------
# Geometry
#----------
# Meshes
2d mesh : ./meshes/atriaSurfacic
# The given mesh has units of cm, which is also CEPS length unit.
# So there is no need for scaling.
# geometry scale : 1
# Partitioning method can be
# - ParmetisElem
# - ParmetisElemGeom
# - PTScotchNode
partitioning method : PTScotchNode
#--------
# Tissue
#--------
# Surface to volume ratio, in cm-1
Am : 1.0
# Surfacic membrane capacitance, in muF per cm2
Cm : 1.0
# Conductivity, in mS per cm
# Format: regionAttribute g_l g_t g_n
# -1 for the region means everywhere
# g_l g_t g_n are the terms of the diagonalized conductivity tensor
conductivity : -1 1.2 0.4 0.4
#-------------
# Ionic model
#-------------
# Format: <ionicModelName> <regionAttribute> <componentIndex> <odeSolver>
# Here we use the Mitchell Schaeffer model everywhere (-1)
# for transmembrane potential (component 0) and solve the ODEs
# using the exponential Adams-Bashforth scheme of order 2.
ionic model : MS -1 0 EAB 2
#-------------
# Stimulation
#-------------
# Format: <attr> <amp> <tstart> <duration> <period> <component>
# Here we stimulate on points with attribute 200 (field "stimRegion" in vtk mesh file)
# Stimulations starts at 0.1ms and lasts 1ms. It happens once (period -1)
# Amplitude is in muA per cm2
stimulus: 200 15. 0.1 1 -1 0
#--------------------
# PDE solver options
#--------------------
finite elements : P1
PDE solver : SBDF 2
PDE time step : 0.05
# Linear solver options
absolute tolerance : 1.E-12
relative tolerance : 1.E-12
solver type : CG
@ CG

Outputs

Snapshots of the transmembrane voltage are written by the application. Ionic and stimulation currents can be written as well if needed. In addition, activation maps can be generated (see parameters above), as well as traces in time of the transmembrane voltage in a separate text file.

This is the expected activation time maps when using the example file above.

References

FIXME refs monodomain