Skip to main content

A mass-conservative higher-order ADI method for solving unsteady convection–diffusion equations

Abstract

In the paper, a high-order alternating direction implicit (ADI) algorithm is presented to solve problems of unsteady convection and diffusion. The method is fourth- and second-order accurate in space and time, respectively. The resulting matrix at each ADI computation can be obtained by repeatedly solving a penta-diagonal system which produces a computationally cost-effective solver. We prove that the proposed scheme is mass-conserved and unconditionally stable by means of discrete Fourier analysis. Numerical experiments are performed to validate the mass conservation and illustrate that the proposed scheme is accurate and reliable for convection-dominated problems.

Introduction

At the present time, the population explosion, the high standard of living, and the industrial expansion have led to the rise of pollutants into the aquatic environment. In eliminating or at least reducing this pollution, the pollutant transport processes induced by the advection-diffusion equation need to be well studied. Moreover, the processes to be committed should be adapted to the nature of these processes [1]. The following is the two-dimensional (2D) mathematical expression of the unsteady advection-diffusion equation without the source term:

$$ u_{t}-au_{xx}-bu_{yy}+pu_{x}+qu_{y}=0. $$
(1)

Here, u is an unknown function. The constants p and q are nonnegative speeds of convection, and the constants a and b are positive diffusivity, respectively, in the x- and y-direction. Engaging a conjunction of convection and diffusion, these processes are encountered in science and engineering phenomena very frequently. Also, these problems appear in a number of applications, for instance, in ground water pollutants and air flow, the transportation of oil reservoir, semi-conductor modeling, and so on. By convection, we refer to an actual behavior with some characteristic carried by the flow’s ordered motion. On the other hand, diffusion means a physical process with the property transported by random motion of the fluid’s molecules. The behavior of fluid subjected to mass, vorticity, and heat transfer can be investigated using the mathematical model formulated by the conservation laws of momentum, mass, and energy.

Difficulty in the development of a numerical method is treating the first derivative term that contains large coefficients (convection dominated) in a convection–diffusion equation. It follows that a numerical method that simultaneously solves both hyperbolic term (advection) and parabolic term (dispersion) is needed. However, there is no numerical method that can completely solve this problem [2]. Therefore, every effort has been put to develop the efficient and stable numerical techniques. To solve the convection–diffusion equation, a huge body of research on proficient numerical methods, such as the finite element method (see, e.g., [35]), the finite difference method (see, e.g., [623]), and others, has been created. We now concentrate on the research about the finite difference method. According to ease of implementation as a conventional approach, the finite difference method is always utilized to solve partial differential equations. High-order compact (HOC) finite difference methods happen to be one of the most commonly used numerical methods to solve the unsteady convection–diffusion equation, that may extremely enhance the approximate precision (see, e.g., [612]).

Since the objective of the alternating direction implicit (ADI) method is decreasing multi-dimensional problems to a series of one-dimensional (1D) problems, and it is only required to solve the tridiagonal systems, the ADI method is greatly effective in solving parabolic and hyperbolic initial boundary value problems. Presented by Peaceman and Rachford [13], the ADI scheme has been considered to be one of the most approved means to solve the higher-dimensional problems due to its unconditional stability and huge efficiency. Nevertheless, the Peaceman–Rachford ADI scheme appears to be second-order accurate in space, and it can generate significant dissipation and phase errors. For gaining resolutions with higher order, many efforts are attempted to use HOC schemes for spatial estimations of Eq. (1). To solve unsteady convection–diffusion equations, a high-order compact ADI scheme was presented by Karaa and Zhang [14]. On that account, great accuracy and great computational efficiency are coincidentally achieved. For 2D unsteady convection–diffusion equations, a Padé scheme-based ADI (PDE-ADI) model was presented by You [15]. It has finer phase and amplitude characteristics. Tian and Ge presented [16] an exponential high-order compact alternating direction implicit (EHOC-ADI) method used to solve 2D unsteady convection–diffusion equations. It highly accomplishes solving convection-dominated equations with high Reynolds numbers. Subsequently, the logical HOC scheme with the ADI (RHOC-ADI) method to solve unsteady convection–diffusion equations was investigated by Tian [17]. On this account, its great effectiveness on solution accuracy and computational efficiency was demonstrated. All of those methods are second-order accurate in time and fourth-order accurate in space (see more [1820]). Additional developments on a series of ADI methods have recently been completed. Some researchers are using the higher-order difference schemes with ADI methods [2123] for achieving sixth-order accuracy in space.

In this paper, we consider the 2D unsteady advection-diffusion equation with the homogeneous boundary conditions

$$ u(x_{L},y,t)=u(x_{R},y,t)=u(x,y_{L},t)=u(x,y_{R},t)=0,\quad t\in (0,T], $$
(2)

and the initial condition

$$ u(x,y,0)=\phi (x,y),\quad (x,y)\in \varOmega , $$
(3)

where \(\phi (x,y)\) is a known smooth function. The solution is supposed to have the following asymptotic values: \(|u(x,y)|\to 0\) as \(|x|,|y|\to +\infty \). For that reason, if \(x_{L}\ll 0\), \(y_{L}\ll 0\), \(x_{R}\gg 0\), and \(y_{R}\gg 0\), the initial-boundary value problem is in agreement with the Cauchy problem of Eq. (1).

From the past, many conservative schemes have been presented by researchers for examining solutions of various nonlinear partial differential equations. The conservativeness is obviously one of the necessary characteristics of fluid or propagating waves. Confirmed by schemes of the energy or mass conservation, the accomplishment for a numerical approximation in the long-time behavior is one example. A mass-conservative finite difference scheme that conserves the solution for the convection–diffusion equation is therefore required. In the same way, the significant feature which the convection–diffusion problems occupy is the balance of mass. That is, if there exists no source, the mass must be conserved. Some of conservative methods shown in [2428] preserve mass balance identity well. At this point, work on the family of ADI methods is not necessary.

According to the benefit of ADI methods and conservative discretization simultaneously, the improvement of the solution accuracy in the spatial domain based on the HOC-ADI method, which is a compact sixth-order scheme that inherits mass preserving properties, will be focused on. The novel HOC scheme for the 1D steady convection–diffusion equation will be first implemented. Then, a scheme for solving the 2D unsteady advection-diffusion equation based on the ADI technique and an exponential difference operator are introduced. We note that no additional computational cost is needed for the compact scheme. Thus, the compact scheme has better effectiveness than the noncompact scheme does.

The paper is structured as follows: Numerical methods consisting of spatial and temporal discretized methods of the 2D convection–diffusion equations are explained in Sect. 2 in detail. Solvability and the conservative property are proved in Sect. 3. In Sect. 4, the analysis of the linearity of Fourier stability for the proposed ADI scheme is presented. Various numerical examples and detailed numerical results in 1D and 2D cases of unsteady advection-diffusion equation are provided to justify the theory analysis and show the performance of the present ADI scheme. The behavior of numerical solutions is also discussed when the Reynolds number increases. Eventually, remarkable conclusions are summarized to finalize the research paper.

Description of the numerical methods for 2D convection–diffusion equations

Notations

In this section, we provide some notations which are used in this paper. For a positive integer N, denote \(\tau =\frac{T}{N}\), \(t_{n}=nk\), \(n=0,1,2,\ldots ,N\). Let \(\overline{\varOmega }=\varOmega \times (0,T]\) be the solution domain which is covered by a uniform grid \((x_{i},y_{j},t_{n})\) as defined by

$$ x_{i}=x_{L}+ih_{x},\qquad y_{j}=y_{L}+jh_{y},\quad -1\le i\le M_{x}+1, -1\le j \le M_{y}+1, $$

where \(h_{x}=(x_{R}-x_{L})/M_{x}\) and \(h_{y}=(y_{R}-y_{L})/M_{y}\) are the uniform step sizes in the x and y spatial directions, respectively. Denote \(u_{i,j}^{n}=u(x_{i},y_{j},t_{n})\) and the solution space

$$\begin{aligned} Z_{h}^{0} =&\bigl\{ u=(u_{i,j})|u_{i,-1}=u_{i,0}=u_{i,M_{y}}=u_{i,M_{y}+1}= u_{-1,j}=u_{0,j}=u_{M_{x},j}=u_{M_{x}+1,j}=0, \\ &{}-1\le i\le M_{x}+1, -1\le j\le M_{y}+1\bigr\} . \end{aligned}$$

The following notations are introduced for the simplicity for \(u^{n}\in Z_{h}^{0}\):

