On asymptotic global error estimation and control of finite difference solutions for semilinear parabolic equations

https://doi.org/10.1016/j.cma.2014.11.032Get rights and content

Abstract

The aim of this paper is to extend the global error estimation and control addressed in Lang and Verwer [SIAM J. Sci. Comput. 29, 2007] for initial value problems to finite difference solutions of semilinear parabolic partial differential equations. The approach presented there is combined with an estimation of the PDE spatial truncation error by Richardson extrapolation to estimate the overall error in the computed solution. Approximations of the error transport equations for spatial and temporal global errors are derived by using asymptotic estimates that neglect higher order error terms for sufficiently small step sizes in space and time. Asymptotic control in a discrete L2-norm is achieved through tolerance proportionality and uniform or adaptive mesh refinement. Numerical examples are used to illustrate the reliability of the estimation and control strategies.

Introduction

We consider semilinear parabolic partial differential equations tu(t,x)=L(t,x)u(t,x)+g(t,x,u(t,x)),t(0,T],xΩRd, in dN space dimensions, where L is an elliptic operator, and assume that an appropriate system of boundary conditions and the initial conditionu(0,x)=u0(x),xΩ¯ are given. The initial boundary value problem is assumed to be well posed and to have a unique continuous solution u(t,x).

The method of lines is used to solve (1) numerically. We first discretize the PDE in space by means of finite differences of order q>1 on a (possibly non-uniform) spatial mesh Ωh and solve the resulting system of ODEs using existing time integrators. For simplicity, we shall assume that this system of time-dependent ODEs can be written in the general formUh(t)=Fh(t,Uh(t)),t(0,T],Uh(0)=Uh,0, with a unique solution vector Uh(t) being a grid function on Ωh. Let Rh:u(t,)(Rhu)(t) be the usual restriction operator defined by (Rhu)(t)=(u(t,x1),,u(t,xN))T, where xiΩh and N is the number of all mesh points. Then we take as initial condition Uh,0=Rhu(0).

To simplify the following derivations, we assume that Fh is given by Fh(t,Uh)=Lh(t)Uh+Gh(t,Uh) with a finite difference approximation Lh of L, and Gh(t,Rhu)=Rhg(t,,u(t,)).

To solve the initial value problem (3), we apply a numerical integration method of order p1 at a certain time grid 0=t0<t1<<tn<<tM1<tM=T, using local control of accuracy. This yields approximations Vh(tn) to Uh(tn), which may be calculated for other values of t by using a suitable interpolation method provided by the integrator. The global time error is then defined by eh(t)=Vh(t)Uh(t). Numerical experiments in  [1] for ODE systems have shown that classical global error estimation based on the first variational equation is remarkably reliable. In addition, having the property of tolerance proportionality, that is, there exists a linear relationship between the global time error and the local accuracy tolerance, eh(t) can be successfully controlled by a second run with an adjusted local tolerance. Numerous techniques to estimate global errors are described in  [2]. A comparison of various adaptive grid methods for partial differential equations and implementation issues are presented in  [3], [4].

In order for the method of lines to be used efficiently, it is necessary to take also into account the spatial discretization error. Defining the spatial discretization error byηh(t)=Uh(t)(Rhu)(t), the vector of overall global errors Eh(t)=Vh(t)(Rhu)(t) may be written as sum of the global time and spatial error, that is, Eh(t)=eh(t)+ηh(t). We assume that u(t,x) is (q+2)-times continuously differentiable with respect to x and (p+1)-times continuously differentiable with respect to t. Then, with maximum step sizes hmax in space and τmax=maxi=0,,M1(tn+1tn) in time it holds for the global space and time error that ηh(tn)=O(hmaxq) and eh(tn)=O(τmaxp),n=1,,M, respectively.

Although a posteriori error estimates and adaptive algorithms for the efficient solution of parabolic problems are well established (see e.g.  [5], [6] and references therein), the separation of global time and spatial discretization errors is still a challenge. First experiences to estimate and balance the spatial discretization error and the error due to time integration of the ODEs within the method of lines have been made by Schönauer, Schnepf, and Raith  [7]. In their control strategy, the spatial mesh is initially chosen and remains fixed. The spatial truncation error is designated to be the level to which the local time error must be adapted. Lawson, Berzins, and Dew  [8] proposed to additionally control the local time error with respect to the contribution of the existing error from the previous time steps to the global error at the end of the next time step. The error in time is enabled to vary in relation to the spatial discretization error, ensuring that the method of lines with a fixed spatial mesh is being used efficiently. A successful attempt to assess and to equilibrate the individual discretization errors with respect to a given quantity of interest has been made by Schmich and Vexler  [9]. An adjoint linear parabolic problem has to be solved backwards in time to derive useful error bounds, which are used to enhance the resolution in time and space to meet a user-prescribed accuracy tolerance.

It is the purpose of this paper to present a new asymptotic error control strategy for the global errors Eh(t), based on asymptotic estimates. We will mainly focus on reliability. So our aim is to provide error estimates Ẽh(t)Eh(t) which are not only asymptotically exact, but also work reliably for moderate tolerances, that is for relatively coarse discretizations. Approximations of the error transport equations for spatial and temporal global errors are derived by using asymptotic estimates that neglect higher order error terms for sufficiently small step sizes in space and time. The approximate global errors are measured in discrete L2-norms. A priori bounds for the global error in such norms are well known, see e.g.  [10], [11]. However, reliable a posteriori error estimation and efficient control of the accuracy of the solution numerically computed to an imposed tolerance level are still challenging. We achieve asymptotic global error control by iteratively improving the temporal and spatial discretizations according to asymptotic estimates of eh(t) and ηh(t). The global time error is estimated and controlled along the way fully described in  [1]. To estimate the global spatial error, we follow an approach proposed in  [12] (see also  [8]) and use Richardson extrapolation to set up a linearized error transport equation. Both strategies have to be combined in the right manner in order to make sure that they work reliably. Therefore, we have developed an appropriate control rule for the global spatial error. To control the overall global error more efficiently, we also consider a new fully space–time adaptive approach.

