Original Research ARTICLE
Stable time integration suppresses unphysical oscillations in the bidomain model
- 1Numerical Simulation Laboratory, Department of Mathematics and Statistics, University of Saskatchewan, Saskatoon, SK, Canada
- 2Solido Design Automation, Saskatoon, SK, Canada
- 3Simula Research Laboratory, Fornebu, Norway
- 4Numerical Simulation Laboratory, Department of Computer Science, University of Saskatchewan, Saskatoon, SK, Canada
The bidomain model is a popular model for simulating electrical activity in cardiac tissue. It is a continuum-based model consisting of non-linear ordinary differential equations (ODEs) describing spatially averaged cellular reactions and a system of partial differential equations (PDEs) describing electrodiffusion on tissue level. Because of this multi-scale, ODE/PDE structure of the model, operator-splitting methods that treat the ODEs and PDEs in separate steps are natural candidates as numerical solution methods. Second-order methods can generally be expected to be more effective than first-order methods under normal accuracy requirements. However, the simplest and the most commonly applied second-order method for the PDE step, the Crank–Nicolson (CN) method, may generate unphysical oscillations. In this paper, we investigate the performance of a two-stage, L-stable singly diagonally implicit Runge–Kutta method for solving the PDEs of the bidomain model. Numerical experiments show that the enhanced stability property of this method leads to more physically realistic numerical simulations compared to both the CN and backward Euler methods.
The bidomain model, formulated mathematically by Tung in 1978 , is a popular model for describing the electrical activity in the heart. This model treats the heart as two superimposed domains (intracellular and extracellular) that are formally separated by the cell membrane. The model consists of ordinary differential equations (ODEs) describing the electrical properties of the cell membrane, coupled to partial differential equations (PDEs) that describe the electrical conductance in the two domains. The most common formulation of the model is in terms of three primary variables, the transmembrane potential, the extracellular potential, and a vector of states that describe the dynamic electrical properties of the cell membrane. Simplified models such as the monodomain model are also widely used by the research community, but the bidomain model is considered the most accurate and general continuum-based model of cardiac tissue electrophysiology.
The bidomain model can be challenging to solve. For example, it usually includes a stiff, non-linear ODE model describing the average electrical behavior of individual heart cells over volume elements , and rapid dynamics and steep gradients in the solution lead to strict resolution requirements in space and time. For example, in Potse and Vinet , two billion variables are used. For reasons such as these, the numerical solution of the bidomain model has been studied by numerous researchers; see, e.g., Vigmond et al.  for a detailed review of this topic.
First-order methods for solving the bidomain model have been proposed many times in the literature. For example, the forward Euler (FE) method has been used frequently; see e.g., Muzikant et al. , Sambelashvili and Efimov , ten Tusscher and Panfilov , and Tranquillo et al. . An investigation of the stability of FE applied to the bidomain model was performed in Puwal and Roth . To combat the disadvantages of explicit methods such as FE while retaining the implementational simplicity of first-order methods, first-order semi-implicit methods were investigated in Keener and Bogar  and Whiteley . Although first-order methods can be easily implemented and analyzed, a comparison in Sundnes et al.  of a first- and a second-order method showed that the second-order method gives a better approximation of the conduction velocity. We therefore focus mainly on the use of second-order methods.
The first example of a second-order method for the bidomain model, based on Strang splitting , was presented in Sundnes et al. . After splitting the PDEs from the ODEs, the PDEs were integrated in time with the Crank–Nicolson (CN) method. This method has also been used to integrate the PDEs resulting from various first-order splitting methods; see e.g., Whiteley  and Qu and Garfinkel .
The CN method is one of the simplest implicit second-order methods to implement. However, it has relatively poor error-damping properties that may result in simulations with unphysical oscillations . To overcome this limitation, we investigate a second-order method based on Strang splitting and a second-order L-stable singly diagonally implicit Runge–Kutta (SDIRK2) method (see e.g., ) to integrate the PDEs. L-stability is an enhanced numerical stability property designed to maximally damp high-frequency oscillations in numerical solutions. Although the individual SDIRK2 steps are more computationally expensive than those of CN, the computational cost of solving the ODEs is generally non-negligible, and the overall increase in acceptable step sizes from using the SDIRK2 method as the PDE solver may ultimately lead to a favorable tradeoff.
The paper is organized as follows. The model equations and the numerical methods used, in particular the operator-splitting method used for splitting the ODEs and PDEs along with the numerical methods for the PDEs, are described in section 2. Numerical results that verify second-order convergence of the SDIRK2 method and provide comparisons to the CN and backward Euler (BE) methods are presented in section 3. Finally, a discussion of the results is given in section 4.
2. Models and Methods
2.1. Bidomain Model
For simplicity, we consider an isolated heart with no coupling to a surrounding bath. The problem formulation and numerical methods described may easily be extended to include such further coupling. The bidomain model then reads
with boundary conditions
where v is the transmembrane potential, ue is the extracellular potential, and s is a vector of cellular states such as gating variables and ionic concentrations. The function f(s, v, t) is a non-linear function describing cellular dynamics, Iion(s, v, t) is the ionic current per cell membrane area, and σi and σe are extracellular and intracellular conductivity tensors, respectively. The quantity χ is the area of the cell membrane per unit volume, and Cm is the capacitance of the cell membrane per unit area. Finally, is the unit outward normal. See e.g., Sundnes et al. , for further details on the bidomain model.
2.2. Fractional-Step Methods
The bidomain model is difficult to solve as a fully coupled system because the discretized system is typically large and strongly non-linear. However, the PDEs of the bidomain equation are linear in v and ue when the Iion term is removed. This suggests the use of operator-splitting methods as a natural way to divide the solution process in order to reduce the complexity of each sub-problem to more manageable levels. The basic idea is to separate the solution of the non-linear ODEs of the cell model from that of the linear PDEs. One family of operator-splitting methods is the so-called fractional-step methods, to which the first-order Godunov and second-order Strang splitting methods belong; see e.g., Hundsdorfer and Verwer . We describe a general formulation of fractional-step methods, based on a parameter Θ, where the Godunov and Strang splitting methods are obtained as special cases for Θ = 1 and Θ = 1/2, respectively. The key step in applying a fractional-step method to the bidomain equations is to treat the non-linear term χIion(v, s) and the diffusive terms in (1a) separately; see e.g., Sundnes et al.  for details. This split results in two sub-systems to be solved for each time step. One is a system of ODEs describing cellular reactions and the ionic current,
and the other is the linear PDE system describing electrical conductance
One step of the splitting method to advance from time tn to time tn + 1 = tn + Δt involves the solution of the two sub-systems (denoted A and B) and consists of three phases.
1. Using the solution at time tn as the initial condition, solve sub-system A for tn < t ≤ tn + Θ := tn + ΘΔt.
2. Using the solution of phase 1 as the initial condition, solve sub-system B for tn < t ≤ tn + 1.
3. Using the solution of phase 2 as the initial condition, solve sub-system A for tn + Θ < t ≤ tn + 1.
In principle, either system (2) or (3) may be used as sub-system A, with the other as sub-system B. In practice, however, the quality of a numerical solution may vary significantly for different choices of A and B. In this paper, we used the linear PDE system (3) as system B, and compare the performance of the CN and SDIRK2 numerical schemes for integrating this system. For comparison, we also used Godunov splitting with the BE method to integrate the PDEs.
2.3. Solving the Sub-Systems
The fractional-step method outlined above yields second-order convergence for Θ = 1/2 provided each of the phases 1, 2, and 3 are solved with (at least) second-order accuracy. A second-order method was presented in Sundnes et al.  that applied a third-order SDIRK method for the ODEs (2) and the CN method for the PDEs (3). This method was shown to give second-order convergence, but in some cases it suffered from instabilities, likely due to the use of the CN method in phase 2. Accordingly, we wish to see the effect of replacing CN with a more stable method.
2.4. Method of Lines
The focus of this study is on the time discretization of the PDEs (3). Using the method of lines, we apply a spatial discretization (specifically, a finite element method) to transform the PDE system (3) into an ODE system and then investigate a number of different time-discretization methods. The FE method is used for the time discretization of the cell model ODEs (2). The FE method is first order and hence the overall operator-splitting method formally becomes first order. However, the cell model ODE systems are stiff enough that the time step of explicit methods are dictated by stability rather than accuracy, and the time step required for stability of the FE method renders highly accurate numerical solutions. The errors from this part of the solution algorithm are therefore sub-dominant, and we observe second-order convergence for the overall solution, as demonstrated in section 3.
To apply the finite element method, we introduce an appropriate function space Vh, with basis functions φj, j = 1, 2,…,M. The unknown fields v and ue are then approximated as linear combinations of the basis functions
where vj, uj are time-dependent coefficients and φj are appropriate (spatial) basis functions. To simplify the notation, we introduce the bilinear forms
A weak form of (3) is thus
and is to be satisfied for all choices ψ ∈ V, where v is some suitable function space. By inserting the approximation (4) into (5) and using the basis functions φj, j = 1, 2,…,M, as test functions ψ (i.e., Galerkin's method ), we get a linear system of differential-algebraic equations (DAEs) of the form
where v, ue are the vectors of time-dependent coefficients vi, ui and the sub-matrices have elements given by
The remainder of this paper focuses on the solution of (6). See e.g., Ascher et al. , for an introduction to DAEs and their solution.
2.5. Solution of (6) by the θ-Rule
For completeness, we now specify the algorithm commonly used to solve the DAEs (6). The method is a standard θ-rule, which yields the trapezoidal rule for θ = 1/2 that corresponds to the CN method for (3) and the BE method for θ = 1. We apply a θ-rule to the differential part of (6) and introduce un + θe as an approximation to ue at time tn + θΔt. This gives the linear system
where we have scaled the second block row by Δt/θ to obtain a symmetric system for solution by a conjugate-gradient (CG) iterative solver. An alternative derivation of this block system, based on first discretizing the system in time and then in space, is found in Sundnes et al. [2, 12]. A detailed study of alternative splitting methods, with particular focus on the effects of matrix lumping and the choice of numerical quadrature, is found in Krishnamoorthi et al. .
2.6. Solution of (6) by the SDIRK2 Method
As mentioned, numerical experiments show that the method based on (7) is stable for large Δt when θ = 1 but may suffer from significant step-size restrictions to reduce unphysical oscillations when θ = 1/2. Because numerical experiments presented in Sundnes et al.  suggest that the second-order method gives a better approximation of the conduction velocity, we examine second-order fractional-step methods (Θ = 1/2) but with better stability properties for the PDE solver. In particular, we expect the L-stability property to be relevant in suppressing unphysical oscillations due to its strong damping properties. SDIRK methods are arguably the simplest possible L-stable methods. The simplest SDIRK method is BE, and it is also L-stable. SDIRK methods can be viewed as combining steps similar to the case where θ = 1 in order to produce higher order. We consider the L-stable, two-stage, second-order SDIRK method (SDIRK2) defined by the Butcher tableau
with ; see e.g., Ascher and Petzold  for an explanation of the Butcher tableau for specifying Runge–Kutta methods. For a general initial-value problem dy/dt = f(t, y), y(t0) = y0, this method advances a known approximate solution yn at time t = tn to a new approximate solution yn + 1 at time t = tn + 1 by means of the iteration
where tn,γ = tn + γΔt.
Because (6) is a DAE system, application of the SDIRK2 method is slightly more complicated, but it is made easier by the fact that (6) is linear. Applied to this system, the first stage of the SDIRK2 method requires solving the block system
to find the values Y(1) = (v(1), u(1)e). As before, we have scaled the second row (but now by γΔt) to obtain a symmetric system. The second stage involves solving the system
to find the approximations yn + 1 = (vn + 1, un + 1e) at the next time step. The linear systems to be solved are similar to those for the θ-rule. The fact that these linear systems have identical coefficient matrices is exploited to improve the efficiency of the SDIRK2 method . Specifically, for a given method and constant Δt, the coefficient matrix is in fact constant throughout the simulation. Thus, it can be factored once at the beginning of each simulation and subsequent linear system solves at each step consist of only forward and backward substitutions. Because the SDIRK2 method requires two such solves per step, it is asymptotically twice as expensive as CN or BE for advancing (6). This does not imply, however, that the overall cost for solving the bidomain model is twice as expensive when using SDIRK2 because the solution of (6) represents only part of the overall solution process.
2.7. Stability Analysis
We now utilize a von Neumann stability analysis, see e.g., Strikwerda , for the CN and SDIRK2 methods applied to the bidomain model in the context of operator splitting. For this purpose and in light of (3), we consider the one-dimensional heat Equation on the interval [−L, L], where k = . Piecewise linear functions are used as basis functions in the finite element method.
A von Neumann stability analysis yields expressions for the amplification factor G(φ), where n+ 1(ω) = G(φ)n(ω), φ = ω Δx, and n(ω) is the Fourier transform of un. For the CN method,
whereas for the SDIRK2 method,
where , , , ΔtPDE is the time step used in (3), Δx is the (uniform) mesh spacing, and is the wave number, for n = 1, 2,…,N, with .
It can be shown that |GCN(φ)| ≤ 1 and |GSDIRK2(φ)| ≤ 1 for all φ, Δt > 0; therefore both CN and SDIRK2 methods are unconditionally linearly stable. However, if G(φ) ≳ −1, then the oscillatory components are propagated as weakly damped oscillations in time. GCN ≳ −1 if rs2 is large, i.e., if φ ≈ ±π and r is large. However, GSDIRK ≳ −1 if and only if . This condition is generally harder to satisfy, and therefore, SDIRK2 rarely generates sustained oscillations.
We can further identify the relationships of the simulation parameters with the size of the oscillations generated by CN. In particular, ΔtPDE and the conductivity values have a direct relationship with the size of the oscillations; i.e., larger values of these parameters lead to larger oscillations. Conversely, Cm, χ, and Δx have an inverse relationship with the size of the oscillations; i.e., smaller values of these parameters lead to larger oscillations. From this analysis, there is no information about the relationship between the time step ΔtODE used for the ODEs and the size of the oscillations. However, empirically we do not observe any relationship, nor would we expect one provided the ODE integration is stable. A summary of the relationships of the different simulation parameters with the size of the unphysical oscillations appears in Table 1.
We now study aspects of simulations of the bidomain model when using the SDIRK2 method as the PDE solver in an operator-splitting method. We consider the order of convergence, accuracy, stability, and efficiency of the SDIRK2 method compared to the CN and BE methods. For the numerical experiments in one dimension, the direct solver MUMPS  is used to solve the associated linear systems. For the numerical experiments in two and three dimensions, a CG iterative solver with a block Jacobi preconditioner is used. All of the numerical results were generated within the Chaste software environment .
3.1. Order of Convergence
Because extremely fine spatial and temporal resolutions are required to produce a highly accurate reference solution for convergence testing, we consider a simple one-dimensional problem. The bidomain model was solved for a one-cm spatial interval [0, 1], and reference solutions were generated for two cell models, the Luo–Rudy phase 1 (LR1) model  and the model of Courtemanche et al. , with the initial condition
where v0 and s0 are the resting values for v and s, respectively, for the particular cell model. We use the (Chaste default) values χ = 1400/cm, Cm = 1 μF/cm2, σi = 1.75 mS/cm, and σe = 7 mS/cm and simulate the model for t ∈ [0, 5] ms.
A reference solution for each bidomain simulation described below was computed with Chaste using the semi-implicit method  with Heun's method as the ODE solver. Successive solutions were computed by halving the time step and doubling the number of spatial mesh points until four or more matching digits were obtained at 21 equally spaced points in the temporal interval and 101 equally spaced points in the spatial interval, for a total of 2121 comparison points. The resolutions required for the reference solutions were Δt = 5 · 10−8 ms, Δx = 1/30 000 cm for the LR1 cell model and Δt = 5 · 10−7 ms, Δx = 1/20, 000 cm for the cell model of Courtemanche et al.
Numerical experiments were performed to determine the order of convergence using the SDIRK2 method to solve (3). The error is computed for each numerical experiment by computing the absolute error of the solution at x = 0.5 cm relative to the reference solution. The order of convergence is computed from
where Δt1 and Δt2 are two successive step size choices and ϵ1 and ϵ2 are the corresponding errors. Table 2 confirms the second-order convergence of the SDIRK2 method.
Table 2. Convergence results for the SDIRK2 method applied as the PDE solver for the bidomain model.
3.2. Unphysical Oscillations
We observed unphysical oscillations in different situations, including different spatial dimensions, i.e., from one to three, different mesh sizes, different cell models, i.e., LR1 , Courtemanche et al. , Maleckar et al. , Noble et al. , Nygren et al. , Winslow et al. , and ten Tusscher et al. , and different initial conditions, i.e., continuous initial conditions (with stimulus) and discontinuous initial conditions. We now present two different scenarios in which unphysical oscillations are exhibited.
3.2.1. Scenario I: coarse time step
Scenario I is similar to a numerical experiment in Whiteley . The spatial domain is [0, 0.5] × [0, 0.5] cm, discretized uniformly with a spatial resolution of Δx = Δy = 0.0025 cm with N = 40, 401 nodes and 80, 000 triangles. We use ΔtPDE = 0.4 ms, ΔtODE = 0.01 ms, χ = 1400/cm, Cm = 1 μF/cm2, and the LR1 cell model. The tissue fibers are taken to be parallel and aligned with the x-axis, yielding diagonal conductivity tensors σi = diag(σfi, σin), σe = diag(σfe, σen), with σfi = σfe= 2.63 mS/cm, σin = 0.263 mS/cm, and σen = 1.087 mS/cm. A stimulus with amplitude of −50, 000 μA/cm3 and duration of 2 ms is applied to the lower left-hand corner region [0, 0.1] × [0, 0.1] cm, causing an excitation wave to spread across the domain. The simulation duration is 20 ms. Unphysical oscillations can be generated in three dimensions similarly.
For comparison purposes, we generated a reference solution with Δx = Δy = 0.001 cm, ΔtPDE = 0.01 ms, and ΔtODE = 0.001 ms. Figure 1A shows a time series plot of the reference solution at the spatial point (0.125, 0.125). The oscillations in the solution produced using CN at the spatial point (0.125, 0.125) are displayed in Figure 1B. These oscillations are attenuated during the plateau phase, at which point the solution looks more physically reasonable. The corresponding plots for SDIRK2 and BE can be seen in Figures 1C, D, respectively.
Figure 1. Plots of the transmembrane potential at the spatial point (0.125, 0.125) and t ∈ [0, 20] ms for Scenario I: (A) reference solution, (B) CN solution, (C) SDIRK2 solution, and (D) BE solution.
In Figure 2A, the reference solution is displayed on [0, 0.5] × [0, 0.25] cm. The corresponding solution produced by CN is displayed in Figure 2B. Unphysical oscillations can be seen across the action potential wavefront. The corresponding plots for SDIRK2 and BE are displayed in Figures 2C, D, respectively. There are obvious inaccuracies in all the solutions because of the relatively coarse meshes, but it is also clear that neither the SDIRK2 nor BE methods exhibit unphysical oscillations.
Figure 2. Plots of the transmembrane potential on [0, 0.5] × [0, 0.25] cm at t = 8 ms for Scenario I: (A) reference solution, (B) CN solution, (C) SDIRK2 solution, and (D) BE solution.
All other things being equal, one way to decrease the oscillations for CN is to decrease ΔtPDE. The oscillations in the solution produced using CN with ΔtPDE = 0.3 ms at the spatial point (0.125, 0.125) are displayed in Figure 3A. The corresponding plots for ΔtPDE = 0.2 ms and ΔtPDE = 0.1 ms can be seen in Figures 3B, C, respectively. As can be seen, suppression of unphysical oscillations to visual accuracy requires the use of ΔtPDE = 0.1 ms.
Figure 3. Plots of the transmembrane potential at the spatial point (0.125, 0.125) and t ∈ [0, 20] ms for Scenario I using CN and: (A) ΔtPDE = 0.3 ms, (B) ΔtPDE = 0.2 ms, and (C) ΔtPDE = 0.1 ms.
These observations can be understood in terms of the amplification factors of the methods. For the purposes of analysis, in Equations (8) and (9), we let σ = 0.263, L = 0.5, Δx = 0.0025, and N = 0.5/0.0025 = 200, with φ = φ(n) = ω(n)Δx = . The CN and SDIRK2 amplification factors as a function of wave number index n are shown in Figure 4. The amplification factor of the BE method behaves similarly to that of the SDIRK2 method (details omitted). Figure 4 shows that although both methods have similar damping properties at low wave numbers for ΔtPDE = 0.4 ms, at high wave numbers (as n → N), GCN(φ) → −1+ (weak damping) whereas GSDIRK(φ) → 0 (strong damping). CN has better damping properties using ΔtPDE = 0.1 ms.
3.2.2. Scenario II: fine time step
In Scenario II, the spatial domain is [0, 0.4] × [0, 0.4] cm, discretized uniformly with a spatial resolution of Δx = Δy = 1 · 10−3 cm with N = 160, 801 nodes and 320, 000 triangles. We use ΔtPDE = 1 · 10−2 ms and ΔtODE = 1 · 10−3 ms. We use χ = 1400/cm, Cm = 1 μF/cm2, the LR1 cell model, and conductivities 2.63 mS/cm along the fiber in both the intracellular and extracellular conductivity tensors, 0.263 mS/cm perpendicular to the fiber in the intracellular conductivity tensor, and 1.087 mS/cm in the extracellular conductivity tensor. A discontinuous initial condition with v0 = 100 mV on [0, 0.004] × [0, 0.032] cm and v0 = −83, 853 mV otherwise is used, causing an excitation wave to spread across the square. A simulation duration of 2 ms suffices to capture the behavior of interest. Unphysical oscillations can be generated in three dimensions similarly.
For comparison purposes, we generated a reference solution with Δx = Δy = 5 · 10−4 cm, ΔtPDE = 1 · 10−3 ms, and ΔtODE = 1 · 10−4 ms; it is shown in Figure 5A. The oscillations in the solution produced using CN at the spatial point (0.004, 0.032) are displayed in Figure 5B. The corresponding plots for SDIRK2 and BE are displayed in Figures 5C, D, respectively.
Figure 5. Plots of the transmembrane potential at the spatial point (0.004, 0.032) and t ∈ [0, 2] ms for Scenario II: (A) reference solution, (B) CN solution, (C) SDIRK2 solution, and (D) BE solution.
In Figure 6A, the reference solution is displayed on [0, 0.2] cm × [0, 0.1] cm. The solution produced by CN is displayed in Figure 6B. The corresponding plots for SDIRK2 and BE are shown in Figures 6C, D, respectively. The SDIRK2 and BE solutions agree well with the reference solution.
Figure 6. Plots of the transmembrane potential on [0, 0.2] × [0, 0.1] cm at t = 2 ms for Scenario II: (A) reference solution, (B) CN solution, (C) SDIRK2 solution, and (D) BE solution.
Unphysical oscillations can be seen around the location of the discontinuity. The initial solution is displayed on [0, 0.05] cm × [0, 0.05] cm in Figure 7A. The oscillations in the solution produced using CN at time 0.1 ms are displayed in Figure 7B. The corresponding plots at time 0.2 ms and 0.5 ms can be seen in Figures 7C, D, respectively.
Figure 7. Plots of the transmembrane potential on [0, 0.05] × [0, 0.05] cm using CN for Scenario II at: (A) t = 0.1 ms, (B) t = 0.2 ms, and (C) t = 0.5 ms.
All things being equal, one way to decrease the oscillations for CN is to decrease ΔtPDE. The oscillations in the solution produced using CN with ΔtPDE = 5 · 10−3 ms at the spatial point (0.004, 0.032) are displayed in Figure 8A. The corresponding plots for ΔtPDE = 2 · 10−3 ms and ΔtPDE = 1 · 10−3 ms can be seen in Figures 8B, C, respectively. As can be seen, suppression of unphysical oscillations to visual accuracy requires the use of ΔtPDE = 1 · 10−3 ms. A solution with approximately the same accuracy can be obtained using the SDIRK2 method with a ΔtPDE ten times as large. Such an increase in time step would more than offset the additional cost of using the SDIRK2 method as the PDE solver.
Figure 8. Plots of the transmembrane potential at the spatial point (0.125, 0.125) and t ∈ [0, 0.5] ms for Scenario II using CN and: (A) ΔtPDE = 0.005 ms, (B) ΔtPDE = 0.002 ms, and (C) ΔtPDE = 0.001 ms.
As in Scenario I, these observations can be understood in terms of the amplification factors of the methods. In Equations (8) and (9), we let σ = 2.63, L = 0.4, Δx = 0.001, and N = 0.4/0.001 = 400, where φ = φ(n) = ω(n)Δx = . The CN and SDIRK2 amplification factors as a function of wave number index n are given in Figure 9, again showing that for ΔtPDE = 0.01 ms as n → N, GCN(φ) → −1+ whereas GSDIRK(φ) → 0. CN has better damping properties using ΔtPDE = 0.001 ms.
We have investigated numerical methods within a commonly used operator-splitting technique for solving the bidomain model. Specifically, we have considered a two-stage, second-order, L-stable SDIRK2 method to solve the split linear PDE system (3) as an alternative to the popular CN and BE methods. The BE method is L-stable and widely used for solving the bidomain model, but previous studies have indicated that second-order methods based on the CN method are more efficient than first-order methods . However, as demonstrated in Whiteley , the poor damping properties of CN may lead to unphysical oscillations for certain combinations of spatial and temporal resolutions. Although such oscillations are normally transient, they may lead to solver divergence and failure in the context of operator splitting and strongly non-linear cell models.
We have applied von Neumann stability analysis to explain the oscillations seen in Whiteley  in terms of the amplification factor of the numerical method. Furthermore, the stability analysis revealed qualitative relations between model parameters and the magnitude of unphysical oscillations. The stability analysis confirms the superior damping properties of the L-stable SDIRK method, and it predicts that weakly damped oscillations do not generically occur for this method. Numerical experiments confirm this result, and switching from CN to SDIRK2 is observed to be effective for suppressing unphysical oscillations.
When solving the bidomain model with operator-splitting methods, the total CPU time is the sum of the time spent on solving the ODE systems in (2) and the PDEs in (3). The relative time spent on each part varies with the numerical methods used and, in particular, with the choice of cell model. However, when optimal-order PDE solvers are applied, the ratio is independent of mesh size . The great variability in cell models used makes it generally difficult to quantify the contribution of each part, but both typically make a significant contribution to the total CPU time. Because the matrices in (6) are constant in time and therefore assembled only once, the CPU time for the PDE step is dominated by solving linear systems. The CN and BE methods require one linear solve per time step, while the SDIRK2 method requires two. If there were no other computational costs associated with solving the bidomain model, one step of a fractional-step method using the SDIRK2 method would be twice as costly as one using CN or BE. However, this upper bound is generally not sharp. Suppose for instance that when using the CN method as the PDE solver, α% of the total CPU time is spent on solving (3), and the rest is spent on (2). The cost of the fractional-step method using SDIRK2 relative to CN is then 100 + α%. Depending on the choice of cell model, α may vary from almost negligible to well above 50, and these variations affect the relative overall cost of using the SDIRK2 method. However, in Scenarios I and II above we saw that removing the oscillations when using the CN method required time step reductions on the order of 4–10, yielding much larger CPU times than those required when using the SDIRK2 method.
In conclusion, use of the SDIRK2 method within a fractional-step method represents a robust alternative to using the popular CN method for solution of the bidomain model. Being a method of second order, the accuracy is comparable to the CN method. The computational cost of the SDIRK2 step is greater than that of CN. However, the cost of the overall solver may be dominated by other factors such as solving the ODEs, in particular for large, complicated, or stiff cell models. Preliminary efficiency estimates indicate that the use of CN results in a slightly more efficient method when strict error tolerances are used because unphysical oscillations are not normally observed. However, such error tolerances may not always be necessary to obtain useful data in practice. In such cases, the data can be more efficiently obtained using the SDIRK2 method proposed. Overall, the added robustness of SDIRK2 comes with a relatively small computational cost while at the same time eliminating the possibility that unfortunate parameter combinations lead the solver to generate unphysical oscillations and potentially fail.
Conflict of Interest Statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
5. Muzikant, AL, Hsu, EW, Wolf, PD, and Henriquez, CS. Region specific modeling of cardiac muscle: comparison of simulated and experimental potentials. Ann Biomed Eng. (2002) 30:867–83. doi: 10.1114/1.1509453
6. Sambelashvili, A, and Efimov, IR. Dynamics of virtual electrode-induced scroll-wave reentry in a 3D bidomain model. Am J Physiol Heart Circ Physiol. (2004) 287:H1570–81. doi: 10.1152/ajpheart.01108.2003
8. Tranquillo, JV, Franz, MR, Knollmann, BC, Henriquez, AP, Taylor, DA, and Henriquez, CS. Genesis of the monophasic action potential: role of interstitial resistance and boundary gradients. Am J Physiol Heart Circ Physiol. (2004) 286:H1370–81. doi: 10.1152/ajpheart.00803.2003
12. Sundnes, J, Lines, GT, and Tveito, A. An operator splitting method for solving the bidomain equations coupled to a volume conductor model for the torso. Math Biosci. (2005) 194:233–48. doi: 10.1016/j.mbs.2005.01.001
15. Ascher, UM, and Petzold, LR. Computer Methods for Ordinary Differential Equations and Differential-Algebraic Equations. Philadelphia, PA: Society for Industrial and Applied Mathematics (SIAM) (1998).
17. Krishnamoorthi, S, Sarkar, M, and Klug, WS. Numerical quadrature and operator splitting in finite element methods for cardiac electrophysiology. Int J Numer Meth Biomed Eng. (2013) 29:1243–66. doi: 10.1002/cnm.2573
18. de Sturler, E. Inner-outer methods with deflation for linear systems with multiple right hand sides. In: Householder Symposium XIII, Proceedings of the Householder Symposium on Numerical Algebra. Pontresina (1996). p. 193–196.
20. MUMPS: A Parallel Sparse Direct Solver (2012). Available online at: http://graal.ens-lyon.fr/MUMPS/index.php?page=home
21. Pitt-Francis, J, Pathmanathan, P, Bernabeu, MO, Bordas, R, Cooper, J, Fletcher, AG, et al. Chaste: a test-driven approach to software development for biological modelling. Comput. Phys Commun. (2009) 180:2452–71. doi: 10.1016/j.cpc.2009.07.019
24. Maleckar, MM, Greenstein, JL, Trayanova, NA, and Giles, WR. Mathematical simulations of ligand-gated and cell-type specific effects on the action potential of human atrium. Prog Biophys Mol Biol. (2008) 98:161–70. doi: 10.1016/j.pbiomolbio.2009.01.010
25. Noble, D, Noble, SJ, Bett, GC, Earm, YE, Ho, WK, and So, IK. The role of sodium-calcium exchange during the cardiac action potential. Ann N Y Acad Sci. (1991) 639:334–53. doi: 10.1111/j.1749-6632.1991.tb17323.x
26. Nygren, A, Fiset, C, Firek, L, Clark, JW, Lindblad, DS, Clark, RB, et al. Mathematical model of an adult human atrial cell: the role of K+ currents in repolarization. Circ Res. (1998) 82:63–81. doi: 10.1161/01.RES.82.1.63
27. Winslow, RL, Rice, J, Jafri, S, Marbán, E, and Rourke, BO. Mechanisms of altered excitation-contraction coupling in canine tachycardia-induced heart failure, II model studies. Circ Res. (1999) 84:571–86. doi: 10.1161/01.RES.84.5.571
Keywords: bidomain model, operator splitting, unphysical oscillations, SDIRK method, L-stability
Citation: Torabi Ziaratgahi S, Marsh ME, Sundnes J and Spiteri RJ (2014) Stable time integration suppresses unphysical oscillations in the bidomain model. Front. Phys. 2:40. doi: 10.3389/fphy.2014.00040
Received: 09 April 2014; Paper pending published: 24 May 2014;
Accepted: 16 June 2014; Published online: 14 July 2014.
Edited by:Hans De Raedt, University of Groningen, Netherlands
Reviewed by:Marc Thilo Figge, Leibniz-Institute for Natural Product Research and Infection Biology -Hans-Knoell- Institute, Germany
Cristian Huepe, Cristian Huepe Labs Inc., USA
Copyright © 2014 Torabi Ziaratgahi, Marsh, Sundnes and Spiteri. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Raymond J. Spiteri, Numerical Simulation Laboratory, Department of Computer Science, University of Saskatchewan, 176 Thorvaldson Building, 110 Science Place, Saskatoon, SK S7N 5C9, Canada e-mail: email@example.com