$$\begin{aligned} &\delta _{x} \bigl( u_{i,j}^{n} \bigr)= \frac{u_{{i+1,j}}^{n}-u_{i,j}^{n}}{h_{x}}, \qquad \delta _{ \bar{x}} \bigl( u_{i,j}^{n} \bigr) = \frac{u_{i,j}^{n}-u_{i-1,j}^{n}}{h_{x}}, \qquad \delta _{\hat{x}} \bigl( u_{i,j}^{n} \bigr) = \frac{u_{i+1,j}^{n}-u_{i-1,j}^{n}}{2h_{x}}, \\ &\delta _{y} \bigl( u_{i,j}^{n} \bigr)= \frac{u_{{i,j+1}}^{n}-u_{i,j}^{n}}{h_{y}}, \qquad \delta _{ \bar{y}} \bigl( u_{i,j}^{n} \bigr) = \frac{u_{i,j}^{n}-u_{i,j-1}^{n}}{h_{y}}, \qquad \delta _{\hat{y}} \bigl( u_{i,j}^{n} \bigr) = \frac{u_{i,j+1}^{n}-u_{i,j-1}^{n}}{2h_{y}}, \\ & u_{i,j}^{n+1/2}=\frac{u^{n+1}_{ij}+u_{ij}^{n }}{2}, \qquad \bigl\langle {u^{n}},{v^{n}} \bigr\rangle =h_{x}h_{y}\sum_{j=1}^{M_{x}-1} \sum_{i=1}^{M_{y}-1}{u_{i,j}^{n} v_{i,j}^{n}}, \qquad \bigl\Vert u^{n} \bigr\Vert ^{2}= \bigl\langle u^{n},u^{n} \bigr\rangle , \end{aligned}$$

and \(\Vert u^{n} \Vert _{\infty }=\max_{i,j} \vert u_{ij}^{n} \vert \). For convenience, we let

$$\begin{aligned} &\delta ^{2}_{x\bar{x}} \bigl( u_{i,j}^{n} \bigr)= \frac{u_{{i+1,j}}^{n}-2u_{i,j}^{n}+u_{i-1,j}^{n}}{h_{x}^{2}}, \qquad \delta ^{2}_{y\bar{y}} \bigl( u_{i,j}^{n} \bigr)= \frac{u_{{i ,j+1}}^{n}-2u_{i,j }^{n}+u_{i,j-1}^{n}}{h_{y}^{2}}, \\ &\delta ^{3}_{x\bar{x}\hat{x}} \bigl( u_{i,j}^{n} \bigr)= \frac{u_{{i+2,j}}^{n}-2u_{i+1,j}^{n}+2u_{i-1,j}^{n}- 2u_{i-2,j}^{n}}{2h_{x}^{3}}, \\ &\delta ^{3}_{y\bar{y}\hat{y}} \bigl( u_{i,j}^{n} \bigr)= \frac{u_{{i,j+2}}^{n}-2u_{i ,j+1}^{n}+2u_{i,j-1}^{n}- 2u_{i,j-2}^{n}}{2h_{y}^{3}}, \\ &\delta ^{4}_{xx\bar{x}\bar{x}} \bigl( u_{i,j}^{n} \bigr)= \frac{u_{{i+2,j}}^{n}-4u_{i+1,j}^{n}+6u_{i,j}^{n}-4u_{i-1,j}^{n}+ u_{i-2,j}^{n}}{ h_{x}^{4}}, \\ &\delta ^{4}_{xx\bar{x}\bar{x}} \bigl( u_{i,j}^{n} \bigr)= \frac{u_{{i,j+2}}^{n}-4u_{i,j+1}^{n}+6u_{i,j}^{n}-4u_{i,j-1}^{n}+ u_{i,j-2}^{n}}{ h_{y}^{4}}. \end{aligned}$$

Double compact high-order ADI finite difference method (DHOC-ADI)

To develop a new HOC-ADI method, we begin with the elementary 1D steady convection diffusion equation

$$ -au_{xx}+pu_{x}=f, $$
(4)

where a is the positive constant conductivity, p is the constant convective velocity, and f is a sufficiently smooth function of x. The technique outline is to combine the HOC-ADI proposed by [14] and Richardson’s extrapolation for solving the steady convection diffusion equation. By using the Taylor series expansion, we have

$$ -a \biggl( \delta ^{2}_{x\bar{x}}(u_{i})- \frac{ h_{x}^{2}}{12} u_{xxxx}+ \frac{ h_{x}^{4}}{360} u_{xxxxxx} \biggr)+p \biggl( \delta _{\hat{x}}(u_{i}) - \frac{ h_{x}^{2}}{6} u_{xxx}+\frac{ h_{x}^{4}}{120} u_{xxxxx} \biggr) =f_{i}+O\bigl(h_{x}^{6}\bigr). $$
(5)

First, we differentiate both sides of Eq. (4) with respect to x and obtain

$$ -au_{xxx}+pu_{xx}=f_{x}. $$
(6)

Differentiating both sides of Eq. (6), we have

$$ -au_{xxxx}+pu_{xxx}=f_{xx}. $$
(7)

Substituting Eqs. (6) and (7) into Eq. (5) and rearranging it, we get

$$ -a \delta ^{2}_{x\bar{x}}(u_{i}) + p \delta _{\hat{x}}(u_{i}) - \frac{ p ^{2}h_{x}^{2}}{12a} u_{xx} -\frac{ ph_{x}^{4}}{120} u_{xxxxx} + \frac{a h_{x}^{4}}{360} u_{xxxxxx}=f_{i}-\frac{ph_{x}^{2}}{12a}f_{x }+ \frac{h_{x}^{2}}{12}f_{xx}+O\bigl(h_{x}^{6} \bigr). $$
(8)

Apply the fourth-order difference operator for the second-order derivative, and it yields

$$\begin{aligned}& - \biggl(a+\frac{ p ^{2}h_{x}^{2}}{12a} \biggr) \delta ^{2}_{x\bar{x}}(u_{i}) + p \delta _{\hat{x}}(u_{i}) +\frac{ p ^{2}h_{x}^{4}}{144a} \delta ^{4}_{xx \bar{x}\bar{x}}u -\frac{ ph_{x}^{4}}{120} u_{xxxxx} + \frac{a h_{x}^{4}}{360} u_{xxxxxx} \\& \quad =f_{i}-\frac{ph_{x}^{2}}{12a}f_{x }+ \frac{h_{x}^{2}}{12}f_{xx}+O\bigl(h_{x}^{6} \bigr). \end{aligned}$$
(9)

To this end, again, we differentiate both sides of Eq. (7) with respect to x and obtain

$$ -au_{xxxxx}+pu_{xxxx}=f_{xxx}. $$
(10)

Also, differentiating both sides of Eq. (10), we have

$$ -au_{xxxxxx}+pu_{xxxxx}=f_{xxxx}. $$
(11)

Similarly, substituting Eqs. (10) and (11) into Eq. (9) and rearranging it, we get

$$\begin{aligned}& - \biggl(a+\frac{ p ^{2}h_{x}^{2}}{12a} \biggr) \delta ^{2}_{x\bar{x}}(u_{i}) + p \delta _{\hat{x}}(u_{i}) +\frac{ p ^{2}h_{x}^{4}}{720a} \delta ^{4}_{xx \bar{x}\bar{x}}u \\& \quad =f_{i}-\frac{ph_{x}^{2}}{12a}f_{x }+ \frac{h_{x}^{2}}{12}f_{xx}- \frac{ph_{x}^{4}}{180a}f_{xxx }+ \frac{h_{x}^{4}}{360}f_{xxxx}+O\bigl(h_{x}^{6} \bigr). \end{aligned}$$
(12)

By using the Richardson extrapolations, we get

$$\begin{aligned}& f_{x}=\delta _{\hat{x}}(f_{i})- \frac{h_{x}^{2}}{6}\delta ^{3}_{x \bar{x}\hat{x}}(f_{i})+O \bigl(h_{x}^{4}\bigr), \\& f_{xx}=\delta ^{2}_{x\bar{x}}(f_{i})- \frac{h_{x}^{2}}{12}\delta ^{4}_{xx \bar{x} \bar{x} }(f_{i})+O \bigl(h_{x}^{4}\bigr). \end{aligned}$$

Combine the above equation and Eq. (12) using the second-order difference operator for the third- and fourth-order derivative; it yields

$$\begin{aligned}& - \biggl(a+\frac{ p ^{2}h_{x}^{2}}{12a} \biggr) \delta ^{2}_{x\bar{x}}(u_{i}) + p \delta _{\hat{x}}(u_{i}) +\frac{ p ^{2}h_{x}^{4}}{720a} \delta ^{4}_{xx \bar{x}\bar{x}}u \\& \quad =f_{i}-\frac{ph_{x}^{2}}{12a}\delta _{\hat{x}}(f_{i})+ \frac{h_{x}^{2}}{12}\delta _{x\bar{x}}(f_{i})+ \frac{ph_{x}^{4}}{120a} \delta ^{3}_{x\bar{x}\hat{x}}(f_{i})- \frac{h_{x}^{4}}{240}\delta ^{4}_{xx \bar{x}\bar{x} }(f_{i})+O \bigl(h_{x}^{6}\bigr). \end{aligned}$$
(13)

The truncation error analysis shows that Eq. (13) is a sixth-order scheme for the convection–diffusion equation (4). Scheme (13) may be named double compact high-order (DHOC) finite difference scheme. In fact, Eq. (13) can be symbolically formulated as

$$ L_{x}^{-1}A_{x} u_{i}=f_{i}+O \bigl(h_{x}^{6}\bigr), $$
(14)

where

$$\begin{aligned}& A_{x} =- \biggl(a+\frac{ p ^{2}h_{x}^{2}}{12a} \biggr) \delta ^{2}_{x \bar{x}} + p \delta _{\hat{x}} + \frac{ p ^{2}h_{x}^{4}}{720a} \delta ^{4}_{xx \bar{x}\bar{x}}, \\& L_{x} = 1-\frac{ph_{x}^{2}}{12a}\delta _{\hat{x}} + \frac{h_{x}^{2}}{12}\delta _{x\bar{x}} +\frac{ph_{x}^{4}}{120a} \delta ^{3}_{x\bar{x}\hat{x}}-\frac{h_{x}^{4}}{240}\delta ^{4}_{xx \bar{x}\bar{x} }. \end{aligned}$$