Throughout the paper we will use the terms ‘approximation’ and ‘estimation’ in the sense of asymptotic estimates, i.e., estimates that involve the Landau symbol O.

The outline of this paper is as follows: In Section  2, we will linearize the transport equations for the global spatial and the global time error. These contain the residual time error and the spatial truncation error, which are approximated in Sections  3 Approximation of the residual time error, 4 Approximation of the spatial truncation error. In Section  5 we describe the discretization formulas used to approximate the solutions of the error transport equations, as well as the strategies used to adaptively adjust the time step size and the spatial mesh in dependence on the residual time error and the spatial truncation error. Now that we have approximations to the global time and global spatial error, Section  6 suggests strategies to adapt the local tolerances such that in further runs first the global time error and then the global spatial error respect some global tolerances provided by the user. Finally, numerical examples and a summary are given in Sections  7 Numerical illustrations, 8 Summary.

Section snippets

Spatial and time error

By making use of the restriction operator Rh, the spatial truncation error is defined by αh(t)=(Rhu)(t)Fh(t,(Rhu)(t)). From (3), (10), it follows that the global spatial error ηh(t) representing the accumulation of the spatial discretization error is the solution of the initial value problemηh(t)=Fh(t,Uh(t))Fh(t,(Rhu)(t))αh(t),t(0,T],ηh(0)=0. Assuming Fh to be twice continuously differentiable, the mean value theorem for vector functions applied to g̃(ξ)=Fh(t,(Rhu)(t)+ξηh(t)) yieldsηh(t)=

Approximation of the residual time error

The numerical approximation of the global time error eh(t) as defined in (15) requires the construction of an appropriate nearby solution Vh(t) which is used in (13) to define the residual time error rh(t). The usual way is to construct an interpolatory polynomial from the numerical solutions by using Lagrange or Hermite interpolation. The latter one exploits the fact that with approximations Vh,nVh(tn) at certain time points also first derivatives Fh,nFh(tn,Vh,n) are given. In the following

Approximation of the spatial truncation error

An efficient strategy to estimate the spatial truncation error by Richardson extrapolation is proposed in  [12]. We will adopt this approach to our setting.

Suppose we are given a second semi-discretization of the PDE system (1), now with doubled local mesh sizes 2h, U2h(t)=F2h(t,U2h(t)),t(0,T],U2h(0)=U2h,0. In practice, one first chooses Ω2h and constructs then Ωh through uniform refinement. We assume that the solution U2h(t) to the discretized PDE on the coarse mesh Ω2h exists and is unique.

The example discretization formulas

In order to keep the illustration as simple as possible we restrict ourselves to one space dimension. For the spatial discretization of (1) we use standard second-order finite differences. Hence we have q=2. The discrete L2-norm on a non-uniform mesh x0<x1<<xN<xN+1,hi=xixi1,i=1,,N+1, for a vector y=(y1,,yN)TRN is defined through y2=i=1Nhi+hi+12yi2. Here, the components y0 and yN+1 which are given by the boundary values are not considered.

Adaptive time integration. The example time

The control rules

Like for the ODE case studied in  [1] our aim is to provide global error estimates and to control the accuracy of the numerically computed solution to the imposed tolerance level. Let GTolA and GTolR be the global tolerances. Then we start with the local tolerances TolA=GTolA,TolR=GTolR, and in the spatially adaptive case also with TolAα=CαGTolA, and TolRα=CαGTolR, where the factor Cα>1 ensures that the residual time error is small with respect to the spatial truncation error and therefore the

Numerical illustrations

To illustrate the performance of the global error estimators and the control strategy, we consider three test problems: (i) the highly stable heat equation with nonhomogeneous Neumann boundary conditions  [12], (ii) the nonlinear convection-dominated Burgers’ equation  [8], [12], and (iii) the Allen–Cahn equation modelling a diffusion–reaction problem  [1]. Analytic solutions are known for all three problems. Uniform spatial refinement is studied for all three test cases. For Burgers’ and

Summary

We have developed an error control strategy for finite difference solutions of parabolic equations, involving both temporal and spatial discretization errors. The global time error strategy discussed in  [1] appears to provide an excellent starting point for the development of such an algorithm. The classical ODE approach used there and the principle of tolerance proportionality are combined with an efficient estimation of the spatial error and mesh adaptation to control the overall global

References (15)

  • J. Lang et al.

    On global error estimation and control for initial value problems

    SIAM J. Sci. Comput.

    (2007)
  • R.D. Skeel

    Thirteen ways to estimate global error

    Numer. Math.

    (1986)
  • A. Vande Wouver et al.

    Some user-oriented comparisons of adaptive grid methods for partial differential equations in one space dimension

    Appl. Numer. Math.

    (1998)
  • A. Vande Wouver et al.

    A MATLAB implementation of upwind finite differences and adaptive grids in the method of lines

    J. Comput. Appl. Math.

    (2005)
  • J. Lang
  • U. Nowak

    A fully adaptive MOL-treatment of parabolic 1D-problems with extrapolation techniques

    Appl. Numer. Math.

    (1996)
  • W. Schönauer et al.

    Experiences in designing PDE software with selfadaptive variable step size/order difference methods

    Computing

    (1984)
There are more references available in the full text version of this article.

Cited by (4)

View full text