Literature DB >> 24976644

Efficient simulation of cardiac electrical propagation using high order finite elements.

Christopher J Arthurs1, Martin J Bishop2, David Kay1.   

Abstract

We present an application of high order hierarchical finite elements for the efficient approximation of solutions to the cardiac monodomain problem. We detail the hurdles which must be overcome in order to achieve theoretically-optimal errors in the approximations generated, including the choice of method for approximating the solution to the cardiac cell model component. We place our work on a solid theoretical foundation and show that it can greatly improve the accuracy in the approximation which can be achieved in a given amount of processor time. Our results demonstrate superior accuracy over linear finite elements at a cheaper computational cost and thus indicate the potential indispensability of our approach for large-scale cardiac simulation.

Entities:  

Keywords:  Computational cardiology; Finite element method; Monodomain simulation; Numerical efficiency; p-Version

Year:  2012        PMID: 24976644      PMCID: PMC4067136          DOI: 10.1016/j.jcp.2012.01.037

Source DB:  PubMed          Journal:  J Comput Phys        ISSN: 0021-9991            Impact factor:   3.553


Introduction

New insight into cardiac function is of great importance to medical science, not least because heart disease is the leading cause of death in the developed world; in the United Kingdom alone it accounts for more than one in six of all deaths [1]. Increased understanding of the working of the heart in both physiological and pathological conditions will therefore aid the development of new treatments for a variety of cardiac and non-cardiac [2,3] diseases. A major hurdle we face is that obtaining high spatial and temporal resolution data on the dynamics of the heart is difficult. In a clinical environment, we must settle for low resolution methods such as magnetic resonance imaging (MRI) or electrocardiograms (ECG). Outside of the clinical setting, more information can be obtained from animal studies, for example by optical mapping [4]. Unfortunately, these only provide incomplete data on a limited subset of the parameters of interest. Computational multiscale simulation provides another tool, allowing the measurement and modification of hundreds of different variables in the whole three-dimensional tissue volume, with the added benefits of procedural simplicity and avoiding the need for animal studies. Myocardial electrical propagation can be simulated using the monodomain or bidomain PDEs [5,6]. Due to its capacity to represent complex geometries with ease, approximations are often obtained using the finite element method (FEM) to discretise the PDEs in space on realistic cardiac geometry meshes; this results in very large (up to forty-million degrees of freedom (DOF) for human heart geometries) systems of linear equations which must be solved many thousands of times over the course of even a short simulation. Thus, they are extremely computationally demanding, presenting taxing problems even to high-end supercomputing resources. This computational demand means that effort has been invested in developing efficient solution techniques, including work on preconditioning, parallelisation and adaptivity in space and time [7-12]. In this study, we investigate the potential of reducing the number of DOF by using a high-order polynomial FEM [13-15] to approximate the monodomain PDE in space, with the goal of significantly improving simulation efficiency over the piecewise-linear FEM approach commonly used in the field [16-19]. For schemes where the polynomial degree p of the elements is adjusted according to the error in the approximation, this is known as the finite element p-version. In the work presented here, we work with schemes which keep p fixed. Because the a priori L2 error ∥u − u∥0,2 between the true solution u and finite element approximation u of spatially semi-discrete parabolic PDEs satisfieson a mesh with quasiuniform element diameter h, for some constant C with μ = min{k, p + 1} (when the true solution has k square-integrable derivatives, allowing the norm ∥ · ∥, which we recall later, to exist) [15], and because for our problem we believe that k is large, we have good reason to look for greater computational efficiency from using larger values of p and h in order to obtain a desired accuracy. This allows for an exponential rate of error reduction as p increases. It is reasonable that we should expect k to be large given that our problem is a homogenised model of a physical process. Careful choice of h and p can result in a linear system with fewer DOF and thus improved computational efficiency. In other fields such as acoustics, elastodynamics and electromagnetics, this approach has been shown to produce a speed-up of five to ten times over a standard linear FEM approach [20]. Work to-date on higher-order elements [21,22] has focused on hexahedral meshes and what is effectively lumping of the mass matrix [23] (despite claims that an advantage of such high-order methods is that they avoid mass-lumping [20]). The existing approaches demonstrate a two- to threefold speed up over linear FEM for a 3D parabolic test problem on a coarse cardiac geometry [22]. Our approach allows the use of tetrahedral meshes and lends itself to spatial adaptivity, although we do not investigate the latter here. In this study, we focus on the monodomain equation, although the presented techniques can easily be extended to the bidomain problem. In one spatial dimension, we provide comparisons of the error in the simulations using different polynomial degrees with theoretical a priori results in certain norms, displaying strong agreement. We also use simpler error measures such as activation times and conduction velocities (CV); these are applied in both the one-and two-dimensional cases.

Methods

Introducing the governing equations