Notice that the operator \(L_{x}^{-1}\) has symbolic meaning only. By observation, to derive the higher-order compact scheme for numerical solution of transport problems involving convective and diffusive processes, the symbolic operator approximate technique has been extensively used (for more details, see [14, 16, 17]. An analogous symbolic sixth-order compact approximation operator can also be applied for the y variable. Therefore, we define the difference operator in the y-direction as follows:

$$\begin{aligned}& A_{y} =- \biggl(b+\frac{ q ^{2}h_{y}^{2}}{12b} \biggr) \delta ^{2}_{y \bar{y}} + q \delta _{\hat{y}} + \frac{ q^{2}h_{y}^{4}}{720b} \delta ^{4}_{yy \bar{y}\bar{y}} , \\& L_{y} = 1-\frac{qh_{y}^{2}}{12b}\delta _{\hat{y}} + \frac{h_{y}^{2}}{12}\delta _{y\bar{y}} +\frac{qh_{y}^{4}}{120b} \delta ^{3}_{y\bar{y}\hat{y}}-\frac{h_{y}^{4}}{240}\delta ^{4}_{yy \bar{y}\bar{y} }. \end{aligned}$$

This yields

$$ \bigl( L_{x}^{-1}A_{x}+L_{y}^{-1}A_{y} \bigr) u_{ij}=f_{ij}, $$
(15)

when the sixth-order compact difference operators \(L_{x}^{-1}A_{x}\) and \(L_{y}^{-1}A_{y} \) are applied to the unsteady 2D convection–diffusion equation (1). For 2D unsteady convection–diffusion problem, the term \(f_{ij}\) can be replaced by \(-\partial u/ \partial t\) to obtain

$$ \biggl(\frac{\partial u}{\partial t} \biggr)_{ij} + \bigl( L_{x}^{-1}A_{x}+L_{y}^{-1}A_{y} \bigr) u_{ij}=O\bigl(h_{x}^{6}\bigr), $$
(16)

where \(O(h^{6})\) refers to \(O(h_{x}^{6}+h_{y}^{6})\). To complete the discrete scheme, we apply the semi-discrete approximation technique in [14, 16, 17]. Using the forward Taylor series development, we get

$$ \frac{u^{n+1}_{i,j}-u^{n}_{i,j}}{\tau }+ \bigl(L_{x}^{-1}A_{x}+L_{y}^{-1}A_{y} \bigr)\frac{u^{n+1}_{i,j}+u^{n}_{i,j}}{2}=O(\tau )+O\bigl(h_{x}^{6} \bigr). $$
(17)

By applying the commutativity of the difference operators and Taylor expansions with Eq. (17), we obtain

$$ \biggl(1+\frac{\tau }{2}L_{x}^{-1}A_{x} \biggr) \biggl(1+ \frac{\tau }{2}L_{y}^{-1}A_{y} \biggr)u^{n+1}= \biggl(1-\frac{\tau }{2}L_{x}^{-1}A_{x} \biggr) \biggl(1-\frac{\tau }{2}L_{y}^{-1}A_{y} \biggr)u^{n}, $$
(18)

which yields

$$\begin{aligned}& \biggl(L_{x}+\frac{\tau }{2} A_{x} \biggr) \biggl(L_{y}+\frac{\tau }{2}A_{y} \biggr)u^{n+1} \\& \quad = \biggl(L_{x}-\frac{\tau }{2} A_{x} \biggr) \biggl(L_{y}- \frac{\tau }{2}A_{y} \biggr)u^{n}+O\bigl(\tau ^{3}\bigr)+O\bigl(\tau h_{x}^{6}+\tau h_{y}^{6} \bigr), \end{aligned}$$
(19)

when we apply both sides of Eq. (18) with difference operators \(L_{x}L_{y}\). The resulting approximation Eq. (19) is second-order accurate in time and sixth-order accurate in space. By introducing an intermediate variable \(u^{*}\), Eq. (19) can be solved in two steps as follows:

$$\begin{aligned} & \biggl(L_{x}+\frac{\tau }{2} A_{x} \biggr)u^{*}= \biggl(L_{x}- \frac{\tau }{2} A_{x} \biggr) \biggl(L_{y}-\frac{\tau }{2}A_{y} \biggr)u^{n}, \end{aligned}$$
(20)
$$\begin{aligned} & \biggl(L_{y}+\frac{\tau }{2}A_{y} \biggr)u^{n+1}=u^{*}. \end{aligned}$$
(21)

It is worth to notice that the DHOC-ADI scheme (20)–(21) is second-order accurate in time and sixth-order in space. The solution to the resulting DHOC-ADI schemes can be computed by solving the one-dimensional penta-diagonal matrix. The boundary condition for \(u^{*}\) can be obtained by Eq. (21). Therefore, by considering the boundary conditions Eq. (2), it is logical to assume that \(u^{*}\) has the same asymptotic value as boundary as Eq. (2).

Solvability and mass-conservative property

Solvability

The following lemmas and theorems are well-known and elementary results which are essential for proving the solvability of the new DHOC-ADI scheme (20)–(21).

Lemma 1

For any two mesh functions \(u,v\in Z_{h}^{0}\), we have

$$\begin{aligned} &\bigl\langle \delta ^{2}_{x\bar{x}}u,v\bigr\rangle =\bigl\langle u,\delta ^{2}_{x \bar{x}}v\bigr\rangle =-\langle \delta _{x}u,\delta _{x}v\rangle ,\qquad \bigl\langle \delta ^{2}_{y\bar{y}}u,v\bigr\rangle =\bigl\langle u,\delta ^{2}_{y\bar{y}}v \bigr\rangle =-\langle \delta _{y}u,\delta _{y}v\rangle , \\ &\bigl\langle \delta ^{4}_{xx\bar{x}\bar{x}}u,v\bigr\rangle =\bigl\langle \delta ^{2}_{x \bar{x}}u,\delta ^{2}_{x\bar{x}}v \bigr\rangle , \qquad \bigl\langle \delta ^{4}_{yy \bar{y}\bar{y}}u,v\bigr\rangle =\bigl\langle \delta ^{2}_{y\bar{y}}u,\delta ^{2}_{y \bar{y}}v\bigr\rangle . \end{aligned}$$

Moreover,

$$\begin{aligned}& \bigl\langle \delta ^{2}_{x\bar{x}}u,u\bigr\rangle =- \Vert \delta _{x}u \Vert ^{2}, \qquad \bigl\langle \delta ^{2}_{y\bar{y}}u,u\bigr\rangle =- \Vert \delta _{y}u \Vert ^{2}, \\& \bigl\langle \delta ^{4}_{xx\bar{x}\bar{x}}u,u\bigr\rangle =- \bigl\Vert \delta ^{2}_{x \bar{x}}u \bigr\Vert ^{2},\qquad \bigl\langle \delta ^{4}_{yy\bar{y}\bar{y}}u,u\bigr\rangle =- \bigl\Vert \delta ^{2}_{y\bar{y}}u \bigr\Vert ^{2}. \end{aligned}$$

Lemma 2

For any mesh function \(u\in Z_{h}^{0}\), we have

$$\begin{aligned} &\langle \delta _{\hat{x}}u,u\rangle =0, \qquad \bigl\langle \delta ^{3}_{x \bar{x}\hat{x}}u,u\bigr\rangle =0, \\ &\langle \delta _{\hat{y}}u,u\rangle =0, \qquad \bigl\langle \delta ^{3}_{y \bar{y}\hat{y}}u,u\bigr\rangle =0. \end{aligned}$$

Lemma 3

([29])

For any mesh function \(u\in Z_{h}^{0}\), we have

$$\begin{aligned} & \bigl\Vert \delta ^{2}_{x\bar{x}}u \bigr\Vert ^{2}\le \frac{4}{h_{x}^{2}} \Vert \delta _{x }u \Vert ^{2}\le \frac{16}{h_{x}^{4}} \Vert u \Vert ^{2}, \\ & \bigl\Vert \delta ^{2}_{y\bar{y}}u \bigr\Vert ^{2}\le \frac{4}{h_{y}^{2}} \Vert \delta _{y }u \Vert ^{2}\le \frac{16}{h_{y}^{4}} \Vert u \Vert ^{2}, \end{aligned}$$

and

$$ \Vert u_{\hat{x}} \Vert \le \Vert u_{x} \Vert ,\qquad \Vert u_{\hat{y}} \Vert \le \Vert u_{y} \Vert . $$

Theorem 4

There exist \(u^{n},u^{*}\in Z_{h}^{0}\)satisfying the difference scheme (20)(21).

Proof

It follows from the original problem that \(u_{0}\) satisfies scheme (20)–(21). By using the mathematical induction, for \(n\le N-1\), assume that there exist \(u^{0},u^{1},\ldots ,u^{n}\), with corresponding \(u^{*}\) in each step, satisfying Eqs. (20)–(21). Next, we prove that there exist \(u^{n+1}\), \(u^{*}\) satisfying scheme (20)–(21). By considering the homogenous form of Eq. (20)

$$ \biggl(L_{x}+\frac{\tau }{2} A_{x} \biggr)u^{*}=0, $$
(22)

taking the inner product of Eq. (22) with \(u^{*}\), we obtain

$$ \bigl\langle L_{x} u^{*},u^{*}\bigr\rangle +\frac{\tau }{2}\bigl\langle A_{x}u^{*},u^{*} \bigr\rangle =0. $$
(23)

By using the boundary conditions, Lemma 1, and Lemma 2, we see that

$$\begin{aligned} &\bigl\langle A_{x} u^{*},u^{*}\bigr\rangle = \biggl(a+ \frac{ p ^{2}h_{x}^{2}}{12a} \biggr) \bigl\Vert \delta _{x} u^{*} \bigr\Vert ^{2}+ \frac{ p ^{2}h_{x}^{4}}{720a} \bigl\Vert \delta ^{2}_{x\bar{x}}u^{*} \bigr\Vert ^{2}, \end{aligned}$$
(24)
$$\begin{aligned} &\bigl\langle L_{x}u^{*},u^{*}\bigr\rangle = \bigl\Vert u^{*} \bigr\Vert ^{2}- \frac{h_{x}^{2}}{12} \bigl\Vert \delta _{x}u^{*} \bigr\Vert ^{2}-\frac{h_{x}^{4}}{240} \bigl\Vert \delta ^{2}_{x\bar{x}}u^{*} \bigr\Vert ^{2}. \end{aligned}$$
(25)

By using Lemma 3, we have

$$ \bigl\langle L_{x}u^{*},u^{*}\bigr\rangle \ge \frac{3}{5} \bigl\Vert u^{*} \bigr\Vert ^{2}, $$

which yields

$$ \frac{\tau }{2} \biggl(a+\frac{ p ^{2}h_{x}^{2}}{12a} \biggr) \bigl\Vert \delta _{x} u^{*} \bigr\Vert ^{2}+ \frac{\tau p ^{2}h_{x}^{4}}{1440a} \bigl\Vert \delta ^{2}_{x\bar{x}}u^{*} \bigr\Vert ^{2} +\frac{3}{5} \bigl\Vert u^{*} \bigr\Vert ^{2}\le 0, $$

where Eqs. (24) and (25) are applied in Eq. (22). This implies that

$$ \bigl\Vert u^{*} \bigr\Vert = \bigl\Vert \delta _{x} u^{*} \bigr\Vert = \bigl\Vert \delta ^{2}_{x\bar{x}}u^{*} \bigr\Vert = 0. $$

Hence, it uniquely admits a zero solution satisfying scheme (22). Therefore, \(u^{*}\) is uniquely solvable. Repeating the same arguments to the homogenous form of Eq. (21), we can easily obtain the solvability and the uniqueness of \(u^{n+1}\). This completes the proof. □

Mass-preserving properties

Theorem 5

Suppose \(u_{0}(x,y)\in Z_{0}^{h}(\varOmega )\), then the finite difference scheme (20)(21) is conservative for discrete mass in the sense of

$$ Q^{n}=h_{x}h_{y}\sum _{i=1}^{M_{x}-1}\sum_{j=1}^{M_{y}-1}u^{n}_{i,j}= Q^{n-1}=\cdots =Q^{0}. $$

Proof

Multiplying Eq. (21) with \(h_{x}h_{y}\) and summing up for i from 1 to \(M_{x}-1\) and j from 1 to \(M_{y}-1\), we obtain

$$ h_{x}h_{y}\sum _{i=1}^{M_{x}-1}\sum_{j=1}^{M_{y}-1}L_{y}u^{n+1}+ h_{x}h_{y} \frac{\tau }{2}\sum _{i=1}^{M_{x}-1}\sum_{j=1}^{M_{y}-1}A_{y}u^{n+1}=h_{x}h_{y} \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}u^{*}_{i,j}. $$
(26)

