Convergence of the compact finite difference method for second-order elliptic equations

https://doi.org/10.1016/j.amc.2006.05.033Get rights and content

Abstract

In this paper, we give a fourth-order compact finite difference scheme for the general forms of two point boundary value problems and two-dimensional elliptic partial differential equations (PDE’s). By decomposing the coefficient matrix into a sum of several matrixes after we discretize the original problems, we can obtain a lower bound for the smallest eigenvalue of the coefficient matrix. Thus we prove the compact finite difference scheme converges with the fourth order of accuracy. To solve the discretized block tri-diagonal matrix equations of the two-dimensional elliptic PDE’s, we develop an efficient iterative method: Full Multigrid Method. In our numerical experiments, we compare the compact finite difference method with the finite element method and Crank–Nicolson finite difference method. The results show that the compact finite difference scheme is a highly efficient and accurate method.

Introduction

In recent years, the compact finite difference method has been used widely in the large area of computational problems, for example, to compute hyperbolic equations. Generation of compact finite difference schemes are considered in [2], [17], [20]. Stability problems for the compact finite difference method on hyperbolic equations were discussed in [13], [14], [21]. There were also some works on applying the compact finite difference scheme for steady convection–diffusion problems [1], [3], [23], [24], Poisson equations [8], [9], integro-differential equations [10], [11], American option pricing problems [33], [34] and cardiac tissue models [31], [32].

In this paper, we derive fourth-order compact finite difference schemes for the general forms of two point boundary value problems and two-dimensional elliptic partial differential equations and give the convergence proof for them, respectively. In Section 2, we apply fourth-order compact finite difference schemes for the following general form of two point boundary value problems:-u(x)+b(x)u(x)+c(x)u(x)=f(x),xI,u(a)=ua,u(d)=ud,where u(x)=du(x)dx, u(x)=d2u(x)dx2, and I = [a, d]. The coefficient functions b(x) and c(x) in Eq. (1.1), are given, and belong to the Hilbert space H2(I). And the source function also holds f(x)  H2(I). Discretize equally the interval I = [a, d] into a grid Th with nodes:a=x0<x1<x2<<xN-1<xN=dandxi=x0+ih,i=0,1,2,,N,h is the spacial step length. We obtain a tri-diagonal matrix equation by using the compact finite difference scheme to discretize Eq. (1.1). Then the following discrete norm error estimates are derived:U-VCh4,here C is a positive constant, V is the vector of approximate solutions, and U is the vector of accurate solutions. In Section 3, we discretize the following general form of the two-dimensional elliptic partial differential equations by the fourth-order compact finite difference scheme:-(uxx(x,y)+uyy(x,y))+b1(x,y)ux(x,y)+b2(x,y)uy(x,y)+c(x,y)u(x,y)=f(x,y),(x,y)Ω,u(x,y)=u0(x,y),(x,y)onΩ,where uz(x,y)=u(x,y)z, uzz(x,y)=2u(x,y)z2, and z stands for x or y. Coefficients functions b1(x, y), b2(x, y), c(x, y), and the source function f(x, y) are given functions, and they are all in the space H2(Ω). Boundary value function u0(x, y) is already known. The coefficient matrix A for Eq. (1.4) is block tri-diagonal. We obtain the same norm error estimates (1.3) for two-dimensional case. The results of numerical experiments in Section 4 show that the compact finite difference scheme is a highly efficient and accurate method by comparing the compact finite difference method with the finite element method and Crank–Nicolson finite difference method.

In the following sections, we always use ui and vi to stand for the accurate solution and approximate solution, respectively for second-order elliptic equations at partition point xi.

Section snippets

Two point boundary value problems

In [24], Spotz derived the compact finite difference scheme for steady convection–diffusion problems of one and higher dimensional cases. We will give the compact finite difference scheme for the more general problems and derive the convergence proof for them.

Elliptic partial differential equations

For simplicity, we consider the two-dimensional space Ω is composed of a square, namely, Ω = [ax, dx;ay, dy]. Discretize equally the space Ω into a grid Th with the spacial step h, andxi=ax+ih,i=0,1,2,,N,yj=ay+jh,j=0,1,2,,M.

Numerical experiments

It is straightforward to solve the tri-diagonal matrix (2.7), while it is a little harder to solve the block tri-diagonal matrix equation (3.24). We need a solver for it. In [16], they solve a triple tri-diagonal matrix equation directly by two steps: triple-forward elimination and triple-backward substitution. In a similar way, we can solve the block tri-diagonal matrix equation (3.24). This solver is suitable for the two-dimensional case, but for higher dimensional case, the algorithm appears

Conclusions

In this paper, we give a compact finite difference scheme for one-dimensional two point boundary value problems and two-dimensional elliptic partial differential equations. We prove this scheme is convergent and has fourth-order accuracy. The numerical experiments confirms the compact finite difference scheme is an accurate, efficient, and convergent method. Our work can be easily extended to three-dimensional elliptic partial differential equations.

References (34)

  • G.F. Carey et al.

    Higher-order compact mixed methods

    Commun. Numer. Methods Eng.

    (1997)
  • H.M. Stommel

    Trans. Am. Geophys. Union

    (1948)
  • H. Yang, Numerical analysis of American options, Ph.D. Thesis, University of Alberta,...
  • J.R.K. Ngongang, High-order multigrid techniques for partial differential equations, Ph.D. thesis, George Washington...
  • G.H. Golub et al.

    Block orderings for tensor-product grids in two and three dimensions

    Numer. Algorithm

    (2002)
  • J. Zhang, Multigrid method and fourth order compact scheme for 2D Poisson equation with unequal meshsize...
  • J. Zhao, R.M. Corless, Compact finite difference method for high order integro-differential equations, submitted for...
  • Cited by (22)

    • Compact difference schemes for the modified anomalous fractional sub-diffusion equation and the fractional diffusion-wave equation

      2014, Journal of Computational Physics
      Citation Excerpt :

      Fractional derivatives of order between zero and one are widely used in describing anomalous diffusion processes [3], while fractional diffusion-wave equations have applications in modeling universal electromagnetic, acoustic, and mechanical responses [4,5]. Numerical methods for the modified anomalous fractional sub-diffusion equation and the diffusion-wave equation have been considered by many authors, one may refer to [6–17] and the references therein. We point out here that one of the main tasks for developing accurate finite difference scheme of fractional differential equations is to discretize the fractional derivatives.

    • Closed form numerical solutions of variable coefficient linear second-order elliptic problems

      2014, Applied Mathematics and Computation
      Citation Excerpt :

      Fortunately, numerical analysis in these equations can offer reliable solutions. Apart from some techniques such as meshless methods [1,2] and those based on particular transformations used to solve special problems [3,4], the most used are related mesh methods as the finite difference method [5–7], the finite-volume method [8,9] and the finite element method [10,11]. An alternative approach to solve the discretized problem as a mere algebraic system, that at the same time tries to preserve the properties of the continuous eigenfunction method for the continuous problem [14], is based on the construction of a discrete separation of the variables method for the resulting discretized problem.

    • Compact mixed methods for convection/diffusion type problems

      2012, Applied Mathematics and Computation
    View all citing articles on Scopus
    View full text