The myocardium consists of roughly cylindrical cardiac myocytes which are connected to their neighbours by gap junctions, creating an electrically-connected syncytium known as the intracellular space which sits within the extracellular space. The myocytes are arranged into thin fibres, aligned axially. These fibres are in turn arranged into sheets of myocardial tissue. The coordinated contraction of the myocytes which makes the heart beat is orchestrated by spatial waves in the electric potential difference between the intracellular and extracellular spaces, which we refer to as the transmembrane potential. These waves are caused by triggered pulses in the transmembrane potential on a cellular level, called action potentials (APs), triggering further APs in neighbouring cells via tissue-level electrical conductivity. For isolated cells, APs can be simulated using a system of ODEs [24-27], or [28] for a detailed exposition, describing how the cellular machinery of the myocytes controls the flux of ionic species through ion channels across the cell membrane. Full cardiac tissue simulation is made tractable via a homogenisation procedure which does away with the individual cells, modelling the tissue instead as two compartments representing the intracellular and extracellular spaces; both are considered to exist at every point in the domain. The spaces are electrically-isolated except for the transmembrane ionic currents between them, which are given by PDE analogues of the isolated cell ODE models. This homogenisation results in the bidomain reaction–diffusion-type system of differential equations describing AP propagation. It consists of two PDEs describing the electrical conduction in the intracellular and extracellular spaces coupled to the PDE system for the transmembrane ionic currents and concentrations w. We must be careful how we discretise the latter, as we shall demonstrate. The two spaces display anisotropic conductivity due to the sheets and fibres; in order to capture this, each has an associated conductivity tensor. Approximating these as being proportional to one another, this system can be reduced to the monodomain: a single PDE describing the dynamics of the transmembrane potential together with a formulation for w that remains unchanged from the bidomain. For more detail, see for example [6,29]. The results obtained with the monodomain equation will not be identical to those found with the bidomain, differing in CV by around 2% [30], but because of the difference in computational effort required to solve the two forms, the researchers use the monodomain where possible. Monodomain simulations can reproduce most of the behaviour seen when using the bidomain, including some which involve phenomena which once required the bidomain such as bath-loading effects [31], but excluding defibrillation due to the need to simulate virtual electrodes [32]. The techniques that we present here are expected to extend without difficulty to the bidomain. The monodomain system with a cell model is given bywhere x is a point in the n-dimensional myocardial domain Ω, Ω has boundary ∂Ω which is often polygonal due to the methods used to generate it from cardiac MRI [33], outward-pointing unit surface normal to ∂Ω, transmembrane potential u(x, t), initial conditions u0 and w0, conductivity tensor σ(x) (related to fibre orientation), time t, cell membrane capacitance C, surface area to volume ratio β and current I(u, w, x, t) = I(u, w) + I(x, t), consisting of I(u, w) the transmembrane ionic current as described by the cell model and I(x, t), the stimulus current as determined by the experimental protocol. g describes how the m cell model state variables w(x, t) = (w1(x, t), … , w(x, t)) vary in time. In this work, we use the Luo–Rudy Phase I (LR91) cell model [24], modified according to [34], for g and I. We are primarily interested in the transmembrane potential u.

Discretisation

For the space discretisation of the transmembrane potential PDE, the FEM approach is outlined in what follows. We recall the definition of the Hilbert space ,wherewith and , where [35]. In what follows, for convenience we shall often write . We cast the transmembrane potential PDE from system (2) into its weak form: find such that for all ,and integrate by parts, givingwhere is an outward-pointing unit surface normal. The boundary condition (2d) means that the integral on ∂Ω is zero, soChoosing some finite-dimensional subspace to work in, with basis , we can find a spatially discrete approximation to u by determining appropriate basis function weights u. Inserting this, we obtain the semi-discrete system of equationsWe now write  = (u1, u2, … , u),  = ((I, ϕ1), (I, ϕ2), … , (I, ϕ)), and and for the matrices with (j, i)th entry (ϕ, ϕ) and (σ∇ϕ, ∇ϕ), the mass and stiffness matrices respectively, to obtainwhich we want to solve for . More details can be found for example in [36,37]. Practically, we require a mesh of elements τ with the property that ∪τ = Ω and such that when i ≠ j, if τ ∩ τ is non-empty, it is an element vertex (mesh node) or an entire edge of both τ and τ. In 1D, consists of non-overlapping line segments. In 2D, we use triangular elements. Let h = diam(τ) ≔ sup{d(x, y)∣x, y ∈ τ}, where d(·, ·) is the standard Euclidean metric on , be the diameter of , and Q and R be constants independent of . We work with meshes that satisfy for all iwhere relation (4a) is the property of quasiuniformity of the mesh [38]. The subspace S is determined in our case by the choosing and a basis of continuous piecewise polynomials of degree at most p in each element; we denote by S the particular S associated with and p. The usual choice in the field is to use linear elements (p = 1) with ϕ(x) = δ ∀ i, j, where is the set of nodes of the mesh and δ is the Kronecker delta function. In this work we demonstrate how to work with p > 1 for system (2). The spaces we use can be obtained from the standard linear FEM S = S by hierarchically adding basis functions of increasing degree to each element. Because each basis function has a DOF associated with it, increasing p results in an enlargement of the system of linear Eqs. (3). However, the significantly improved accuracy that increased p provides allows us to more than offset this by using a coarser mesh. We take the hierarchical approach because it has the advantage that on each element the basis of degree p is the same as the basis of degree p + 1 with the degree p + 1 functions removed. This lends itself to adaptive techniques, although we do not explore them here. For example, with p = 3 on a 1D reference element [0, 1] we havewhich are the two components of a linear basis function, the quadratic and the cubic respectively. In 2D the analogous approach has three linear, three quadratic and four cubic basis functions partially or wholly supported on each element; see Fig. 1 for some of these.
Fig. 1

Three of the ten hierarchical basis function pieces required in 2D on the reference element for a cubic finite element approximation of the solution. Note that when mapped to the real mesh from the reference element, each of these is just part of one of the basis functions that is actually supported on multiple elements.

Treating I and w

We wish to have an approximation to I of the form so that the integration required to generate in the linear system (3) can be reduced to the computationally efficient product (I1, … , I), referred to as matrix-based assembly. Because the term I in (2a) is nonlinear, in general I ∉ S. Thus we require a choice of a suitable projection for some ; we can then work with ΠI. Additionally, the non-diffusing cell state variables w must be solved for with sufficient spatial accuracy; a piecewise-linear approach to w, which is effectively what is used in most implementations, will limit the overall accuracy of the scheme. We can obtain the accuracy needed by using finite elements of degree to approximate w; in this case there is a very natural way to construct Π mapping into (see Section 2.4), so we take the same for the degree of the image of Π and the order of the finite elements used for w. Taking is not sufficient; the problem with this can be seen by considering the error in a 1D simulation at different levels of h-refinement with p kept fixed. Fig. 2 shows how the error in the L∞(L2) norm (maximum-in-time of the L2(Ω) spatial norm) varies with h using different finite element basis degrees p when , demonstrating the restricted convergence. Because of inequality (1) we might expect the error in this norm to be O(h), but we only see O(h2). This is consistent with the quadratic convergence of the error in w caused by . Instead, we let to allow for the full convergence rate. In the next subsection we put this on a solid theoretical foundation.
Fig. 2

1D simulation results demonstrating that we never do better than quadratic convergence in the L∞(L2) norm when the approximation to w is linear-only, even when the finite element space S is of high enough order to allow for better convergence. The points are the measured errors, the dashed line shows a theoretical quadratic convergence gradient. The simulation was 1D and the errors are measured against a reference with mesh spacing h = 0.0001 cm, whereas the test simulations use meshes with six different spacings ranging from h = 0.01 cm to h = 0.001 cm.