According to the boundary conditions, we see that

$$\begin{aligned}& \begin{aligned} \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}\delta _{\hat{y}}u^{n+1}_{i,j} &= \frac{1}{2h_{y}}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i,j+1}-u^{n+1}_{i,j-1} \bigr) \\ &=0, \end{aligned} \\& \begin{aligned} \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}\delta ^{2}_{y\bar{y}}u^{n+1}_{i,j} &= \frac{1}{ h_{y}^{2}}\sum_{i=1}^{M_{x}-1} \sum_{i=1}^{M_{y}-1} \bigl( u^{n+1}_{i,j+1}-2u^{n+1}_{i,j}+u^{n+1}_{i,j-1} \bigr) \\ &=\frac{1}{ h_{y}^{2}}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i,j+1}-u^{n+1}_{i,j} \bigr)- \frac{1}{ h_{y}^{2}} \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i,j}-u^{n+1}_{i ,j-1} \bigr) \\ &=0, \end{aligned} \\& \begin{aligned} \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}\delta ^{3}_{y\bar{y} \hat{y}}u^{n+1}_{i,j} &= \frac{1}{ 2h_{y}^{3}}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i,j+2}-2u^{n+1}_{i,j+1}+2u^{n+1}_{i,j-1}-u^{n+1}_{i,j-2} \bigr) \\ &=\frac{1}{2h_{y}^{3}}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i ,j+2}-u^{n+1}_{i ,j+1} \bigr)- \frac{1}{ 2h_{y}^{3}}\sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i,j+1}-u^{n+1}_{i,j-1} \bigr) \\ &\quad {} + \frac{1}{2h_{y}^{3}}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i,j-1}-u^{n+1}_{i,j-2} \bigr) \\ &=0, \end{aligned} \end{aligned}$$

and

$$\begin{aligned} \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}\delta ^{4}_{yy\bar{y} \bar{y}}u^{n+1}_{i,j} &= \frac{1}{ h_{y}^{4}}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i ,j+2}-4u^{n+1}_{i ,j+1}+6u^{n+1}_{i,j}-4u^{n+1}_{i ,j-1}+u^{n+1}_{i ,j-2} \bigr) \\ &=\frac{1}{ h_{y}^{4}}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i ,j+2}-u^{n+1}_{i ,j+1} \bigr)- \frac{3}{ h_{y}^{4}}\sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i ,j+1}-u^{n+1}_{i,j} \bigr) \\ &\quad {} + \frac{3}{ h_{y}^{4}}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i ,j}-u^{n+1}_{i ,j-1} \bigr)- \frac{ 1}{ h_{y}^{4}}\sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} \bigl( u^{n+1}_{i ,j-1}-u^{n+1}_{i ,j-2} \bigr) \\ &=0, \end{aligned}$$

which yield

$$\begin{aligned}& \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}L_{y}u^{n+1}_{i,j}= \sum_{i=1}^{M_{x}-1} \sum _{j=1}^{M_{y}-1} u^{n+1}_{i,j} , \\& \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}A_{y}u^{n+1} _{i,j}=0. \end{aligned}$$

Hence, Eq. (26) gives

$$ h_{x}h_{y}\sum _{i=1}^{M_{x}-1}\sum_{j=1}^{M_{y}-1} u^{n+1} _{i,j} =h_{x}h_{y} \sum _{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}u^{*}_{i,j}. $$
(27)

Next, we again multiply Eq. (20) with \(h_{x}h_{y}\), summing up for i from 1 to \(M_{x}-1\) and j from 1 to \(M_{y}-1\), we obtain

$$\begin{aligned}& h_{x}h_{y}\sum _{i=1}^{M_{x}-1}\sum_{j=1}^{M_{y}-1}L_{x}u^{*}_{i,j}+ h_{x}h_{y} \frac{\tau }{2}\sum _{i=1}^{M_{x}-1}\sum_{j=1}^{M_{y}-1}A_{x}u^{*}_{i,j} \\& \quad =h_{x}h_{y} \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} \biggl(L_{x}- \frac{\tau }{2} A_{x} \biggr) \biggl(L_{y}- \frac{\tau }{2}A_{y} \biggr)u^{n}_{i,j}. \end{aligned}$$
(28)

Again, by using the boundary conditions, we obtain

$$\begin{aligned} & \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}\delta _{\hat{x}}u^{*}_{i,j} =0, \qquad \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}\delta ^{2}_{x\bar{x}}u^{*}_{i,j} =0, \\ &\sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}\delta ^{3}_{x\bar{x} \hat{x}}u^{*}_{i,j} =0, \qquad \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} \delta ^{4}_{xx\bar{x}\bar{x}}u^{*}_{i,j} =0, \end{aligned}$$

which yield

$$ \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1}L_{x}u^{*}_{i,j}= \sum_{i=1}^{M_{x}-1} \sum _{j=1}^{M_{y}-1} u^{*}_{i,j},\qquad \sum_{i=1}^{M_{x}-1} \sum _{j=1}^{M_{y}-1}A_{x}u^{*}_{i,j}=0. $$
(29)

Consider the right term of Eq. (28), we see that

$$\begin{aligned}& \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} \biggl(L_{x}- \frac{\tau }{2} A_{x} \biggr) \biggl(L_{y}- \frac{\tau }{2}A_{y} \biggr)u^{n}_{i,j} \\& \quad = \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} L_{x}L_{y}u^{n}_{i,j}- \frac{\tau }{2}\sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} L_{x}A_{y}u^{n}_{i,j} \\& \qquad {}-\frac{\tau }{2}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} A_{x}L_{y}u^{n}_{i,j} +\frac{\tau ^{2}}{4}\sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} A_{x}A_{y}u^{n}_{i,j}. \end{aligned}$$
(30)

