1. Introduction
The DuFort–Frankel (DF) scheme was introduced in [
1] to solve parabolic equations and has been extensively used since its discovery owing to its stability and explicit nature. It has been applied to model a variety of phenomena, including linear and nonlinear reaction–diffusion equations [
2,
3], fluid mechanics [
4], electromagnetism [
5], quantum mechanics [
6,
7,
8], and many others.
Several explicit stable schemes were discovered since the 1950s, e.g., the Runge–Kutta–Chebyshev method [
9,
10], and pseudo-spectral method [
11], and the search for economical stable schemes for parabolic equations continues to this day.
The von Neumann stability method, when applied to equidistant Cartesian grids, proves the unconditional stability of the scheme. This is a standard conclusion in many textbooks, see, e.g., [
12]. More recently, ref. [
13] presented a new analysis that highlights the constraints inherent to the von Neumann stability analysis.
On unstructured grids, stability analysis should be performed with more general tools. Specifically, consider a recurrent equation stemming from spatial and possibly multi-step temporal discretizations of a linear parabolic PDE,
,
,
,
. Matrix
is then referred to as an amplification matrix or solution operator,
as a state vector, and
as a source vector. The matrix method of stability analysis [
14,
15] provides a necessary condition for boundedness of the solution:
for all the eigenvalues of
, i.e., the spectral radius of the amplification matrix is less or equal to the unity. This method is simpler to apply because it avoids the need to compute the norm of the amplification matrix. In contrast, the Lax convergence theorem [
16] and the Lax–Richtmyer stability criteria [
14] both depend on analyzing the amplification matrix norm.
To the best of the authors’ knowledge, the use of the DF scheme has been limited to Cartesian grids over the past seven decades. In this work, we present a generalization of the DF scheme that is applicable to arbitrary unstructured grids. We perform spatial discretization with the finite volume method on Voronoi grids [
17,
18]. We also present a proof of the scheme’s stability based on the matrix method, along with numerical examples in both 2D and 3D.
2. Description
We consider the non-stationary diffusion equation in a polygonal or polyhedral domain
for an unknown variable
,
,
,
completed with initial and conormal boundary conditions,
where
is a diffusion coefficient,
is a source term,
is the unit outward normal to the domain boundary, and
is a prescribed flux value. We further assume
.
For spatial discretization, we apply the finite volume method on Voronoi meshes [
18]. Other spatial discretization could be applied as well, e.g., Lagrangian finite elements on triangular or tetrahedral meshes. Let
be the time step and
,
be Voronoi sites, and
be Voronoi cells. Examples of Voronoi meshes in 2D and 3D are shown in
Figure 1. We will assume that all the cells have non-zero area (2D) or volume (3D), i.e.,
.
Denote the finite volume matrix for the stationary diffusion equation as
, and the diagonal matrix of Voronoi cell areas (in 2D) or volumes (in 3D) as
V. Matrix
A is a sparse symmetric positive semi-definite with the following entries: if cells
and
are adjacent, then
otherwise off-diagonal entries are zero, and the diagonal entry is equal to the negative sum of off-diagonal entries.
Here,
is the length of the segment connecting the two Voronoi sites,
is the length of the interface edge between cells
and
, and
is the harmonic average of the diffusion coefficient within the segment
.
For example, in this notations, the explicit or forward Euler scheme would look as follows:
where
is a vector of values of the approximate solution at the respective time step, and
is a discrete source. However, this scheme is well-known to have strong stability restrictions, see, e.g., [
19]. Specifically,
, where
and
is the largest eigenvalue of the respective generalized eigenvalue problem,
.
We can think of the idea of the DuFort–Frankel scheme [
12,
20] as taking off-diagonal values of the diffusion operator from the current time step while taking diagonal values of the diffusion operator from the previous and next steps. To write this up on unstructured grids, let us split the finite volume matrix,
where
M is the diagonal of
A and
L is a matrix with off-diagonal entries only. Now the DuFort–Frankel scheme on unstructured grids can be written as follows:
The above equation can be easily solved for
involving operations with the diagonal matrices only and multiplication by a sparse matrix, indicating that the scheme is explicit. We will refer to (
8) as the
conventional formulation. The following highlights are the same.
Notice Equation (
8) can be equivalently rewritten as follows:
This suggests introducing the DuFort–Frankel scheme as a substitution of the parabolic Equation (
1) with a hyperbolic equation,
where the choice of
will be discussed later. The finite volume discretization of (
10) is straightforward to write,
A similar formulation (
11) is commonly referred to as the generalized DF scheme [
2], but we would like to refer to it as the
wave equation formulation. In the next sections, we study stability and compare performance of both formulations.
Rigorous error analysis is beyond the scope of this work, yet we will present numerical error analysis in
Section 5.2. At this point, we would like to note that the error contributes from the term with the second-order temporal derivative, which is
, where
h is the smallest diameter of a Voronoi cell.
3. Stability of the Conventional Formulation
To study stability, we reformulate (
8) as a two-step process and analyze the respective step matrix. Setting the source term to zero and isolating
, we obtain,
We denote the involved above diagonal matrices as follows:
Notice is positive-definite. The following lemma will simplify presentation. The standard Euclidean inner product in is denoted as .
Lemma 1. Let B and C be two arbtrary positive-definite diagonal matrices. Then for any , the following generalized Rayleigh quotient is bounded by unity, Proof. Since
B and
C are diagonal, the lemma is equivalent to checking absolute values of diagonal entries of
. They are as follows:
The values of the last expression evidently lie between −1 and 1. □
Completing (
12) with the trivial identity
, we obtain,
where
is a solution operator,
To prove stability, let us study the eigenvalues of
,
where
and
.
Theorem 1. The eigenvalues of solution operator satisfy .
Proof. Substituting entries of
, we obtain,
Eliminating
, we obtain a quadratic eigenvalue problem,
Using the Euclidean inner product on
, we multiply the last equation by
,
Notice that the coefficient
is real even for complex vectors
since
L is self-adjoint. The other coefficients in the above equation are real as well. We, thus, can apply the results of
Appendix A to study the roots of the last equation. The roots will satisfy the stability condition if
Applying Lemma 1, we observe that the first inequality is always satisfied. Let us study the second inequality. With simple manipulations, we obtain,
which is equivalent
The first inequity is true since
A in positive semi-definite. The same property can be proved for
,
Appendix B. We conclude that the roots of (
21) satisfy
which completes the proof. □
This theorem justified unconditional stability of the conventional formation of the DuFort–Frankel scheme. We emphasize that the stability estimate is invariant to time step, ; grid geometry; and the diffusion coefficient, .
4. Stability Analysis of the Wave Equation Formulation
As in the previous section, we reformulate (
11) as a two-step process and analyze the respective solution operator,
.
Setting the source term to zero and isolating
, we obtain,
or,
Completing (
26) with the trivial identity
, we obtain,
where
is a solution operator,
The main effort of this section is targeted at studying the following eigenvalue problem,
where
and
. We will look for a condition on
under which
what will imply stability of (
11).
Substituting entries of
into (
29), we obtain,
Elimination of
gives us a quadratic eigenvalue problem,
With minor rearrangements, it can be rewritten as follows:
We then multiply the last equation by
using Euclidean inner product in
,
Notice
does not form an eigenvector of
and
V is non-singular; we, thus, proceed with dividing by
,
We define
We remark that
and thus
.
In this notations, the quadratic equation simplifies to the following,
We now apply the results of
Appendix A. The later equation will have the roots satisfying
if
The first inequality evidently holds since
. The second simplifies to
, which is equivalent to
Since
is non-negative, only the inequality
is important. In terms of
and
, it takes the following form:
We conclude that the necessary condition for stability will be,
Remark 1. Let us verify the estimate (
41)
in 2D for the case of and on a square grid in the unit square domain. Denote cell size as h. In this case , which transforms the estimate to On the other hand, the Courant–Friedrichs–Lewy (CFL) stability condition for (
10)
takes the form,which is exactly (
42).
Consequently, (
41)
could be attributed as a generalization of the CFL condition for Equation (
10)
on unstructured grids. We can also verify our estimate for
on unstructured grids. Let us neglect the first-order temporal derivative in (
11). The CFL condition for the respective wave equation is obtained by studying the stability of
The stability limit is known and given by
We consequently obtain,
which matches (
41). For square grids and
, estimate (
45) transforms to
which can be found in many publications, e.g., [
21].
Remark 2. Stability is just one of the issues that should be considered when designing an explicit or implicit scheme. Another important characteristic is the scheme is being positive (also referred to as monotone or non-oscillatory) [20]. This property is archived if the eigenvalues are real and satisfy . It can be shown that neither (
8)
nor (
11),
nor the classical DuFort–Frankel scheme on Cartesian grids satisfy this property. However, a weaker property, and , could be achieved with The proof essentially repeats the above and thus is skipped. With this ε, oscillations are possible, yet they are minimal.
Remark 3. To minimize the contribution of the second-order temporal derivative in (
10),
smaller ε should be preferred. Thus, the value obtained in (
48),
is optimal in terms of accuracy, stability, and monotonicity. Remark 4. The largest generalized eigenvalue, , in (
41)
is rarely available. Yet its upper estimate can be derived, e.g., with the Gershgorin circle theorem [19]. We can actually get rid of the explicit dependence of ε from the largest eigenvalue, (although it will remain implicit). Let us assume , where γ is some positive constant. Substituting this expression and (
6)
into (
49),
we obtain, Remark 5. In practical modeling, source temporal dependence is commonly quite simple: step-off, step-on, and impulse. In these cases, it is reasonable to gradually increase the time steps with time, raising the efficiency of the computations. Consequently, ε can be increased as well. Paper [22] gives an estimate of the overall computational complexity for the case of finite difference electromagnetic induction modeling. 6. Discussion
The search for explicit, stable schemes for solving parabolic partial differential equations has a long history. The DuFort–Frankel scheme is one of the oldest and most well-known representatives of this class. Until now, its application has been limited to Cartesian grids. Since the classical DF scheme is included in many textbooks on numerical methods, studying its generalization represents a valuable methodological and education goal. In this work, we presented a derivation and stability analysis that applies to finite volume spatial discretization on unstructured grids.
The method of lines is a standard technique for solving linear parabolic partial differential equations. It involves first discretizing the spatial derivatives, which reduces the problem to a system of ordinary differential equations in time. Consequently, the stability analysis of a particular time-stepping scheme could be reduced to studying the scalar Dahlquist test problem. This technique assesses the stability of the most common methods for solving linear parabolic equations, such as the forward Euler (FE), backward Euler (BE), Crank–Nicolson (CN), and Runge–Kutta–Chebyshev (RKC) schemes.
The DF scheme does not fall into the above category, and thus its stability properties should be analyzed differently. Specifically, von Neumann (Fourier) analysis could be applied on equidistant grids to assess stability properties [
12]. On unstructured grids, however, Fourier analysis is not applicable.
Our proof of the DF scheme stability is based on the matrix method. The use of the matrix method for stability analysis on Cartesian grids appeared earlier in [
2] and monographs [
14,
15]. We generalized this analysis to unstructured grids. Verification of our estimate for
against the Cartesian grids case illustrated its correctness.
In our experiments, we conducted a comparison of the proposed DF scheme versus backward Euler and Runge–Kutta–Chebyshev schemes. However, it is impossible to give a universal recommendation on which time-stepping scheme to apply to the problem (
1). For example, our experiments indicate that given some specific spatial and temporal grid, the DF will produce the fastest but not the most accurate result.
The presented DF scheme inherited its main properties from the classical DF scheme–stability is achieved with some sacrifice of accuracy. It allows a quite moderate increase in the time step versus the explicit Euler stability limit. Speaking more broadly, the presented DF scheme might be on demand for such applications where smaller time steps are typically used, grid or domain geometry is complex, and the source function is possibly hard to evaluate. The scheme will clearly benefit from implementation on a massively parallel architecture. For moderate time steps, the RKC scheme looks most appropriate, yet the runtime will quickly rise on source functions that are hard to evaluate. For larger time steps, the BE scheme should be preferred. More popular higher-order explicit schemes (e.g., the Runge–Kutta fourth-order method) have a limited stability region. Thus, applying them to the stiff ODE systems stemming from the discretization of a linear parabolic PDE are not practical.
7. Conclusions
The novelty of the present contribution is the following:
We proposed a generalization of the well-known DuFort–Frankel scheme that could be applied to arbitrary unstructured grids;
Assuming the use of the finite volume method on Voronoi grids, we proved that the scheme is unconditionally stable, which complies with the classical result;
Our numerical experiments indicated that the truncation error follows the estimate in the discrete norm.
Two important topics should be addressed in future work: Firstly, the truncation error analysis is evidently needed to rigorously understand the presented approach, although we presented a numerical illustration in this study. Secondly, we just looked at the case of equal time steps. Generalization of Formulae (
8) and (
10) to unequal time steps is needed for practical modeling.
This approach can clearly be generalized to other spatial discretization methods, such as the finite element method, and to other parabolic partial differential equations and boundary conditions. In the case of Lagrangian finite elements, the standard mass-lumping procedure should be applied to obtain a diagonal mass matrix and keep the explicitness of the algorithm. Let us notice, however, that for piecewise linear finite elements, the perturbation error due to lumping is of order
, which is compatible with the inherent spatial error of the linear finite elements approximation itself. Therefore, for linear elements, lumping does not reduce the overall order of spatial accuracy. On the other hand, for higher-order elements, mass matrix lumping introduces a lower-order error term, degrading the overall convergence rate. Consequently, lumping may not be practical in this case. We refer to [
25] for further details on the topic.