Analysis for the error in L2

We begin with a necessary lemma, supposing that the true solution to system (2) has at least k derivatives. For u ∈ H(Ω), the L projection π : H(Ω) → S satisfiesfor k > 3/2 and μ = min{p + 1,k}. A modification of Theorem 3 of [39] produces a continuous piecewise polynomial ψ on our mesh which satisfiesfor quadrilateral meshes; the proof Theorem 4 of [40] contains the details necessary to modify ψ so that it applies when the mesh consists of triangles. Because π is the L2 projection, we have ∥u − πu∥0,2 ⩽ ∥u − ψ∥0,2. □ The importance of can be seen via an a priori error estimate (see [41]). We examine this in what follows, where we work with the vectorised formulation of system (2), treating the spatial discretisation of the non-diffusing state variables in the finite element framework. To this end we introduce the inner product and associated norm ∥ · ∥, where (a, b) is the standard L2 inner product, a1, b1 ∈ L2(Ω) and a2, b2 ∈ (L2(Ω)). Definethe L2(Ω) projection into in each of its m + 1 components, with m the number of components of w, and also the (m + 1) × (m + 1) matrix-like operatorwhich operates as Gu = G[u w] = [∇u 0]. Dropping the constants and conductivity tensor σ from system (2) for clarity, we obtain the weak form of the full systemwhere u(x, t) ≔ [u(x, t) w(x, t)] and f(u) ≔ [I(u) g(u)], with the symbols as in system (2). Let be the solution to our FEM formulationwhere we are solving for u using elements of order p and for w using elements of order , and we have applied to obtain an approximation in to the current I for the purpose of computationally-efficient matrix-based right-hand side assembly of the linear system (3). Let be a Ritz-L2 projection, given bywhere is the (m + 1) × (m + 1) identity matrix adjusted so that denotes the first component of z, and Eq. (7b) ensures that R is well-defined. We note that in particular R satisfiesInformed by [41], we now prove the following theorem on the error in the finite element approximation, which demonstrates the importance of . Let u be the solution to system (5) with initial conditions as given in system (2), and u the solution to its semidiscrete-in-space form (6). Let μ = min{p + 1, k} and , where u has spatial derivatives of order at least k. Suppose k > 3/2 and that f is Lipschitz continuous in u with respect to the norm ∥ · ∥. Then for some constant C, the following a priori estimate for the error at time T holds: Following [41], we decompose the error we wish to bound asand then bound ρ and θ separately. θ satisfiesapplying Eq. (8) and rearranging,The first two terms are replaced using the semidiscrete Eq. (6):Using Eq. (5),Thus, we haveTaking χ = θ (which is possible because we chose θ such that ) and applying Cauchy–Schwarz,or since and ,Using the Lipschitz property of f and the L2 projection bound ,Now we can integrate to obtainApplying Gronwall’s lemma, we see thatwhere C depends on T [41]. Using this estimate and the boundsfrom [15] and Lemma 2.1, where k can be as large as is allowed by the smoothness of u and w. By combining the bounds for θ and ρ together withwhich can essentially be found in [41], we arrive at the estimate for the full error:as required. □ The theorem demonstrates that the approximation properties of are crucial. For example, with p = 3 we would like to get a quartic convergence rate of u to u at any particular time T in the norm ∥u − u∥0,2 as we refine h, but we can not expect this if because of the O(h2) terms that then appear in inequality (9). This agrees with our experimental results (see Fig. 2).

Proper treatment of the cell model PDEs for high order FEM

For an element τ, a nodal basis of degree p (for the space of polynomials of degree  ⩽ p on τ) associated with a set of nodes is such that [36]. For our problem (2), we use a nodal basis of degree on the elements of to approximate w; the Gauss–Lobatto points associated with polynomials of order [42] make a good choice here for high-quality approximation. This naturally gives us an approximation ι to ; we compute the current at each x, and we immediately have the nodal basis weights for our degree- projection ιI, interpolating I at the points x. Informed by Theorem 2.1, we take to obtain the expected convergence rate for our choice of p. If we assume that the L2 projection used in Theorem 2.1 and the interpolation operator ι that we replace it by in practice are sufficiently close, we can suppose that the error between f and ιf is , where we also assume sufficient smoothness of f. Of course, we cannot be certain that this error will be achieved with our scheme given that we have not attempted to carefully approximate , but our experimental work has indicated that ι is sufficient. In order to use the product (I1, … , I) to efficiently integrate the current, because uses a hierarchical basis, on each iteration of our simulation we change the basis ιI is represented in from nodal to hierarchical. Because there are no spatial derivatives in the PDE for w, the nodal finite element system reduces to effectively a large number of local ODE systems; these are familiar in concept as the pointwise ODE models that occur in standard linear FEM approaches to this problem. In practice, this means that we never have to form matrices for the nodal system.

Discontinuities in the cell model

This subsection describes a deficiency in the cell model which must be overcome for a proper high-order FEM implementation. Many of the cardiac cell models in the literature include some discontinuous functions which describe the voltage-dependent rate at which conductive ion channels embedded in the cell membrane open and close [43]. Such issues can prevent high-order numerical schemes from attaining their theoretical rates of convergence. This has been noted previously for high order temporal schemes [43]; here we identify it as a problem for spatial schemes also. Fig. 4(a) shows the problem; note the deviation of the quartic and cubic solutions from their respective theoretical convergence gradients. The discontinuity exists because two different analytic expressions have been fitted to experimental data for the voltage-dependent transition rates for the ion channel gates in the cell model. Which of these expressions is used is determined by the transmembrane potential, with the discontinuity at the point where the model switches between them (−40 mV).
Fig. 4

Data from 20 ms simulations on a 2 cm 1D domain using our method with and without the Noble-form LR91 cell model modification. Note the limited accuracy caused by the discontinuity in standard LR91. Δt = 0.001 ms. L∞(L2) is the maximum-in-time of the L2-norm of the error in space. The errors are against a quartic reference solution with h = 10−4 cm.