It is not difficult to see that

$$\begin{aligned}& \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} L_{x}A_{y}u^{n}_{i,j} =0, \\& \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} A_{x}L_{y}u^{n}_{i,j} =0, \\& \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} A_{x}A_{y}u^{n}_{i,j} =0, \end{aligned}$$

by the fact that

$$ \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} A_{x}u^{n}_{i,j}= \sum_{i=1}^{M_{x}-1} \sum _{j=1}^{M_{y}-1} A_{y}u^{n}_{i,j}=0. $$

Hence, Eq. (28) gives

$$ h_{x}h_{y}\sum _{i=1}^{M_{x}-1}\sum_{j=1}^{M_{y}-1} u^{*}_{i,j}= h_{x}h_{y} \sum _{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} L_{x}L_{y}u^{n}_{i,j}, $$
(31)

where Eqs. (29) and (30) are used. Consider the right term of Eq. (31) and use the boundary conditions

$$\begin{aligned} \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} L_{x}L_{y}u^{n}_{i,j}&= \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} \biggl(1- \frac{ph_{x}^{2}}{12a}\delta _{\hat{x}} +\frac{h_{x}^{2}}{12}\delta _{x \bar{x}}^{2} +\frac{ph_{x}^{4}}{120a}\delta ^{3}_{x\bar{x}\hat{x}}- \frac{h_{x}^{4}}{240}\delta ^{4}_{xx\bar{x}\bar{x} } \biggr) \\ &\quad {}\times \biggl( 1- \frac{qh_{y}^{2}}{12b}\delta _{\hat{y}} + \frac{h_{y}^{2}}{12}\delta _{y \bar{y}}^{2} + \frac{qh_{y}^{4}}{120b}\delta ^{3}_{y\bar{y}\hat{y}}- \frac{h_{y}^{4}}{240}\delta ^{4}_{yy\bar{y}\bar{y} } \biggr)u^{n}_{i,j} \\ &= \sum_{i=1}^{M_{x}-1}\sum _{j=1}^{M_{y}-1} u^{n}_{i,j}. \end{aligned}$$

From Eqs. (27) and (31), we finally arrive at

$$ h_{x}h_{y}\sum_{i=1}^{M_{x}-1} \sum_{j=1}^{M_{y}-1} u^{n+1} _{i,j} =h_{x}h_{y} \sum _{i=1}^{M_{x}-1}\sum_{j=1}^{M_{y}-1}u^{*}_{i,j}= \sum_{i=1}^{M_{x}-1} \sum _{j=1}^{M_{y}-1} u^{n}_{i,j}, $$

as desired. □

Stability analysis

In this section, we study the stability of the proposed scheme (20)–(21) via the von Neumann method for linear stability analysis. Following the method, we assume that the numerical solution can be expressed by virtue of a Fourier series, whose typical term is

$$ u_{i,j}^{n}=\eta ^{n}\exp\bigl\{ I(k\theta _{x}i+ \theta _{y}j)\bigr\} , $$

where \(I=\sqrt{-1}\), \(\eta ^{n}\) is the amplitude at time level n, and \(\theta _{x}=k_{x}\theta _{x}\) and \(\theta _{y}=k_{y}h_{y}\) are phase angles with the wave number \(k_{x}\) and \(k_{y}\) in the x− and y− directions, respectively. Substituting the discrete Fourier mode into Eq. (19), the amplification factor \(G(\theta _{x},\theta _{y})=\eta ^{n+1}/\eta ^{n}\) is found to be

$$ \bigl\vert G(\theta _{x},\theta _{y}) \bigr\vert = \bigl\vert g_{x}(\theta _{x}) \bigr\vert \bigl\vert g_{y}(\theta _{y}) \bigr\vert , $$
(32)

where \(g_{x}(\theta _{x})\) is given by

$$ g_{x}(\theta _{x})= \frac{(\gamma _{1}-\gamma _{2})+I(\gamma _{3}-\gamma _{4})}{(\gamma _{1}+\gamma _{2})+I(\gamma _{3}+\gamma _{4})} $$
(33)

with

$$\begin{aligned}& \gamma _{1} = 1-\frac{1}{3}\sin ^{2}\biggl( \frac{\theta _{x}}{2}\biggr)- \frac{1}{240} \biggl(16\sin ^{2} \biggl(\frac{\theta _{x}}{2}\biggr)-4\sin ^{2}( \theta _{x}) \biggr), \\& \gamma _{2} =\frac{\tau }{2} \biggl[ \biggl(a+ \frac{p^{2}h_{x}^{2}}{12a} \biggr)\frac{4}{h_{x}^{2}}\sin ^{2}\biggl( \frac{\theta _{x}}{2}\biggr)+\frac{p^{2}}{720a} \biggl(16\sin ^{2} \biggl( \frac{\theta _{x}}{2}\biggr)-4\sin ^{2}(\theta _{x}) \biggr) \biggr], \\& \gamma _{3} = -\frac{ph_{x}}{12a}\sin (\theta _{x})+ \frac{ph_{x}}{120a} \bigl( \sin (2\theta _{x})-2\sin (\theta _{x}) \bigr), \\& \gamma _{4} = \frac{p\tau }{2h_{x}}\sin (\theta _{x}). \end{aligned}$$

The other term \(g_{y}(\theta _{y})\) can be defined in a similar way by replacing x, a, p, and \(h_{x}\) with y, b, q, and \(h_{y}\), respectively, in the above expression. To obtain the stability, it is sufficient to show that \(|g_{x}(\theta _{x})|\le 1\) (and also \(|g_{y}(\theta _{y})|\le 1\)), which is equivalent to \(\gamma _{1}\gamma _{2}+\gamma _{3}\gamma _{4}\ge 0\). Simple calculations show that

$$\begin{aligned}& \gamma _{1} =1-\frac{2}{5}\sin ^{2}\biggl( \frac{\theta _{x}}{2}\biggr)+ \frac{1}{60} \sin ^{2}( {\theta _{x}} ) , \\& \gamma _{2} =\frac{\tau }{2} \biggl[ \biggl(a+ \frac{p^{2}h_{x}^{2}}{12a} \biggr)\frac{4}{h_{x}^{2}}\sin ^{2}\biggl( \frac{\theta _{x}}{2}\biggr)+\frac{p^{2}}{45a} \sin ^{4}\biggl( \frac{\theta _{x}}{2}\biggr) \biggr], \end{aligned}$$

which yields

$$\begin{aligned} \gamma _{1}\gamma _{2} &=\frac{\tau }{2} \biggl[1-\frac{2}{5}\sin ^{2}\biggl( \frac{\theta _{x}}{2} \biggr)+\frac{1}{60} \sin ^{2}( {\theta _{x}} ) \biggr] \biggl[ \biggl(a+\frac{p^{2}h_{x}^{2}}{12a} \biggr) \frac{4}{h_{x}^{2}}\sin ^{2}\biggl(\frac{\theta _{x}}{2}\biggr)+\frac{p^{2}}{45a} \sin ^{4}\biggl(\frac{\theta _{x}}{2}\biggr) \biggr] \\ &= \frac{\tau }{2} \biggl[1-\frac{2}{5}\sin ^{2} \biggl(\frac{\theta _{x}}{2}\biggr)+ \frac{1}{60} \sin ^{2}( {\theta _{x}} ) \biggr] \biggl[ \frac{4a}{h_{x}^{2}}\sin ^{2}\biggl(\frac{\theta _{x}}{2}\biggr)+ \frac{p^{2}}{45a} \sin ^{4}\biggl(\frac{\theta _{x}}{2}\biggr) \biggr] \\ &\quad {} + \frac{\tau p^{2}}{2a} \biggl( \frac{1}{3} \sin ^{2} \biggl( \frac{\theta _{x}}{2}\biggr) -\frac{2}{15} \sin ^{4} \biggl(\frac{\theta _{x}}{2}\biggr) \biggr) +\frac{p^{2}}{180a}\sin ^{2}\biggl(\frac{\theta _{x}}{2}\biggr)\sin ^{4}({ \theta _{x}}). \end{aligned}$$
(34)

Consider

$$\begin{aligned} \gamma _{3}\gamma _{4} &= \frac{\tau p^{2}}{2a} \biggl[ -\frac{1}{10 } \sin ^{2}(\theta _{x})+ \frac{2}{120 } \sin ^{2}(\theta _{x})\cos ( \theta _{x}) \biggr] \\ &= \frac{\tau p^{2}}{2a} \biggl[ -\frac{1}{10 }\sin ^{2}( \theta _{x})+ \frac{2}{120 } \sin ^{2}(\theta _{x})-\frac{4}{120 } \sin ^{2}( \theta _{x}) \sin ^{2}\biggl(\frac{\theta _{x}}{2}\biggr) \biggr] \\ &= \frac{\tau p^{2}}{2a} \biggl[ -\frac{1}{12 }\sin ^{2}( \theta _{x}) - \frac{16}{120 } \biggl(1-\sin ^{2} \biggl(\frac{\theta _{x}}{2}\biggr) \biggr) \sin ^{4}\biggl( \frac{\theta _{x}}{2}\biggr) \biggr] \\ &= \frac{\tau p^{2}}{2a} \biggl[ -\frac{1}{12 }\sin ^{2}( \theta _{x}) - \frac{16}{120 } \sin ^{4}\biggl( \frac{\theta _{x}}{2}\biggr)+ \frac{16}{120 } \sin ^{6}\biggl( \frac{\theta _{x}}{2}\biggr) \biggr] \\ &= \frac{\tau p^{2}}{2a} \biggl[ -\frac{1}{3}\sin ^{2} \biggl( \frac{\theta _{x}}{2}\biggr)+\frac{24}{120}\sin ^{4} \biggl(\frac{\theta _{x}}{2}\biggr) + \frac{16}{120 } \sin ^{6} \biggl(\frac{\theta _{x}}{2}\biggr) \biggr] . \end{aligned}$$
(35)