A continuous replacement has been around for some time [34] but has not been adopted; the problem has propagated due to the fact that some cell models have been created as modifications older ones. Introducing this continuous form is required to ensure theoretically optimal errors in the solutions to system (2). Compare Fig. 4(a) with Fig. 4(b) which differs only in that the cell model used in Fig. 4(b) has undergone this modification. Fig. 3 shows the AP difference between the standard LR91 model and the modified Noble-form LR91; they are quite minor. Given the fact that cell models are generated from experimental data naturally prone to experimental error [44], these differences are probably not worth being concerned with, especially given that the discontinuities do not appear to be biologically justified. We must check for and remove such discontinuities when using a particular cell model for simulation.
Fig. 3

Plot comparing the action potential in an isolated cell model using the standard Luo-Rudy 1991 formulation and the Noble-form modification. Left: Noble-form modified LR91 action potential in an isolated cell. On this scale, differences caused by the modification would be hardly noticeable. Right: original LR91 transmembrane potential subtracted from Noble-form LR91 transmembrane potential. Note that the scales on the y-axes differ.

Including a smooth fibre field

In one of our test simulations (see Section 3.3.2), we use a geometry that includes holes representing blood vessels passing through the tissue (see Fig. 7(b)). In order to construct a realistic conductivity tensor σ we generate fibre orientation vector fields using a Laplace–Dirichlet approach [45]. This involves solving Laplace’s equation on the domain with Dirichlet boundary condition +1 on one external edge of Ω, −1 on the opposite external edge and zero Neumann conditions on all other boundaries. The result is a conductivity tensor field which approximates the way that cardiac fibres negotiate around blood vessels [46].
Fig. 7

Fibre orientations used for the inhomogeneous simulations. The marked points are those at which activation time is measured. For Fig. 7(a), results are displayed in Table 3 and stimulation was a ramp in the bottom-left corner. For Fig. 7(b), results are displayed in in Table 4 and stimulation was a ramp along the bottom of the domain.

Simulations

All simulations were performed in MATLAB and use a semi-implicit backward Euler time discretisation scheme. We use a fixed regardless of the value of p(⩽4) so that we can focus on the effect of varying the approximation order for the transmembrane potential u; leaving fixed means that we can examine this in a fair manner. Timings presented are for a 3.4 GHz CPU.

Convergence in 1D

We stimulated a 2 cm 1D domain at one end with a ramp stimulus using a time-step of Δt = 0.001 ms and simulated the first 20 ms of activation. The errors in two different norms are presented in Fig. 4(b) and Fig. 5(a) and use as a reference a quartic solution generated with h = 0.0001 cm. Fig. 5(a) shows the error measured using the L2-in-time norm of the norm in space, for which we expect O(h) convergence gradients [15]. Note the agreement of Figs. 4(b) and 5(a) with the theoretical error gradients presented, and the limited accuracy displayed in Fig. 4(a) caused by the discontinuities in the standard LR91 cell model. The exponential error convergence rate achievable using p-refinement is emphasised in Fig. 5(b). Note that we use a conductivity of 0.5 S m−1 for all our convergence figures.
Fig. 5

Noble-form LR91 with our method. Fig. 5(a) shows the L2(H1) norm of the error; this is the L2-in-time norm of the Sobolev ∥ · ∥1,2 norm of the error in space. Fig. 5(b) shows the same data as Fig. 4(b), but with the exponential convergence in p highlighted instead. Data from 20 ms simulations on a 2 cm 1D domain. Δt = 0.001 ms. The errors are against a quartic reference solution with h = 10−4 cm. The values of h given are in cm.

In order to perform a robust investigation of conduction velocity (CV), we used a 6 cm domain, stimulated at one end with a ramp stimulus and used Δt = 0.01 ms; the activation time for the node at the opposite end of the domain and the CVs are presented in Table 1. We performed two sets of simulations in order to gather data on the fast and slow conductivities that we use later, respectively parallel and perpendicular to the fibres in anisotropic 2D simulations. Note how small h needs to be when using linear elements to achieve CV convergence.
Table 1

Six cm 1D domain simulation with a ramp stimulus at one end and Δt = 0.01 ms. The activation time is the time until the transmembrane potential at the node at the opposite end of the domain (at 6 cm) passes up through 0 mV. CVs are computed using the nodes at 2 and 4 cm.

Element diameter h (cm)Basis degree pConductivity = 1 S m−1
Conductivity = 0.2 S m−1
Activation time (ms)CV (cm s−1)Activation time (ms)CV (cm s−1)
0.1150.43118.1362.7694.65
267.0188.50103.1857.18
380.9473.13182.4432.09
488.6266.73243.4424.11



0.05168.3386.81104.7756.34
281.3572.81143.1541.17
388.6866.73177.8933.10
490.3965.47198.4729.65



0.02183.9270.55157.4037.44
290.6165.30185.1831.81
391.6564.54199.5029.52
491.6664.54202.1729.12



0.01189.3666.20183.7532.06
291.5964.58200.7929.33
391.6764.52204.1028.84
491.6764.52204.1628.84



0.005191.0864.96197.8329.77
291.6764.54203.9328.87
391.6764.52204.2228.83
491.6764.52204.2228.83



0.002191.5864.60203.1528.98
291.6764.52204.2128.83
391.6764.52204.2228.83
491.6764.52204.2228.83



0.001191.6564.54203.9528.86
291.6764.52204.2228.83
391.6764.52204.2228.83
491.6764.52204.2228.83

2D homogeneous conductivity

Having demonstrated the superior accuracy in 1D, we move on to 2D. In this subsection, unless otherwise noted we use a time-step Δ t = 0.01 ms. Before performing our experiments, we demonstrate the effect of anisotropy in our simulations. Fig. 6 shows wavefront locations (u = 0 mV) with p = 1–4 for two simulation modes at 12 ms, one with homogeneous isotropic conductivity (Fig. 6(a)) and one with homogeneous anisotropic conductivity using fibres aligned to the x-axis (Fig. 6(b)). In the latter case, the conductivity along the fibres is the same as that for the isotropic case (1 S cm−1), and perpendicular to the fibres we use one-fifth of that value. Both simulations were initiated with the same stimulus current in the lower-left corner of the domain and use a mesh with mean element diameter 0.0113 cm. Note the poor accuracy of the linear case, and note further that where the anisotropic p = 1 wavefront has propagated predominantly perpendicular to the fibres in Fig. 6(b), its accuracy is even worse. This is due to the low conduction velocity in that direction, requiring better approximation properties (smaller elements, larger p) to properly capture u at the wavefront.
Fig. 6

Wavefront location at t = 12 ms with p = 1–4, demonstrating the scheme with isotropic tissue and with fibres aligned with the x-axis having anisotropic conductivity (1 S m−1 along the fibres and 0.2 S m−1 perpendicular to them). In both cases, the larger p is, the less distance the wavefront has propagated. Note that p = 2–4 are indistinguishable in (a), and that p = 3 and p = 4 are indistinguishable in (b). This simulation used Δt = 0.01 ms, the mean element diameter was 0.0113 cm and the stimulus was applied to the lower-left corner of the domain.

In our first 2D experiment we investigated a 1 cm by 1 cm 2D domain with homogeneous isotropic conductivity. A ramp stimulus was applied to a rectangular region along the bottom of the domain, generating a planar propagating wave. The measured CVs and activation times at the top-right corner of the domain are given in Table 2. Each simulation was performed with Δt = 0.01 ms and Δ t = 0.001 ms (asterisked) in order to investigate how the temporal error affects the results. The CV is an average taken over many randomly selected point pairs in the domain. Percentage errors in conduction velocity are also presented in the table, using the finest quartic simulation with the same value of Δt as a reference. Note the high accuracy of the quartic simulations, and the minimal variation in the percentage errors caused by varying Δt. Details on the degrees of freedom are in Table 5.
Table 2

Activation times, conduction velocities, percentage conduction velocity errors and linear system solve times for a variety of 2D meshes of Ω = [0, 1] × [0, 1] cm. The first timings presented are for a single time-step only and use preconditioned conjugate gradients (PCG) with an incomplete LU (ILU) decomposition of the portion of the system matrix corresponding to the linear basis functions as a preconditioner, and the second times all code on a time-step iteration (ILU PCG + cell updates, etc.). The stimulus was along the bottom edge of the domain and the activation time is for the node in the top-right corner. Asterisked basis degrees indicate that the simulation was run with Δ t = 0.001 ms instead of the usual Δt = 0.01 ms. The percentage errors use as a reference the p = 4 simulation on the finest mesh with the same value of Δt.

Mean element diameter h (cm)Basis degree pActivation time (ms)CV (cm s−1)% CV error vs. best solutionILU PCG time (s)Mean it. time (s)
0.0444112.4681.9526.390.0050.053
214.6869.056.490.0150.063
315.2966.262.190.0360.082
415.6065.000.250.1260.174
112.3083.1427.040.0050.054
214.5069.886.780.0120.061
315.1266.962.320.0270.075
415.4565.580.220.0760.124



0.0222114.3670.568.820.0160.201
215.5165.410.880.0450.232
315.6464.910.110.1120.299
415.6564.840.000.3040.493
114.1871.419.130.0160.209
215.3466.060.950.0420.229
315.4865.510.110.0950.285
415.5065.440.000.2020.393



0.0111115.2766.412.420.0470.886
215.6464.880.060.1701.008
315.6564.840.000.3861.216
415.6564.840.001.0741.905
115.1067.082.510.0520.902
215.4965.500.090.1571.007
315.5065.440.000.3361.225
415.5065.440.000.6961.562



0.0055115.5565.220.590.3683.866
215.6564.840.000.9094.513
315.6564.840.002.1035.643
415.6564.840 (by def.)6.0669.621
115.4065.860.640.1953.811
215.5065.450.020.5734.331
315.5065.440.001.2254.896
415.5065.440 (by def.)2.7826.455
Table 5

Table showing the degrees of freedom used throughout this study.

Mesh refinement levelBasis degree pDegrees of freedom with
Homogeneous conductivityInhomogeneous conductivityTwo holes
017867331770
2304728416764
36784632514,981
411,99711,18526,421



113,0472,8414,500
211,99711,18517,596
326,85125,03339,287
447,60944,38569,573



2111,99711,18514,482
247,60944,38557,352
3106,83799,601128,609
4189,681176,833228,253



3147,60944,38552,199
2189,681176,833207,854
3426,217397,345466,964
4757,217705,921829,529
The data shows that p = 4 on the coarsest mesh or p = 3 with Δt = 0.01 ms on the second coarsest mesh ought to be preferred over p = 1 on the finest mesh, given that this produces at worst a halving of the percentage error using a linear system which takes less than half the time to solve. Alternatively, p = 2 on the second coarsest mesh with Δt = 0.01 ms produces roughly equivalent accuracy to the finest linear solution, but does so using a linear system which can be solved eight times faster.

2D inhomogeneous conductivity

Plain square domain with cubic fibre field

We studied simulation on a 1 cm by 1 cm domain using Δt = 0.01 ms and inhomogeneous anisotropic conductivity, with the conductivity along the fibres the same as that used in the isotropic case above (1 S m−1), and one-fifth of this value in the perpendicular direction. The fibre field is defined by a cubic polynomial designed to represent cardiac fibres rapidly changing orientation (see Fig. 7(a)) and is integrated by reading the value of the vector field at each Gauss point [47] during matrix construction. The domain was stimulated with a ramp in the bottom-left corner of the domain. The measured activation times at the four points shown in Fig. 7(a) are given in Table 3. Note how cubic and quartic elements display superior accuracy to all tested linear simulations by the second coarsest level. Details on the degrees of freedom are in Table 5.
Table 3

Activation times in the 1 cm by 1 cm domain with fibre orientation and four measurement points shown in Fig. 7(a) using various h and p values.

Mean element diameter h (cm)Basis degree pActivation time 1 (ms)Activation time 2 (ms)Activation time 3 (ms)Activation time 4 (ms)
0.0452118.2922.6413.1715.68
224.5529.0315.1220.51
327.8931.8615.6622.88
435.8637.6316.0428.65



0.0226123.6028.0714.9019.77
228.5232.7415.9323.42
330.0133.9516.0624.48
430.7234.4616.0924.99