From Eqs. (34)–(35), they give

$$\begin{aligned} \gamma _{1}\gamma _{2} +\gamma _{3}\gamma _{4} &= \frac{\tau }{2} \biggl[1-\frac{2}{5}\sin ^{2}\biggl(\frac{\theta _{x}}{2}\biggr)+\frac{1}{60} \sin ^{2}( {\theta _{x}} ) \biggr] \biggl[ \frac{4a}{h_{x}^{2}}\sin ^{2}\biggl( \frac{\theta _{x}}{2}\biggr)+ \frac{p^{2}}{45a} \sin ^{4}\biggl( \frac{\theta _{x}}{2}\biggr) \biggr] \\ &\quad {} +\frac{p^{2}}{180a}\sin ^{2}\biggl(\frac{\theta _{x}}{2}\biggr) \sin ^{4}({ \theta _{x}}) + \frac{\tau p^{2}}{2a} \biggl[ \frac{1}{15}\sin ^{4}\biggl( \frac{\theta _{x}}{2} \biggr) + \frac{16}{120 } \sin ^{6}\biggl( \frac{\theta _{x}}{2}\biggr) \biggr]. \end{aligned}$$

Hence \(\gamma _{1}\gamma _{2} +\gamma _{3}\gamma _{4}\ge 0\), it follows that \(|g_{x}(\theta _{x})|\le 1\) for all \(\theta _{x}\in [-\pi ,\pi ]\). In a similar way, we also have an inequality for \(g_{y}(\theta _{y})\). We then conclude that the present scheme is unconditionally stable.

Numerical experiment

For verifying the effectiveness and correctness of our theoretical results in the previous sections, several numerical experiments are performed in this section and compared with some existing schemes in the recent literature [14, 16, 17, 3032]. The comparison of numerical solutions with the exact solutions can prove the accuracy of the method, and then the rate of convergence can be measured by using the ratio

$$ \mathrm{Rate}=\log _{2} \biggl(\frac{\mathrm{Error}_{1}}{\mathrm{Error}_{2}} \biggr), $$

where \(\mathrm{Error}_{1}\) and \(\mathrm{Error}_{2}\) are the norm errors relevant with the grid sizes h and \(h/2\), respectively.

1D convection–diffusion equation

Consider the 1D convection–diffusion equation

$$ u_{t}+pu_{x}-au_{xx}=0, $$
(36)

whose analytic solution is of the form

$$ u(x,t)= \biggl(\sqrt{\frac{20}{20+t}} \biggr)\exp \biggl(- \frac{(x-2-pt)^{2}}{4a(20+t)} \biggr), $$

where the boundary condition is from the above analytic solution.

In the simulations, we take the computational domain in the interval \([-12,28]\) with \(p=0.8\) and \(a=0.1\). Adapted into the 1D case, the comparison of numerical results using the implementation of the present ADI scheme and the similar approach of ADI, such as the Karaa and Zhang ADI (HOC-ADI) scheme [14], the Tian and Ge ADI (EHOC-ADI) scheme [16], and the rational higher-order compact ADI (RHOC-ADI) [17], is given in Tables 1 and 2. In Table 1, to neglect the error domination in terms of temporal step size for verifying only the spatial sixth-order accuracy, we choose the value of τ to be sufficiently small as of 0.0001. The final time T is set to be 5. The rate of convergence is approximately 6 for the proposed DHOC-ADI which is in good agreement as to the theoretical prediction. However, for the HOC-ADI, EHOC-ADI, and RHOC-ADI, the rate of convergence is approximately 4 due to the limitation of those schemes. When h reduces to 0.1, both \(L^{2}\) and \(L^{\infty }\) error norms obtained by the proposed ADI scheme provide more accuracy than others up to three digits. Especially, the most accurate simulation obtained from our method is with the choices for which the \(L^{\infty }\) error norm is less than \(4.80\times 10^{-9}\), while the most accurate simulation of other methods can be reduced to only \(2.43 \times 10^{-6}\). In conclusion, we see that the proposed DHOC-ADI scheme in this paper provided more accurate results in comparison with others.

Table 1 The error norms of numerical solutions and the rate of convergence in space where \(\tau =0.0001\)
Table 2 The error norms of numerical solutions and the rate of convergence in time where \(h=0.01\)

To verify the rate of convergence in time, one can have the fixed value of the spatial step size \(h=0.01\). It is clearly seen that all schemes provide the second-order rate of convergence which is close to the theoretical prediction, as recorded in Table 2. However, no significant difference between results obtained by our method and the ones obtained by other methods can be observed in these cases.

Next, we consider the absolute errors on the interval \([0,1]\) at different locations and make a comparison with those mentioned ADI schemes and other recorded results proposed in [3032] including the cubic B-spline method [30], the weighted finite difference method [31], and the exponential B-spline method [32]. The results are reported in Table 3. It can be seen from Table 3 that the numerical solutions obtained with the methods in [3032] are more accurate than those obtained with HOC-ADI schemes in the case of \(h=0.01\) and \(\tau =0.001\). However, when the coarse grid size \(h=0.1\) and the smaller temporal step size \(\tau =0.0001\) are used, the great numerical resolution is obtained by the present ADI method, while other ADI methods give very poor results. That is, the present scheme can give accurate solutions comparable with solutions by the methods in [3032] when the step size τ is small enough even when using the coarse grid size h.

Table 3 Absolute errors (×10−9) at different locations at \(t=5\) for Example 1

We also provide the distribution of the Gaussian pulse in Fig. 1, which is in excellent agreement with the exact solutions, especially the sub-plot (top) in the sub-interval \([0,1]\). The corresponding absolute error distribution is presented in the sub-plot (bottom).

Figure 1
figure1

The numerical solution at the final time \(T=5\) with \(h=0.1\) and \(\tau =0.0001\)

2D convection–diffusion equation

Consider the 2D convection–diffusion equation

$$ u_{t}+pu_{x}+qu_{y}-au_{xx}-bu_{yy}=0. $$
(37)

The analytic solution is given, as in [33], by

$$ u(x,y,t)=\frac{1}{4t+1}\exp \biggl[- \frac{(x-pt-0.5)^{2}}{a(4t+1)}-\frac{(y-qt-0.5)^{2}}{b(4t+1)} \biggr], $$
(38)

where the boundary and initial conditions can be taken directly from Eq. (38).

In our experiments, we set the computational domain to be \((x,y,t)\in [-1,3]\times [-1,3]\times (0,T]\). First, we employed the present scheme in Eqs. (20)–(21) for \(a=b=0.01\) and \(p=q=0.8\) in our simulations. To explore the efficiency of the proposed DHOC-ADI scheme, we provide the comparison of numerical results using the present DHOC-ADI scheme and the original HOC-ADI scheme, which are given in Tables 4 and 5. Besides, to show the accuracy of the scheme proposed here, a temporal step size is chosen to be sufficiently small as \(\tau =2.5\times 10^{-6}\) so that it does not have impact on the accuracy in space while the fine grid \(h_{x}=h_{y}=0.01\) is chosen to verify the accuracy in time. The simulations run up to \(T=1.25\). Numerical results in terms of errors and rates of convergence are listed in Tables 4 and 5. In Table 4, the rate of convergence of the DHOC-ADI scheme in space tends to 6 as reported, when \(h_{x}=h_{y}=0.2,0.1,0.02\), and 0.025, while the rate of convergence in space of the HOC-ADI scheme seems to be 4, the same as the theoretical prediction. In Table 5, the errors and rates of convergence in time are reported, where \(\tau =0.1,0.05,0.025\), and 0.0125 are used. From the table, we may see that the convergence rate obtained by the present DHOC-ADI scheme and the HOC-ADI scheme is 2, which is expected to confirm the theoretical prediction. In terms of the grid point number, the computational performance of the new DHOC-ADI scheme is clearly better than that of the HOC-ADI schemes. That is, the results of our DHOC-ADI scheme show improvement over the HOC-ADI scheme. Especially, our DHOC-ADI scheme can reduce errors from the HOC-ADI scheme up to 97% in the case \(h_{x}=h_{y}=0.025\) and \(\tau =2.5\times 10^{-6}\). However, in terms of the temporal grid point number, the \(L^{2}\) and \(L^{\infty }\) error norms are comparable and no significant improvement is noticed.

Table 4 The error norms of numerical solutions and the rate of convergence in space where \(\tau =2.5\times 10^{-6}\)
Table 5 The error norms of numerical solutions and the rate of convergence in time where \(h_{x}=h_{y}=0.01\)