0.0113127.5231.7715.7222.71
230.3834.2216.0824.74
330.7534.4716.0924.98
430.8034.5016.0925.02



0.0057129.6833.6115.9924.25
230.7734.4816.0924.99
330.8134.5016.0925.02
430.8134.5016.0925.02

Domain with holes

Fig. 7(b) shows the fibre vector field on a 1 cm by 1 cm domain with two holes representing blood vessels passing through the simulation plane. We performed this study to demonstrate the applicability of the method when the domain contains fine structure that must be properly captured using small elements. This vector field was generated using the Laplace–Dirichlet approach and the time-step used was Δt = 0.01 ms. The activation times at the three points shown in Fig. 7(b) are given in Table 4. Our results show that the second coarsest mesh with p = 3 can half the worst percentage error in activation time using a linear system which can be solved twice as quickly when compared to p = 1 on the finest mesh, or with p = 4, we can reduce the error to one-tenth that of p = 1 on the finest mesh with a linear system which takes slightly longer to solve. See Fig. 8 for some wavefront locations using various meshes and values of p; note how poor the wavefront location can be when p = 1 even on highly refined meshes, and how on the second coarsest mesh with p = 3 the results are better than the computationally twice-as-demanding p = 1 on the finest mesh.
Table 4

Activation times in the 1 cm × 1 cm domain with holes, fibre orientation and three measurement points shown in Fig. 7(b) using various h and p values. The meshes are identified by maximum element diameter because the mean element size would convey little information due to the very small elements near the holes. The timings presented are for the linear system only (ILU PCG) and for the whole-timestep (ILU PCG + cell updates, etc.). More information about the meshes used is presented in Table 5, and some plots of the wavefront at 17 ms are shown in Fig. 8.

Max. element diameter h (cm)Basis degree pActivation time 1 (ms)Activation time 2 (ms)Activation time 3 (ms)ILU PCG time (s)Mean it. time (s)
0.059316.4613.4810.010.0100.116
27.6217.1713.690.0320.136
37.9618.6815.590.0880.193
48.1520.6618.640.2970.402



0.029617.2416.1413.080.0220.319
28.0018.8415.960.0680.350
38.1219.5416.860.1760.456
48.1419.8517.290.5710.855



0.014817.7118.1115.360.0721.081
28.1119.6817.080.2031.227
38.1419.8617.310.5141.522
48.1519.8917.351.8952.992



0.007617.9619.2116.640.4104.532
28.1419.8617.321.0494.876
38.1519.8917.352.4156.427
48.1519.8917.359.43013.391
Fig. 8

Wavefront location at 17 ms using various meshes and degrees. (a) Transmembrane potential distribution on the second coarsest mesh with p = 4. Note that each triangle represents a single element of the mesh, and that this is independent of p. (b) Wavefront (u = 0) contours on the second coarsest mesh with various degrees compared to p = 1 on the finest mesh. (c) Wavefront contours on the second coarsest mesh with various degrees compared to p = 1 on the finest mesh. (d) Detail from Fig. 8(c). See the corresponding activation time data in Table 4.

Degrees of freedom

Details on the degrees of freedom for the various meshes and basis degrees are presented in Table 5.

Discussion and conclusion

Summary of results

We have shown how to successfully employ high-order finite element methods for simulation of the cardiac monodomain system (2), meeting or exceeding theoretical error convergence rates. The method achieves our goal of improved efficiency over linear finite elements; we produce highly accurate numerical solutions cheaply, as can be seen for the homogeneous conductivity by comparing the finest linear solution to the second coarsest cubic Δt = 0.01 ms solution in Table 2. In this case, taking the finest quartic solution as a reference, we see that we obtain a six times smaller percentage error in activation time with a linear system that takes one-third of the time to solve. It can be used with isotropic and anisotropic conductivity, and geometries which include microstructure such as blood vessels passing through the tissue. The improved efficiency is key because good numerical approximations can take days to obtain with present technology. As shown in Table 2, convergence in the conduction velocity requires very fine meshes when working with p = 1. Even at h = 0.0111 cm, the CV error is still around 2.5%; at that level, the error in the position of the wavefront will become very large during long-time, whole-heart (large domain) simulations. In the case of inhomogeneous conductivity (Table 3) the second coarsest cubic solution is the point at which the accuracy starts to beat that of the finest linear solution. We note that in this case, the coarsest mesh should not be used for simulation; due to the low conductivity perpendicular to the fibre direction (one-fifth of that parallel to the fibres), we see that the activation times at nodes one and two overshoot the converged activation times. This is due to the effective mesh size being coarser when the conductivity is lower, introducing error into the solution. This explanation is supported by the fact that node three, being connected to the stimulus site by a straight line to which all the fibres along its length are aligned, does not experience any activation time problems. See also Table 1, which shows that the same effect occurs in 1D on very coarse meshes when using a low conductivity equal to that for the slow direction here (see h = 0.1, p = 4). Because error due to the coarse mesh discretisation of u will be compensated for by the accuracy gained as we increase p, we believe that this effect is due to insufficient resolution in the spatial discretisation of w, as this does not change as we refine p. Further investigation is needed to confirm this. When holes are present in the domain, the simulations are much slower (Table 4) due to the increased number of elements required to mesh around the holes (see Fig. 8). Here we recommend using, for example, p = 2 on the third coarsest mesh for a sixfold accuracy improvement using a linear system which can be solved in half the time when compared to the finest mesh with p = 1. This accuracy can be seen by the position of the wave fronts in Figs. 8(c) and 8(d). Alternatively, the second coarsest p = 2 simulation can be seen as providing considerable accuracy improvement over p = 1 on the third coarsest mesh with a linear system which takes the same amount of time to solve. An example high-resolution anatomically-derived heart mesh has h = 0.0125 cm [33]; this is comparable with the third coarsest mesh here. See Table 6 for more detail and other possible choices of mesh and p.
Table 6

Simulations on the mesh with holes in the context of the prescribed error tolerances for percentage activation time error at which they would be acceptable. The average single-iteration linear system solve time ratio (time for simulation)/(time for finest linear simulation) is given. Finest mesh p = 4 solution taken to be the “true” solution. Errors are worst-case over the three test nodes used. Full data in Table 4.

Maximum elt. diameter (cm)Simulation degreeWorst nodal error reduction ratioTime ratioExample accuracy tolerance level (%)
0.029630.690.4293
40.091.3930.5



0.014812.800.17612
20.380.4952



0.007611 (by def.)1 (by def.)5

Limitations on error reduction

We note that Figs. 4(b) and 5(b) show some unexpected behaviour, apparent in Fig. 4(b) as a crossing over of the errors for the p = 3 and p = 4 solutions, and in Fig. 5(b) as a smaller-than-expected error reduction when going from p = 3 to p = 4 on the coarser meshes. We are not certain of the cause of this. Possible explanations include it being caused by the error introduced by our approximation of by ι, or that the smoothness k of the cell model is limiting, for example where Lemma 2.1 is applied. Simulations using the very simple FitzHugh–Nagumo model [48] instead of LR91 with do not display any problems, neither do simulations with LR91 for p = 1–4. Regardless of this, the efficiency remains compelling, and we note that the time-integrated Sobolev norm spatial error (Fig. 5(a)) does not appear to be so strongly affected.

Assumptions on the regularity of the cell model

Note that the requirement in Theorem 2.1 that f be Lipschitz in u is not satisfied for general cell models. However, if we suppose that u is bounded, the Lipschitz property will hold. For simulations, there is evidence to suggest this boundedness occurs for cell models modified to take electroporation currents into account [49-51]. Indeed, if we do not have boundedness, we can say that there is a problem in the simulation study design rather than in the numerics; it is certain that real-world quantities such as the transmembrane potential will be bounded in general, and all the more stringently whilst the cell is still functional. We also need to assume that the [Ca2+] is bounded away from zero; again this is likely to be the case in a functioning cell due to leak currents.

Representation of I

The approach that we take to I could be compared to a more standard scheme which used a piecewise linear I. Neither approach involves making any statements about what I looks like; even though I is smooth on elements and has discontinuous derivative at element boundaries, the positioning of the elements themselves is essentially arbitrary within the domain. It is clear therefore that no claims are really being made about any lack of smoothness in I. Therefore, the assertion that we make in using the p-version that the smoothness of u (depending on the smoothness of I) is sufficient so as not to limit the rate of convergence the p-version is not really any different from the assumptions that are implicitly made when discretising Ω for any standard application of FEM to the cardiac equations.

Gauss points for the cell model

Another approach to approximating the cell model variables w would be to construct a nodal basis using the Gauss points [47]. Instead of integrating the right-hand side of Eq. (3) using the mass matrix, we could do soby computing the current at each node and then integrating it against each basis function on each element using quadrature. This would work, but would be considerably more computationally demanding than the matrix-based assembly we use [52]. Another alternative would be to use the same nodal basis for u and for w; this would allow matrix-based assembly, but without the need for the change of basis (see Section 2.4). However, without the use of the hierarchical basis for u, our method would no longer be suitable for the p-adaptivity that we wish to investigate in future work.

Parallel simulation and timings

We note that while we have presented timings for both solving the linear system and also for all code that runs on each iteration (the difference between the two being primarily due to the cell model updates), less attention should be paid to the all-code timings. This is because our simulations were performed on one processor, and the cell state variable PDEs can be parallelised straightforwardly. As the future of cardiac simulation will be on massively parallel machines, this is important. A consideration for implementing the approach presented in this work in a parallel computing environment is that as much of the work as possible should be achievable using data local to each element or patch of elements so that when the workload is divided up between different processors, the communication between them can be kept to a minimum. Our approach satisfies this requirement; for example, the change of basis that we perform to switch the current representation from nodal to hierarchical is performed locally on each element. In fact, the cell model and change of basis code could in future be implemented as GPU code; this has promise as some workers have already demonstrated that considerable speed-up is possible [53,54]. Timings in general should be treated with some caution, as there are many factors which can affect them. At the most basic level, solving the linear system using an iterative method requires matrix–vector multiplications (matvecs). With the sparse data structures used in this sort of problem, the cost of each matvec is a function of the number of nonzero entries in each row of the system matrix and of the number of rows it has; note that the last two vary with h and p. Each solve will require multiple matvecs to achieve convergence, with the number needed varying with the condition number of the system matrix. Thus, in addition to depending on h and p, the relative time costs of solving different linear systems will vary according to the preconditioner, the hardware type (parallel architecture, CPU cache size) and the software implementation. In this work, we have not looked at all of these; for example, further study investigating efficient preconditioning [29,7,8] for the linear system we have constructed may lead to further overall efficiency gains.

Conclusion

Because of the efficiency we have demonstrated, our work leads us to recommend preferring higher-order finite elements for cardiac monodomain simulation. With careful choice of meshes, this has the potential to reduce the amount of time required to perform whole-heart simulations; these have linear systems which are many times larger than the ones for our relatively small test simulations, so the overall efficiency savings will likely be substantial. Across all meshes, the advantages of using high p are considerable. In the case of anisotropic conductivity, it is likely that obtaining even larger gains will be possible by using our method together with meshes which are finer perpendicular to the fibre orientation than parallel to it in order to compensate for the reduced conduction velocity in that direction. A recent paper comparing the convergence properties of eleven monodomain solvers [55] introduced a benchmark problem which can be easily applied to new codes so that they can be robustly evaluated relative to existing software. In future work, we will further evaluate our method by applying it to this problem. Our one-and two-dimensional work using the monodomain should be seen as a proof-of-concept; in the future we shall look to extend this to three dimensions, bidomain and realistic cardiac geometry. The hierarchical nature of the elements we use lends them to adaptive methods which have the potential to bring about further significant gains in simulation efficiency.
  29 in total

1.  Modeling electroporation in a single cell. I. Effects Of field strength and rest potential.

Authors:  K A DeBruin; W Krassowska
Journal:  Biophys J       Date:  1999-09       Impact factor: 4.033

2.  Stimulus protocol determines the most computationally efficient preconditioner for the bidomain equations.

Authors:  Miguel O Bernabeu; Pras Pathmanathan; Joe Pitt-Francis; David Kay
Journal:  IEEE Trans Biomed Eng       Date:  2010-09-27       Impact factor: 4.538