We also listed the comparison on errors versus the recorded results [3335] using the average error and the \(L^{\infty }\) norm error with the same parameters \(a=b=0.01\) and \(p=q=0.8\) at final time \(T=1.25\) in Table 6. One can find that the computational efficiency of the DHOD-ADI scheme satisfies in the case \(h_{x}=h_{y}=0.025\) with \(\tau = 0.0125\). Moreover, when the coarse grid \(h_{x}=h_{y}=0.05\) and \(\tau =0.00625\) are used, the error obtained by present ADI scheme is much better than the that by other ADI schemes and is considered as a comparable accurate solution with the recorded ones. In addition, the most accurate simulation as obtained from our scheme is with the choice \(h_{x}=h_{y}=0.025\) and \(\tau =0.0001\) for which the average error and \(L^{\infty }\) norm error is less than \(4.98\times 10^{-6}\), which is clearly better than others.

Table 6 Comparison errors at \(T=1.25\) with different \(h_{x}\), \(h_{y}\), and τ

Figure 2 presents the numerical solutions and its obtained contours based on the present DHOC-ADI scheme within the sub-region \([1,2]\times [1,2]\) at \(T=1.25\), where \(h_{x}=h_{y}=0.05\), \(\tau =0.00625\) (top) and \(h_{x}=h_{y}=0.025\), \(\tau =0.00001\) (bottom) used. The contour plots of the analytic and computed pulses in the sub-region \([1,2]\times [1,2]\) capture the moving pulse very well and are almost visually indistinguishable from the exact solution.

Figure 2
figure2

Numerical solutions and their contour obtained by the DHOC-ADI scheme using \(h_{x}=h_{y}=0.05\), \(\tau =0.00625\) (top) and \(h=0.025\), \(\tau =0.0001\) (bottom)

The absolute error distributions and the contour plots are shown in Fig. 3. It can be observed that the maximum error is taken around the peak amplitude of the Gaussian pulse in both cases. However, using coarse grid sizes \(h_{x}=h_{y}=0.05\) and \(\tau =0.00625\), one can observe that errors occur a lot at the bottom left of the pulse base.

Figure 3
figure3

Absolute error and its contour by the DHOC-ADI scheme using \(h_{x}=h_{y}=0.05\), \(\tau =0.00625\) (top) and \(h_{x}=h_{y}=0.025\), \(\tau =0.0001\) (bottom)

As observed in Table 3, in 1D case, the numerical resolution can be made by choosing a small time step; even coarse grid spacing is used. Also, as reported in Table 6, one can see that the most accurate solution is obtained when small temporal step size is used. Figure 4 shows errors obtained by the present ADI scheme and mentioned ADI schemes as a function of time step. From the simulations, the errors can be improved when the time step is decreased as we expected. The performance of the DHOC-ADI scheme is clearly better than that of others. However, the error slightly increases as the time step is decreased less than \(\tau =0.0625\), presumably because of the increase in round-off error.

Figure 4
figure4

The errors of numerical solutions using \(h_{x}=h_{y}=0.05\) under different temporal step sizes

Next, the proposed DHOC-ADI scheme is applied to verify the conservation of the numerical model. It results from the present method in case \(h_{x}=h_{y}=0.01\), \(\tau =0.025\) and \(h_{x}=h_{y}=0.05\), \(\tau =2.5\times 10^{-6}\) that the values of \(Q^{n}\) at any time \(t\in [0,1.25]\) coincide with Theorem 5 as presented in Table 7. The results show that the mobility constant slightly differs from the exact value by less than \(5.7\times 10 ^{-15}\) when \(h_{x}=h_{y}=0.01\) and \(\tau =0.025\) is used while less than \(5.3\times 10 ^{-12}\) when \(h_{x}=h_{y}=0.05\) and \(\tau =2.5\times 10^{-6}\).

Table 7 Quantities \(Q^{n}\) under different step sizes \(h_{x}\), \(h_{y}\), and τ at various time

To explore the superiority of the present ADI scheme, the numerical simulation at a high Reynolds number is the major indicator as studied before in [15, 17]. Here, three cases of Reynolds numbers are presented: \({\mathit{Pe}}=100\), 1000, and \(10\text{,}000\), corresponding to the convective velocities \(p=q=100\), \(p=q=1000\), and \(p=q=10\text{,}000\), respectively. The value of viscosity coefficients is set to be \(a=b=0.01\). As previously observed, the numerical resolution can be achieved when the temporal step size is sufficiently small as shown in Fig. 4. We then choose the temporal step size of \(\tau =2.5\times 10^{-5}\), \(2.5\times 10^{-6}\), and \(2.5\times 10^{-7}\) for \(\mathit{Pe}=100\), \(\mathit{Pe}=1000\), and \(\mathit{Pe}=10\text{,}000\), respectively. To compare the accuracy of the numerical solution, the spatial step size \(h_{x}=h_{y}=0.01\) is used.

The numerical solutions against the exact solution in the sub-region \(1.2\le x\), \(y \le 1.8\) for each test carried out are plotted in Figs. 57, where the solid line indicates the exact solution and the dash-dot line indicates the numerical solutions. Results of the cases present the moving center of the initial Gaussian pulse from \((0.5,0.5)\) to \((1.5,1.5)\). The numerical solutions obtained by the presented DHOC-ADI and the RHOC-ADI schemes produce the solution that is in good agreement with the exact solution for all cases (see Figs. 57(a), (d)), while small pulse distortion can be observed by the EHOC-ADI scheme (see Figs. 57(c)). However, the HOD-ADI scheme produces a noticeable dissipated solution, which can be observed from Figs. 57(b) with the same agreement as [15, 17]. Thus, it is worth noting that at the high Reynolds numbers the present scheme produces better results than the HOC-ADI scheme does.

Figure 5
figure5

Contour lines of pulses in the sub-region \(1.2\le x\), \(y \le 1.8\) at final time \(t=0.01\) with \(\mathit{Pe}=100\) and \(\tau =2.5\times 10^{-5}\): (a) exact and present DHOD-ADI, (b) exact and HOC-ADI, (c) exact and EHOC-ADI, and (d) exact and RHOC-ADI. Dash-dot contour lines in (a)–(d) correspond to numerical solutions

Figure 6
figure6

Contour lines of pulses in the sub-region \(1.2\le x\), \(y \le 1.8\) at final time \(t=0.001\) with \(\mathit{Pe}=1000\) and \(\tau =2.5\times 10^{-6}\): (a) exact and present DHOD-ADI, (b) exact and HOC-ADI, (c) exact and EHOC-ADI, and (d) exact and RHOC-ADI. Dash-dot contour lines in (a)–(d) correspond to numerical solutions

Figure 7
figure7

Contour lines of pulses in the sub-region \(1.2\le x\), \(y \le 1.8\) at final time \(t=0.0001\) with \(\mathit{Pe}=10\text{,}000\) and \(\tau =2.5\times 10^{-7}\): (a) exact and present DHOD-ADI, (b) exact and HOC-ADI, (c) exact and EHOC-ADI, and (d) exact and RHOC-ADI. Dash-dot contour lines in (a)–(d) correspond to numerical solutions

Table 8 reports the average error, the \(L^{2}\) norms error, and the \(L^{\infty }\) norms error using \(\mathit{Pe}=100\), 1000, and \(10\text{,}000\). The results from the present DHOC-ADI scheme are compared with those from the HOC-ADI scheme, the EHOC-ADI scheme, and the RHOC-ADI scheme. It is clear that our scheme can reduce errors from other ADI schemes. Especially, the present DHOC-ADI scheme obtains over 90% less error than the HOC-ADI scheme does and up to approximately 95% when \(\mathit{Pe}=10\text{,}000\). Again, in terms of errors, this clearly shows that the DHOC-ADI scheme provides more incredible resolution than the standard HOC-ADI scheme. Finally, the computations using the DHOC-ADI scheme in three cases of Reynolds numbers \(\mathit{Pe}=100\), 1000, and \(10\text{,}000\) at final time \(t=0.01\), \(t=0.001\), and \(t=0.0001\), respectively are shown in Fig. 8.

Figure 8
figure8

Numerical solutions (top) and absolute errors (bottom) in sub-region \(1.2\le x\), \(y\le 1.8\) with different Pe

Table 8 Errors of numerical solutions using \(h_{x}=h_{y}=0.01\) with different Pe

Concluding remarks

In this paper, with the help of the Richardson extrapolation and the technique used in [14], we proposed a new high-order alternating direction implicit (DHOC-ADI) method for solving 2D unsteady convection–diffusion equations which inherit the mass-preserving property. The method is second-order in time and sixth-order in space and the unconditional stability was proved through a discrete Fourier analysis. Numerical studies were carried out in both 1D and 2D cases to demonstrate the accuracy and superiority over some existing schemes. In the 2D case, the DHOC-ADI scheme gave high accurate solutions and preserved the mass exactly. Additionally, it is obvious that moving of the Gaussian pulse by the proposed scheme can be smoothed out at high Reynolds numbers, which is superior to the classical HOC-ADI scheme. Furthermore, the multi-dimensional convection–diffusion equation can be easily extended by a similar approach.