3.  A comparison of monodomain and bidomain reaction-diffusion models for action potential propagation in the human heart.

Authors:  Mark Potse; Bruno Dubé; Jacques Richer; Alain Vinet; Ramesh M Gulrajani
Journal:  IEEE Trans Biomed Eng       Date:  2006-12       Impact factor: 4.538

4.  A model of the ventricular cardiac action potential. Depolarization, repolarization, and their interaction.

Authors:  C H Luo; Y Rudy
Journal:  Circ Res       Date:  1991-06       Impact factor: 17.367

5.  Simulation of cardiac electrophysiology on next-generation high-performance computers.

Authors:  Rafel Bordas; Bruno Carpentieri; Giorgio Fotia; Fabio Maggio; Ross Nobes; Joe Pitt-Francis; James Southern
Journal:  Philos Trans A Math Phys Eng Sci       Date:  2009-05-28       Impact factor: 4.226

6.  Efficient simulation of three-dimensional anisotropic cardiac tissue using an adaptive mesh refinement method.

Authors:  Elizabeth M Cherry; Henry S Greenside; Craig S Henriquez
Journal:  Chaos       Date:  2003-09       Impact factor: 3.642

7.  Defibrillation depends on conductivity fluctuations and the degree of disorganization in reentry patterns.

Authors:  Gernot Plank; L Joshua Leon; Shane Kimber; Edward J Vigmond
Journal:  J Cardiovasc Electrophysiol       Date:  2005-02

8.  Near-real-time simulations of biolelectric activity in small mammalian hearts using graphical processing units.

Authors:  Edward J Vigmond; Patrick M Boyle; L Leon; Gernot Plank
Journal:  Conf Proc IEEE Eng Med Biol Soc       Date:  2009

9.  Representing cardiac bidomain bath-loading effects by an augmented monodomain approach: application to complex ventricular models.

Authors:  Martin J Bishop; Gernot Plank
Journal:  IEEE Trans Biomed Eng       Date:  2011-01-31       Impact factor: 4.538

10.  Development of an anatomically detailed MRI-derived rabbit ventricular model and assessment of its impact on simulations of electrophysiological function.

Authors:  Martin J Bishop; Gernot Plank; Rebecca A B Burton; Jürgen E Schneider; David J Gavaghan; Vicente Grau; Peter Kohl
Journal:  Am J Physiol Heart Circ Physiol       Date:  2009-11-20       Impact factor: 4.733

View more
  13 in total

1.  Incorporating inductances in tissue-scale models of cardiac electrophysiology.

Authors:  Simone Rossi; Boyce E Griffith
Journal:  Chaos       Date:  2017-09       Impact factor: 3.642

2.  Muscle Thickness and Curvature Influence Atrial Conduction Velocities.

Authors:  Simone Rossi; Stephen Gaeta; Boyce E Griffith; Craig S Henriquez
Journal:  Front Physiol       Date:  2018-10-29       Impact factor: 4.566

3.  Semi-implicit Non-conforming Finite-Element Schemes for Cardiac Electrophysiology: A Framework for Mesh-Coarsening Heart Simulations.

Authors:  Javiera Jilberto; Daniel E Hurtado
Journal:  Front Physiol       Date:  2018-10-30       Impact factor: 4.566

4.  A three-dimensional finite element model of human atrial anatomy: new methods for cubic Hermite meshes with extraordinary vertices.

Authors:  Matthew J Gonzales; Gregory Sturgeon; Adarsh Krishnamurthy; Johan Hake; René Jonas; Paul Stark; Wouter-Jan Rappel; Sanjiv M Narayan; Yongjie Zhang; W Paul Segars; Andrew D McCulloch
Journal:  Med Image Anal       Date:  2013-03-21       Impact factor: 8.545

5.  Image-Based Personalization of Cardiac Anatomy for Coupled Electromechanical Modeling.

Authors:  A Crozier; C M Augustin; A Neic; A J Prassl; M Holler; T E Fastl; A Hennemuth; K Bredies; T Kuehne; M J Bishop; S A Niederer; G Plank
Journal:  Ann Biomed Eng       Date:  2015-09-30       Impact factor: 3.934

6.  Anatomically accurate high resolution modeling of human whole heart electromechanics: A strongly scalable algebraic multigrid solver method for nonlinear deformation.

Authors:  Christoph M Augustin; Aurel Neic; Manfred Liebmann; Anton J Prassl; Steven A Niederer; Gundolf Haase; Gernot Plank
Journal:  J Comput Phys       Date:  2016-01-15       Impact factor: 3.553

7.  Active training of physics-informed neural networks to aggregate and interpolate parametric solutions to the Navier-Stokes equations.

Authors:  Christopher J Arthurs; Andrew P King
Journal:  J Comput Phys       Date:  2021-08-01       Impact factor: 3.553

8.  Chaste: an open source C++ library for computational physiology and biology.

Authors:  Gary R Mirams; Christopher J Arthurs; Miguel O Bernabeu; Rafel Bordas; Jonathan Cooper; Alberto Corrias; Yohan Davit; Sara-Jane Dunn; Alexander G Fletcher; Daniel G Harvey; Megan E Marsh; James M Osborne; Pras Pathmanathan; Joe Pitt-Francis; James Southern; Nejib Zemzemi; David J Gavaghan
Journal:  PLoS Comput Biol       Date:  2013-03-14       Impact factor: 4.475

9.  High-order finite element methods for cardiac monodomain simulations.

Authors:  Kevin P Vincent; Matthew J Gonzales; Andrew K Gillette; Christopher T Villongco; Simone Pezzuto; Jeffrey H Omens; Michael J Holst; Andrew D McCulloch
Journal:  Front Physiol       Date:  2015-08-05       Impact factor: 4.566

10.  High-order spectral/hp element discretisation for reaction-diffusion problems on surfaces: Application to cardiac electrophysiology.

Authors:  Chris D Cantwell; Sergey Yakovlev; Robert M Kirby; Nicholas S Peters; Spencer J Sherwin
Journal:  J Comput Phys       Date:  2014-01-15       Impact factor: 3.553

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.