References

  1. 1.

    Srivastava, R.: Flow Through Open Channels. Oxford University Press, London (2008)

    Google Scholar 

  2. 2.

    de M. Baptista, A.E.: Solution of advection-dominated transport by Eulerian–Lagrangian methods using the backward method of characteristics. Ph.D. thesis, MIT, Cambridge (1987)

  3. 3.

    Baccouch, M., Temimi, H.: Analysis of optimal error estimates and superconvergence of the discontinuous Galerkin method for convection–diffusion problems in one space dimension. Int. J. Numer. Anal. Model. 13, 403–434 (2016)

    MathSciNet  MATH  Google Scholar 

  4. 4.

    Barrenechea, G., Burman, E., Karakatsani, F.: Blending low-order stabilised finite element methods: a positivity-preserving local projection method for the convection–diffusion equation. Comput. Methods Appl. Mech. Eng. 317, 1169–1193 (2017)

    MathSciNet  Article  Google Scholar 

  5. 5.

    Wang, C., He, M., Sun, P.: A new combined finite element-upwind finite volume method for convection-dominated diffusion problems. Numer. Methods Partial Differ. Equ. 32, 799–818 (2016)

    MathSciNet  Article  Google Scholar 

  6. 6.

    Noye, B., Tan, H.: Finite difference methods for solving the two-dimensional advection–diffusion equation. Int. J. Numer. Methods Fluids 26, 1615–1629 (1988)

    Article  Google Scholar 

  7. 7.

    Rigal, A.: High order difference schemes for unsteady one-dimensional diffusion–convection problems. J. Comput. Phys. 114, 59–76 (1994)

    MathSciNet  Article  Google Scholar 

  8. 8.

    Kalita, J.C., Dalal, D.C., Dass, A.K.: A class of higher order compact schemes for the unsteady two-dimensional convection–diffusion equation with variable convection coefficients. Int. J. Numer. Methods Fluids 38, 1111–1131 (2002)

    MathSciNet  Article  Google Scholar 

  9. 9.

    Tian, Z.F., Dai, S.Q.: High-order compact exponential finite difference methods for convection–diffusion type problems. J. Comput. Phys. 220, 952–974 (2007)

    MathSciNet  Article  Google Scholar 

  10. 10.

    Sari, M., Gurasian, G., Zeytinoglu, A.: High-order finite difference schemes for solving the advection–diffusion equation. Math. Comput. Appl. 15, 449–460 (2010)

    MathSciNet  MATH  Google Scholar 

  11. 11.

    Ding, H., Zhang, Y.: A new difference scheme with high accuracy and absolute stability for solving convection–diffusion equations. J. Comput. Appl. Math. 230, 600–606 (2011)

    MathSciNet  Article  Google Scholar 

  12. 12.

    Liao, W.Y.: A compact high-order finite difference method for unsteady convection–diffusion equation. Int. J. Comput. Methods Eng. Sci. Mech. 13, 135–145 (2012)

    MathSciNet  Article  Google Scholar 

  13. 13.

    Peaceman, D.W., Rachford, H.H.: The numerical solution of parabolic and elliptic differential equations. J. Soc. Ind. Appl. Math. 3, 28–41 (1959)

    MathSciNet  Article  Google Scholar 

  14. 14.

    Karaa, S., Zhang, J.: High order ADI method for solving unsteady convection–diffusion problems. J. Comput. Phys. 198, 1–9 (2004)

    MathSciNet  Article  Google Scholar 

  15. 15.

    You, D.: A high-order Pade ADI method for unsteady convection–diffusion equations. J. Comput. Phys. 214, 1–11 (2006)

    MathSciNet  Article  Google Scholar 

  16. 16.

    Tian, Z.F., Ge, Y.B.: A fourth-order compact ADI method for solving two-dimensional unsteady convection–diffusion problems. J. Comput. Appl. Math. 198, 268–286 (2007)

    MathSciNet  Article  Google Scholar 

  17. 17.

    Tian, Z.F.: A rational high-order compact ADI method for unsteady convection–diffusion equations. Comput. Phys. Commun. 182, 649–662 (2011)

    MathSciNet  Article  Google Scholar 

  18. 18.

    Karaa, S.: A high-order compact ADI method for solving three-dimensional unsteady convection–diffusion problems. Numer. Methods Partial Differ. Equ. 22, 983–993 (2006)

    MathSciNet  Article  Google Scholar 

  19. 19.

    Dai, R., Zhang, J., Wang, Y.: Higher order ADI method with completed Richardson extrapolation for solving unsteady convection–diffusion equations. Comput. Math. Appl. 71, 431–442 (2015)

    MathSciNet  Article  Google Scholar 

  20. 20.

    Ge, Y.B., Tian, Z.F., Zhang, J.: An exponential high-order compact ADI method for 3D unsteady convection–diffusion problems. Numer. Methods Partial Differ. Equ. 29, 186–205 (2013)

    MathSciNet  Article  Google Scholar 

  21. 21.

    Li, J., Chen, Y., Liu, G.: High-order compact ADI methods for parabolic equations. Comput. Math. Appl. 52, 1343–1356 (2006)

    MathSciNet  Article  Google Scholar 

  22. 22.

    Mishra, N., Sanyasiraju, Y.: Exponential compact higher order schemes and their stability analysis for unsteady convection–diffusion equations. Int. J. Comput. Methods 11, 1350053 (2014)

    MathSciNet  Article  Google Scholar 

  23. 23.

    Sun, H., Li, L.: A CCD-ADI method for unsteady convection–diffusion equations. Comput. Phys. Commun. 185(3), 790–797 (2013)

    MathSciNet  Article  Google Scholar 

  24. 24.

    Healy, R.W., Russell, T.F.: Solution of the advection–diffusion equation in two dimension by a finite volume Eulerian–Lagrangian localized adjoint method. Adv. Water Resour. 21, 11–26 (1998)

    Article  Google Scholar 

  25. 25.

    Rui, H.: A conservative characteristic finite volume element method for solution of the advection–diffusion equation. Comput. Methods Appl. Mech. Eng. 197(45), 3862–3869 (2008)

    MathSciNet  Article  Google Scholar 

  26. 26.

    Rui, H., Tabata, M.: A mass-conservative characteristic finite element scheme for convection–diffusion problems. J. Sci. Comput. 43, 416–432 (2009)

    MathSciNet  Article  Google Scholar 

  27. 27.

    Fu, K., Liang, D.: The time second order mass conservative characteristic FDM for advection–diffusion equations in high dimensions. J. Sci. Comput. 73, 26–49 (2017)

    MathSciNet  Article  Google Scholar 

  28. 28.

    Zhang, J., Zhang, Y., Guo, H., Fu, H.: A mass-conservative characteristic splitting mixed finite element method for convection-dominated Sobolev equation. Math. Comput. Simul. 160, 180–191 (2019)

    MathSciNet  Article  Google Scholar 

  29. 29.

    Wongsaijai, B., Poochinapan, K., Disyadej, T.: A compact finite difference method for solving the general Rosenau–RLW equation. Int. J. Appl. Math. 44, 192–199 (2014)

    MathSciNet  MATH  Google Scholar 

  30. 30.

    Nazir, T., Abbas, M., Ismil, A.I.M., Majid, A.A., Rashid, A.: The numerical solution of advection–diffusion problems using new cubic trigonometric B-splines approach. Appl. Math. Model. 40, 4586–4611 (2016)

    MathSciNet  Article  Google Scholar 

  31. 31.

    Dehghan, M.: Weighted finite difference techniques for the one-dimensional advection–diffusion equation. Appl. Math. Comput. 147, 307–319 (2004)

    MathSciNet  MATH  Google Scholar 

  32. 32.

    Mohammadi, R.: Exponential B-spline solution of convection–diffusion equations. Appl. Math. 4, 933–944 (2013)

    Article  Google Scholar 

  33. 33.

    Noye, B.J., Tan, H.H.: Finite difference methods for solving the two-dimensional advection–diffusion equation. Int. J. Numer. Methods Fluids 9, 75–89 (1989)

    Article  Google Scholar 

  34. 34.

    Kalita, J.C., Dalal, D.C., Dass, A.K.: A class of higher order compact schemes for the unsteady two-dimensional convection–diffusion equation with variable convection coefficients. Int. J. Numer. Methods Fluids 38, 1111–1131 (2002)

    MathSciNet  Article  Google Scholar 

  35. 35.

    Kalita, J.C., Chhabra, P.: An improved \((9,5)\) higher order compact scheme for the transient two-dimensional convection–diffusion equation. Int. J. Numer. Methods Fluids 51, 703–717 (2006)

    Article  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the handling editors for the help in the processing of the paper.

Availability of data and materials

Not applicable.

Funding

The Centre of Excellence in Mathematics, the Commission on Higher Education, Thailand and Chiang Mai University.

Author information

Affiliations

Authors

Contributions

All authors read and approved the final manuscript.

Corresponding author

Correspondence to Kanyuta Poochinapan.

Ethics declarations

Competing interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Wongsaijai, B., Sukantamala, N. & Poochinapan, K. A mass-conservative higher-order ADI method for solving unsteady convection–diffusion equations. Adv Differ Equ 2020, 513 (2020). https://doi.org/10.1186/s13662-020-02885-6

Download citation

Keywords

  • Mass-conservative
  • High-order compact scheme
  • Unsteady convection–diffusion equation
  • Alternating direction implicit (ADI) method