∎
22email: [email protected] 33institutetext: Baolin Kuang 44institutetext: School of Mathematical Sciences, Ocean University of China, Qingdao 266100, China
44email: [email protected] 55institutetext: Hongfei Fu 66institutetext: Corresponding author. School of Mathematical Sciences & Laboratory of Marine Mathematics, Ocean University of China, Qingdao 266100, China
66email: [email protected]
Fractional-step High-order and Bound-preserving Method for Convection Diffusion Equations
Abstract
In this paper, we derive two bound-preserving and mass-conserving schemes based on the fractional-step method and high-order compact (HOC) finite difference method for nonlinear convection-dominated diffusion equations. We split the one-dimensional equation into three stages, and employ appropriate temporal and spatial discrete schemes respectively. We show that our scheme is weakly monotonic and that the bound-preserving property can be achieved using the limiter of Li et al. (SIAM J Numer Anal 56: 3308–3345, 2018) under some mild step constraints. By employing the alternating direction implicit (ADI) method, we extend the scheme to two-dimensional problems, further reducing computational cost. We also provide various numerical experiments to verify our theoretical results.
Keywords:
HOC finite difference method bound-preserving mass conservation fractional-step method ADI methodsMSC:
65M06 65M15 35K551 Introduction
Consider the nonlinear convection diffusion equation with periodic boundary condition
(1.1) | ||||
where is a bounded domain in or . The symbols and denote the Laplacian and divergence operators, respectively. The diffusion coefficient is typically a small positive constant in convection-dominated problems. Here, represents the flux vector, and denotes the source term, both of which are well-defined smooth functions.
convection diffusion equations are fundamental mathematical physics models that are widely used to describe various physical, chemical, and biological phenomena, such as the transport of groundwater in soil parlange1980water , the long-distance transport of pollutants in the atmosphere zlatev1984implementation , and the dispersion of tracers in anisotropic porous media fattah1985dispersion , etc. Of particular importance is the case where convection dominates, i.e., when the diffusion coefficient is small compared to other scales, which is often used in models of two phase flow in oil reservoirspeaceman2000fundamentals . However, convection-dominant diffusion problems exhibit strong hyperbolic properties, making them challenging for standard finite difference or finite element methods. These methods often face issues such as computational complexities and non-physical numerical oscillations, especially when standard methods struggle to resolve steep gradients and ensure mass conservation, both of which are crucial for realistic applications. On the other hand, in some physical processes, the physical quantity represents the density, concentration, or pressure of a certain substance or population. Therefore, the solution must be non-negative and often distributed in the interval . In such cases, negative values are physically meaningless, such as in radionuclide transport calculations genty2011maximum , chemotaxis problems zhang2022positivity , streamer discharges simulations zhuang2014positivity . In addition, mass conservation is an important physical property. Under the periodic boundary condition, the solution of problem (1.1) satisfies
(1.2) |
which indicates that (1.1) inherently conserves mass and it is essential for numerical schemes to also conserve mass in the discrete sense. Hence, it is worthwhile to study an effective and high-order bound-preserving numerical scheme for nonlinear convection diffusion equations.
As we knew, high-order schemes can more effectively retain the high order information of the nonlinear problem itself. Moreover, under the same error accuracy requirements, high-order schemes can use a coarser subdivision grid, which significantly improves the calculation efficiency. Therefore, it is meaningful to construct high-order schemes for the aforementioned model problems. Although general high-order methods provide high accuracy, they often suffer from poor stability and wide grid templates, which degrade the matrix’s sparse structure corresponding to the numerical schemes. To overcome these shortcomings and improve computational efficiency, the high-order compact (HOC) difference method was proposed. This method achieves as high as possible with the smallest grid template. Since compact schemes have a spectral-like resolution and extremely low numerical dissipation, the HOC method has aroused extensive research interest over the past few decades, and various effective HOC difference schemes have been developed successively wang1d ; Zhang2002HOC ; qiao2008 ; li2018A ; mohebbi2010high . ADI methods have proven to be very efficient in the approximation of the solutions of multi-dimensional evolution problems by transferring the numerical solutions of a high-dimensional problem into numerical solutions of a successive of independent one-dimensional problems. To further reduce computational costs, Karaa and Zhang karaa2004high proposed a compact alternating direction implicit (ADI) method, which only require solving one-dimensional implicit problems for each time step.
On the other hand, preserving physical properties is a crucial reference point for the construction of numerical schemes. In recent years, scholars have developed many structure-preserving numerical methods for the convection diffusion equation. Bertolazzi et al. berikelashvili2007convergence proposed a finite volume scheme based on the second-order maximum-preserving principle. Rui et al. rui2010mass developed a mass-conserving characteristic finite element scheme. Shu et al. zhang2012maximum proposed a high order finite volume WENO scheme that satisfies the maximum principle. Xiong et al. xiong2015high studied the discontinuous Galerkin method based on the maximum value preservation principle. In fact, the implementation of high-order structure-preserving difference methods is challenging. Typically, weak monotonicity does not apply to general finite difference schemes. However, Li et al. li2018A demonstrated that certain high-order compact finite difference schemes satisfy such properties. This implies that a simple limiter can ensure the upper and lower bounds of the numerical solution without reducing the order and while maintaining mass conservation. Although many studies have extensively explored high-order compact finite difference methods, this is the first time that weak monotonicity in compact finite difference approximations has been discussed, and it is also the first instance where high-order finite difference schemes have established weak monotonicity. However, applying limiters, especially when handling high-dimensional problems, inevitably incurs significant computational costs. Furthermore, the step size limitation in li2018A is relatively stringent, suggesting that there is room for further improvement in the algorithm. In conclusion, while various methods have been proposed to tackle the challenges posed by convection-dominated diffusion equations, the construction of an effective and high-order bound-preserving numerical scheme remains a crucial and ongoing area of research.
Fractional step methods, also known as operator splitting methods, are widely used for many complex time-dependent models. A notable example is the well-known Strang method strang1968 , which is the splitting method applied in this paper. The basic idea is to divide the original complex problem into a series of smaller problems, allowing us to solve simpler systems instead of tackling the larger system JIA2011387 . The splitting method takes into account the different properties of the components, allowing the use of appropriate numerical methods for each part. This approach transforms a system of nonlinear difference equations into a linear system and a set of ordinary difference equations, making implementation easier and reducing computational cost einkemmer2016overcoming . Additionally, the method facilitates parallel implementation in many cases and enables the construction of numerical methods with better geometric properties. For these reasons, the operator splitting method is well-suited for the numerical approximation of models describing complex phenomena. To reduce the constraints of using the bound-preserving limiter method and decrease the computational cost, we consider combining the Strang method to improve the overall approach. This involves strongly decoupling the convection and diffusion terms and handling them separately. For high-dimensional problems, incorporating the ADI method further reduces the multidimensional problem to the computational complexity of several one-dimensional problems.
The remainder of this paper is organized as follows. In Section 2, we obtain an improved HOC difference scheme of one dimension, and show that under some reasonable step constraints, the limiter can enforce the bound-preserving property; In Section 3, we generalize the scheme to two-dimension, and also give the restrictions on bound-preserving bound; Numerical examples are provided in Section 4.
2 One-dimensional problems
In this section, we aim to construct a Strang splitting method based on HOC difference schemes for the one-dimensional convection diffusion equation. Under some mild step constraints and by incorporating the bound-preserving limiter (BP limiter) li2018A , we will demonstrate that the proposed scheme is weakly monotonic and has the bound-preserving property.
We consider the convection diffusion equation with periodic boundary condition:
(2.1) | ||||
where is a small positive constant compared with .
2.1 Strang splitting temporal discretization
For a positive integer , the total number of time steps, let be the time step size, and . We denote the exact solution operator associated with the nonlinear hyperbolic equation by :
(2.2) |
and the exact solution operator associated with the linear parabolic equation by :
(2.3) |
Then, the second-order Strang splitting approximation of (2.1) involves three substeps for approximating the solution at time from input solution strang1968 :
(2.4) |
That is, on each time interval , Strang splitting approximation is reduced to the following process:
, | (2.5) | ||||
, | (2.6) | ||||
. | (2.7) |
Due to the different natures of hyperbolic and parabolic equations, subproblems (2.2) and (2.3) can be solved by different temporal and spatial discretization methods, which is one of the main advantages of operator splitting technique.
For the diffusion process (2.5), we employ the classical Crank-Nicolson (C-N) implicit time discretization method:
(2.8) |
As for the hyperbolic equation (2.6), we apply the second-order explicit strong stability preserving (SSP) Runge-Kutta scheme shu1988efficient which consists of two forward Euler steps on :
(2.9) | |||||
(2.10) |
The explicit temporal discretization inevitably brings stability time step restriction gottlieb2009high , but this is within an acceptable range, see Theorem 2.2.
For the diffusion equation (2.7), similar to the equation (2.8), we give the semi-discrete scheme as:
(2.11) |
where , , and are intermediate variables, denotes the semi-discrete numerical solution at .
Thus, combing the above approximations together, we summarize the temporal semi-discretization scheme as follows:
, | (2.12) | ||||
, | (2.13) | ||||
, | (2.14) | ||||
. | (2.15) |
This completes the one time step description of Strang splitting method. In general, if all the solutions involved in the three-step splitting algorithm (2.12)–(2.14) are smooth, the Strang splitting method is third order at each time step and second order accurate when applied to advance the solution of (2.1) from the initial time to the final time hundsdorfer2003numerical .
2.2 HOC spatial discretization
Given a positive integer , let and and let the domain be discretized into grids that are described by the set . The space of periodic grid functions defined on is denoted by . For grid function , we introduce the following difference operators:
By Taylor expansion, it’s easy to get
(2.16) |
Below, we use to denote the fully-discrete numerical solution at , and , and to represent the fully-discrete intermediate solutions. For simplicity, denote the finite difference operator
(2.17) |
Substituting (2.16) to (2.12)–(2.14), a fully-discrete Strang splitting fourth-order compact finite difference scheme, named the Strang-HOC difference scheme, can be proposed as
(2.18) | |||||
(2.19) | |||||
(2.20) | |||||
(2.21) |
where for , and .
Remark 1
The algebraic systems resulting from the proposed scheme (2.18)–(2.21) are symmetric positive definite, well-posed and with only cyclic tridiagonal constant-coefficient matrices, which only needs to be generated once. Consequently, the proposed scheme can be implemented with a computational complexity of just per time step. This efficient implementation makes the scheme highly suitable for practical applications and numerical simulations.
Remark 2
To have nonlinear stability and eliminate oscillations for shocks, a TVBM (total variation bounded in the means) limiter was introduced for the compact finite difference scheme solving scalar convection equations in shu1994TVB and modified by li2003TVB . Therefore, for problems such as large gradients, we will use the TVB limiter to further reduce numerical oscillations, see Example 2 in Section 4.
2.3 Discrete mass conservation
We define the discrete inner product as:
It is easy to verify that the following results are valid.
Lemma 1
For any grid function , we have
Next, we prove that the solution of the Strang-HOC difference scheme (2.18)–(2.21) possesses the discrete version of mass conservation.
Theorem 2.1
Proof
2.4 Bound-preserving analysis
In this section, we assume the exact solution satisfies
(2.27) |
For simplicity, we assume the source term .
For convenience, we denote . Under periodic boundary condition, the operator can be written correspondingly in the following form:
(2.28) |
Next, we will discuss the property of bound-preserving by making full use of the coefficient matrix and the BP limiter in Algorithm 1 li2018A . There are many equivalent definitions or characterizations of -matrix, see plemmons1977m . One convenient, sufficient, but not necessary characterization of nonsingular -matrix is as follows.
Lemma 2
poole1974survey ; shen2021discrete Suppose a real square matrix is matrix, i.e, satisfies that for each and whenever . If all the row sums of are non-negative and at least one row sum is positive, then is nonsingular -matrix, which means is non-negative.
Lemma 3
Assume , where is a -matrix and tridiagonal with the sum of per row (column) equals to one. If , then is bound-preserving, i.e. for .
Proof
Firstly, notice that the matrix only modifies the immediate neighbors of and is a non-negative matrix from Lemma 2. Next we will show is bound-preserving. Let denotes the corresponding operator of . Without loss of generality, we assume
(2.29) |
where and both are non-negative by the definition of , and .
If , the result is clearly true. Otherwise, we assume exist , such that for all . Then
Similarly, we might as well assume exist , such that for all . Then
So, we can conclude that if , then is bound-preserving, i.e. .
The definition of (weakly) monotonic scheme is given below.
Definition 1
A finite difference scheme is monotone if is a monotone nondecreasing function of each of its arguments. Furthermore, if the scheme and satisfies can be written as , where is a matrix with each row (or column) summing to one and for all , then we called the scheme is weakly monotonic.
Lemma 4
Remark 3
The proof of the bound-preserving property of the Strang-HOC difference scheme (2.18)–(2.21) is divided into the following lemmas. Firstly, we consider the diffusion process (2.18) in the first half-time step .
Lemma 5
Under the constraint , if , then computed by the scheme (2.18) with the BP limiter satisfies .
Proof
For the scheme (2.18), incorporating the definition of , the following weak monotonicity holds under the condition :
where denotes that the partial derivative with respect to the corresponding argument is non-negative li2018A . Therefore, implies for all .
To insure , it can be divided into the following two cases.
-
•
Case 1: On employing the definition of matrix in Lemma 3, we can obtain by ensuring that is matrix. Clearly, defined in (2.28) is a symmetric and strictly diagonally dominant matrix with positive diagonal elements, making it positive definite. Thus, according to Lemma 2, we only need to guarantee is matrix, which requires all off-diagonal elements to be nonpositive. Since the diffusion coefficient is positive, this condition converts to .
- •
In summary, for , if holds, computed by the original scheme (2.18) is bound-preserving; if holds, we can achieve that through using the scheme (2.18) with the BP limiter. Then we complete the proof.
By the symmetry of (2.21) and (2.18), We have similar conclusions for (2.21) under the condition that .
Corollary 1
Under the constraint , if , then computed by the scheme (2.21) with the BP limiter satisfies .
Next, we consider the second subprocess: the hyperbolic equation (2.19)– (2.20) for the entire step from to .
Lemma 6
Under the CFL constraint , if , then computed by the scheme (2.19) with the BP limiter satisfies .
Proof
For the scheme (2.19), the following weak monotonicity holds under the condition of ,
Therefore, implies . Similarly, by using the BP limiter with , we can ensure the bound-preserving property of .
Lemma 7
Under the CFL constraint , if , then computed by the scheme (2.20) with the BP limiter satisfies .
Proof
Theorem 2.2
Remark 4
In fact, when is large enough so that , then we only need . On the other hand, when is small enough so that , we only need . In this paper, since we mainly consider convection-dominated problems, i.e., the diffusion coefficient is very small, in such case, we only need to satisfy .
Remark 5
3 Extension to two-dimensional problems
In this section, we extend our scheme to two-dimensional equation with periodic boundary as follows:
(3.1) | ||||
where and is a small positive constant compared with .
3.1 Strang splitting time discretization
Similar to one dimension case, we define the time step and . By combining Strang splitting method, (LABEL:mod:2d) is reduced to updating two nonlinear systems, specifically the first and third equations of (3.2) and (3.3), and one diffusion equation (3.4)) as follows:
, | (3.2) | ||||
, | (3.3) | ||||
, | (3.4) |
for with .
To further reduce computational cost for the diffusion terms, we apply a Douglas-type ADI scheme hundsdorfer2003numerical ; douglas1962alternating for time discretization, which is second-order accurate and easily generalizable to high-dimensional problems. By combining the ADI method, high-dimensional problems can be transformed into the calculation of several one-dimensional problems. In the first half-step , we have
The scheme for the remaining half-step can be similarly given.
For convection items, we apply the improved Euler scheme as time discretization on entire interval , then we have
Then we have the semi-discrete scheme as follows :
(3.5) | |||||
(3.6) | |||||
(3.7) | |||||
(3.8) | |||||
(3.9) | |||||
(3.10) |
where for are intermediate variables, denotes the semi-discrete numerical solution at .
3.2 HOC spatial discretization
Similar to the one-dimensional case, we introduce the following notations:
where and are given positive integers. For any grid function , we define the difference operators , , and compact operators and , for and , accordingly. In addition, we rewrite in the corresponding matrix form as for , similar to the one-dimensional case. Denote and for .
Applying the fourth order compact finite difference scheme for spatial discretization, we have the Strang-ADI-HOC scheme as follows:
(3.11) | |||||
(3.12) | |||||
(3.13) | |||||
(3.14) | |||||
(3.15) | |||||
(3.16) |
where , for and .
Remark 6
When solving (3.11), we observe that we only need to solve , instead of and , by directly incorporating (3.12). Consequently, the resulting algebraic systems from (3.11)–(3.12) involve only cyclic tridiagonal constant-coefficient matrices, which need to be generated only once. Furthermore, the matrices in (3.15)–(3.16) are identical to those in (3.11)–(3.12).
3.3 Discrete mass conservation
We define the discrete inner product as:
Below, we use to denote the fully-discrete numerical solution at , and for to represent the fully-discrete intermediate solutions. Similar to one-dimensional case, we have the following results.
Lemma 8
For any grid function , for , we have
Theorem 3.1
Proof
Taking the inner product on both sides of (3.11)–(3.12) with 1 and using Lemma 8, we obtain
(3.17) |
which means
Similarly, (3.15)–(3.16) yields
(3.18) |
Taking the inner product on both sides of (3.13) with 1 and using Lemma 8, we have
(3.19) |
Collecting (3.17)–(3.19) together we obtain
(3.20) |
which completes the proof.
3.4 Bound-preserving analysis
Without loss of generality, we assume . Assume the exact solution satisfies
For convenience, we introduce
(3.24) |
where we denote . In addition, we define and . Then we consider the bound-preserving property of the above scheme. Firstly, we consider the scheme (3.11)–(3.12).
Lemma 9
Under the constraint , if , then computed by the scheme (3.12) with the BP limiter, satisfies .
Proof
Combining (3.11)–(3.12) and the definition of in (3.24), we have
where : denotes the sum of all entrywise products in two matrices of the same size and . Obviously, the right-hand side above is a monotonically increasing function with respect to for if holds. The monotonicity implies the bound-preserving result of .
Given , we can recover the point values by first obtaining , then . Similar to the one-dimensional case, this process can be similarly divided into the following two situations.
-
•
Case 1: if holds, following the arguments in the proof of Lemma 5, we can verify is -matrix, which doesn’t affect the bound-preserving property by Lemma 3. The same can be obtained for the direction. Thus, we can derive that computed by the original scheme (3.11)–(3.12) is bound-preserving under the condition that .
-
•
Case 2: And if , although isn’t -matrix, it’s still a convex combination of , which doesn’t change the upper and lower bound with the help of BP limiter. Similar to one-dimensional case, we can use the limiter in Algorithm 1 dimension by dimension several times to enforce :
(a) Given , first compute which are not necessarily in the range . Notice that
thus all discussions in Section 2 are still valid. Then apply the limiter in Algorithm 1 to for each fixed and denote the output of the limiter as , thus we have .
(b) Compute . Then we have
Apply the limiter in Algorithm 1 to for each fixed . Then the output values are in the range .
By the symmetry of (3.11)–(3.12) and (3.15)–(3.16), we have similar conclusions for (3.15)–(3.16). Then we have the corollary as follows.
Corollary 2
Under the constraint , if , then computed by the scheme (3.16) with the BP limiter, satisfies .
Next, we consider the scheme (3.13)–(3.14) and give the following results similar to the one-dimensional case.
Lemma 10
Under the constraints , if , then computed by the scheme (3.13) with the BP limiter satisfies .
Proof
Lemma 11
Under the CFL constraints , if , then computed by the scheme (3.14) with the BP limiter satisfies .
Proof
Combining with the above results, we have the following theorem without proof.
Theorem 3.2
Similarly, we give Algorithm 3 for the two-dimensional problem.
Remark 7
Similarly to Remark 7, We can discuss the selection of step size based on the value of . For simplicity, here we assume and . When is large enough so that , we only need . On the other hand, when is large enough so that , we only need .
4 Numerical tests
In this section, we perform several numerical examples including linear and nonlinear problems with different dimension to test accuracy, efficiency, and effectiveness in preserving bound or/and mass of the proposed schemes. Under the periodic boundary condition, the error of mass is measured by
for one dimension and
for two dimension. Similarly, the mass error under the Dirichlet boundary condition can be defined similarly In the following tests, we always assume that and thus . And in this section, assume represents the exact solution and represents the numerical solution. The upper and lower bound errors are respectively defined as and . Based on the discussion of Remark 4 and 7, and satisfy the proposed bound-preserving condition in Theorem 2.2 because of the very small .
4.1 One-dimensional problems
Example 1
Firstly, we consider the following linear convection diffusion problem acosta2010mollification
with exact solution
where the initial and boundary conditions can be derived from this exact solution.




In Fig. 1, we show the numerical solutions and the evoution of without/with the BP limiter for at different time and 2. We set , and It clearly shows the Strang-HOC difference scheme (2.18)–(2.21) can only ensure mass conservation but not bound-preserving property, while the scheme with BP limiter can ensure both properties at the same time, which clearly illustrates the role of the limiter. Furthermore, numerical errors and convergence rates are presented in Table 1 with to test both time and space accuracy simultaneously. It shows that the schemes without/with BP limiter both achieve fourth order in space and second order in time. The corresponding upper bound error and lower bound error are also shown in Table 2. Based on the definition of (), if a negative value appears, it means that the numerical solution exceeds the upper (lower) bound. It can be found that although the upper bound of the two schemes are both maintained, the lower bound can only be maintained the scheme using the limiter. Thus, combining Table 1 and Table 2, it clearly shows that the use of BP limiter works well and does not affect numerical accuracy, which coincide with the theoretical analysis in Remark 3.
The scheme without limiter | With limiter | |||||||
---|---|---|---|---|---|---|---|---|
error | Order | error | Order | error | Order | error | Order | |
300 | 6. 1928 E -3 | — | 1. 7708 E -3 | — | 6. 1924 E -3 | — | 1. 7704 E -3 | — |
400 | 1. 8850 E -3 | 4. 13 | 5. 4629 E -4 | 4. 09 | 1. 8850 E -3 | 4. 13 | 5. 4629 E -4 | 4. 09 |
500 | 7. 5069 E -4 | 4. 13 | 2. 2092 E -4 | 4. 06 | 7. 5069 E -4 | 4. 13 | 2. 2092 E -4 | 4. 06 |
600 | 3. 6287 E -4 | 3. 99 | 1. 0580 E -4 | 4. 04 | 3. 6287 E -4 | 3. 99 | 1. 0580 E -4 | 4. 04 |
700 | 1. 9357 E -4 | 4. 08 | 5. 6870 E -5 | 4. 03 | 1. 9357 E -4 | 4. 08 | 5. 6870 E -5 | 4. 03 |
Without the BP limiter | With the BP limiter | |||
---|---|---|---|---|
300 | 4. 2343 E -1 | -2.1743 E -5 | 4. 2343 E -1 | 0 |
400 | 4. 2271 E -1 | -1.1938 E -7 | 4. 2271 E -1 | 0 |
500 | 4. 2265 E -1 | -8.0145 E -11 | 4. 2265 E -1 | 0 |
600 | 4. 2265 E -1 | -5.8332 E -15 | 4. 2265 E -1 | 0 |
700 | 4. 2265 E -1 | -3.1338 E -19 | 4. 2265 E -1 | 0 |
Example 2
Considering the viscous Burgers equation
where and give the following three forms of solutions or initial condition:
-
•
Case 1ali1992 : .
-
•
Case 2 acosta2010mollification : .
-
•
Case 3 xie2008numerical : .
The initial and Dirichlet boundary conditions are derived from the exact solution in Case 1 and 2. For Case 3, periodic boundary condition are applied.
The presence of large gradient in the solution to the Burgers equation is a well-known challenge of numerical simulation. Even if the initial data are sufficient smooth, large gradient will still occur when the characteristic curves of the Burgers equation intersect. Thus, a robust and accurate numerical algorithm should be used to capture large gradient, and the numerical solution is anticipated to exhibit the correct physical behavior.
Firstly, we test the efficiency, bound preservation, and accuracy of the proposed scheme (2.18)–(2.21) in Case 1. To better visualize the large gradients, we plot the numerical and exact solutions in Fig. 2 and compare numerical solutions obtained without/with BP limiter or/and TVB limiter at with , where . In addition, from the expression of exact solution in Case 1, we see that the evolution of solution always keep non-negative over the spatial domain, which requires that the numerical scheme should also preserve this property. In Fig. 3, we plot the minimum values of the different solutions under the same condition as Fig. 2 to clearly compare the bound-preserving effects. Here, values less than are considered negligible and treated as 0. It is easy to find that the TVB limiter eliminates oscillations but does not remove the overshoot/undershoot. However, when both limiters are used together, a non-oscillatory, bound-preserving numerical solution is achieved. In order to test the temporal and spatial accuracy simultaneously, we take with . The numerical results in Table 3 and 4 show that the proposed scheme with the BP limiter is bound-preserving while maintaining its original accuracy. Specifically, the scheme achieves fourth-order accuracy in space and second-order accuracy in time in both the norm and norm.








Without the BP limiter | With the BP limiter | |||||||
---|---|---|---|---|---|---|---|---|
error | Order | error | Order | error | Order | error | Order | |
400 | 4.3780 E -3 | — | 4.3187 E -4 | — | 4.3782 E -4 | — | 4.3189 E -4 | — |
500 | 1.2769 E -3 | 5.52 | 1.3548 E -4 | 5.20 | 1.2769 E -3 | 5.52 | 1.3548 E -4 | 5.20 |
600 | 5.4157 E -4 | 4.70 | 5.0094 E -5 | 5.46 | 5.4157 E -4 | 4. 70 | 5.0094 E -5 | 5.46 |
700 | 2.8648 E -4 | 4. 13 | 2.4117 E -5 | 4.74 | 2.8648 E -4 | 4. 13 | 2.4117 E -5 | 4.74 |
The scheme without the BP limiter | The scheme with the BP limiter | |||
---|---|---|---|---|
400 | 2.4415 E -1 | -1.4056 E -8 | 2.4415 E -1 | 0 |
500 | 2.4291 E -1 | -3.4915 E -15 | 2.4291 E -1 | 0 |
600 | 2.4383 E -1 | 0 | 2.4383 E -1 | 0 |
700 | 2.4426 E -1 | 0 | 2.4426 E -1 | 0 |
Next, we consider Case 2 with non-homogeneous Dirichlet boundary. From the expression of exact solution, we see that the evolution of solution always remains within over the spatial domain. This requires that the numerical scheme should also preserve this property. Fig. 4 shows numerical solutions without/with the BP limiter at and set , where . With the help of BP limiter, the numerical solution agrees well with the exact solution and preserves the bound. Indeed, excellent wave characteristics can be clearly observed with the applied approaches. In contrast, the numerical solution without the limiter produced significant oscillations at large gradients and failed to preserve the bound.


Finally, we consider Case 3 with periodic boundary condition, which is a typical example for simulating shock formation. The initial solution and numerical solutions without using any limiter at different time are shown in Fig. 5, where we set and . It’s clear that the proposed scheme (2.18)–(2.21) effectively captures solutions with sharp changes. This indicates that in certain situations, the BP limiter is not necessary, and the original Strang-HOC difference scheme can still perform effectively. To verify the mass conservation property of our original scheme without the limiter, we show the of the solution in Fig. 6. The result indicates that the mass errors obtained with our proposed scheme approach the accuracy level of , demonstrating the conservative nature of our Strang-HOC difference scheme. This is consistent with the theoretical result in Theorem 2.1.

Example 3
To further gain insight into the performance of the proposed scheme, we also test it on the coupled viscous Burgers’ equations:
Both the initial condition and boundary conditions are derived from exact solution kaya2001explicit
We compute the numerical solution over the domain . We use the time step for the algorithm at to evaluate convergence in both spatial and temporal scales. It shows that the Strang-HOC difference scheme performs very well for the system and indeed holds fourth-order accurate in space and second-order accurate in time for both and norm, as shown in Fig. 7. Due to the symmetric initial and boundary conditions, similar results are obtained for .

4.2 Two-dimensional problems
Example 4
Consider the two-dimensional Burgers equation
(4.1) |
with and give the exact solution as follows:
The source term and initial condition in both cases are given by the exact solutions.
In this example, we verify the convergence rates and mass conservation property of the Strang-ADI-HOC difference scheme (3.11)–(3.16). To begin with, we present the solution graphs with , , and in Fig. 8, where . It is observed that our numerical scheme accurately captures the essential characteristics of the exact solution in this example, showing satisfactory agreement between the numerical and exact solutions. Fig. 9 shows that the mass errors of the numerical solutions obtained through our proposed scheme approach the machine accuracy level of , demonstrating the conservative nature of the Strang-ADI-HOC difference scheme. Furthermore, numerical errors and convergence rates in discrete and norms are displayed in Table 10 with . The results confirm that the convergence rates in and norms are indeed fourth order in space and second order in time, which aligns well with the expected results.




Example 6
In this test, we consider the linear variation coefficient convection diffusion problem
and give different forms of solutions and the velocity field as follows.
-
•
Case 1 FU2017jsc : The first example is the Gaussian pulse with a velocity field and the initial concentration distribution and boundary conditions obtained by the analytically exact solution is given as :
where . Here, represents the initial center of the Gaussian pulse, and is the standard deviation.
-
•
Case 2 FU2019sisc : In this example, the transport of another Gaussian hump in a vortex velocity field is considered. The velocity field is divergence-free, , where in the domain. The initial distribution of the Gaussian hump is given as
where the center of the initial Gaussian hump is specified as , and .
-
•
Case 3 qin2023 : In this case, the initial value is given as
with and the velocity field of . For simplicity, the periodic boundary condition is employed.
In Case 1, we test the accuracy and property of bound-preserving and mass-preserving of the proposed Strang-ADI-HOC scheme with BP limiter. To illustrate the second-order accuracy in time and the fourth-order accuracy in space at the same time, we set with and . From Table 5, we can observe that the convergence rate of the Strang-ADI-HOC difference scheme with and without the BP limiter tends to fourth order accuracy. In addition, negative values appear if the BP technique is not applied, and the limiter remedied the negative values in a conservative way. This once again clearly illustrates that the BP technique does not destroy the accuracy when it works, which is consistent with our theoretical result in Remark 3.
To better observe the effect of the BP technique, we present a series of plots. First, the divergence-free vortex shear and contour plots at the initial time are illustrated in Fig. 11. In Fig. 12, we compare the surface and contour plots without/with the BP limiter and the exact solution with at , where . It is clear that the numerical solution calculated without the BP limiter exhibits negative values and oscillations, which pollute the numerical results. In contrast, the numerical solution calculated with the BP limiter shows good consistency with the exact solutions. Finally, the time evolution of the without/with the BP limiter is plotted in Fig. 13. It is observed that mass conservation is well-preserved numerically in both cases, with or without the BP limiter, which is consistent with our numerical results.
The scheme without the BP limiter | The scheme with the BP limiter | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
error | Order | error | Order | error | Order | error | Order | |||
50 | 3.9493 E -4 | — | 3.8901 E -3 | — | -8. 9772 E -5 | 8.0875 E -4 | — | 6.3116 E -3 | — | 0 |
100 | 1.5794 E -5 | 4. 64 | 1.6433 E -4 | 4. 57 | -3.0292 E -12 | 1.5477 E -5 | 5. 70 | 1.5550 E -4 | 5. 34 | 0 |
200 | 9.4946 E -7 | 4. 06 | 9.7788 E -6 | 4. 07 | -3.9502 E -30 | 9.4946 E -7 | 4. 03 | 9.7788 E -6 | 4. 00 | 0 |
300 | 1.8625 E -7 | 4. 02 | 1.9315 E -6 | 4. 00 | -2.1723 E -43 | 1.8625 E -7 | 4. 02 | 1.9315 E -6 | 4. 00 | 0 |







In Case 2, the transport of a Gaussian hump in a vortex velocity field is considered. The velocity field and the initial value distribution are presented in Fig. 14. Fig. 15 and 16 visually compare the contour plots of the moving square wave computed by the HOC-ADI-Splitting scheme without/with the BP limiter at different time. We set and at different time. The distribution solved using a fine mesh of and is used as reference for the exact solution. This comparison highlight the growing performance gap: as time progresses, the numerical solution with the BP limiter gets a perfect match with the exact solution, in which the scalar quantity gradually being stretched by the swirling flow over time. In contrast, the solution without the limiter shows significant numerical dissipation of concentration, leading to a less accurate representation of the flow. This example also demonstrates that the condition stated in Theorem 3.2 is sufficient but not necessary for preserving the bound. In practice, the net ratio condition is more lenient and can be effectively applied in actual calculations.





















In Case 3, we further test the efficiency of our proposed scheme with different . The space steps are chosen as , and the time steps are tested, where . The velocity field and the initial value distribution are presented in Fig. 17. In Fig. 18 and 19, we draw the contour plots of the numerical solution calculated by the proposed Strang-ADI-HOC scheme without/with the BP limiter at and 0.5 by setting different . As depicted in Fig. 18, a larger diffusion coefficient of leads to the rapid dissipation of the square wave over a short time period. In contrast, with a smaller diffusion coefficient of , the steep gradients at the edges of the square wave persist throughout the dynamic evolution, as illustrated in Fig. 19. Thus, the results with the limiter accurately captures steep fronts without introducing numerical oscillations, even when convection dominates the dynamics.










Example 7
We consider the equation karlsen1997operator
with initial data given by
We set boundary values to zero, which is consistent with the initial data . Fig. 20 displays the comparison of three-dimensional views and contour plots between the numerical solution obtained without/with the BP limiter at with , where . Combining Fig. 20(a) and 20(b), it clearly shows that negative values and non-physical numerical oscillations appear if the BP technique is not applied, while the scheme with the BP limiter leads to accurate positive solutions.
Example 8 We now present an example where we generate approximate solutions to the equation karlsen1997operator ; He2022AFM
with initial data
and The flux functions and are both "S-shaped" with and . This problem is motivated from two-phase flow in porous media with a gravitation pull in the -direction. The computational domain is and boundary values are again put equal to zero. We take and , where . We displayed the three-dimensional views and plots of the numerical solution without/with the BP limiter in Fig. 21. No exact solution to this problem is available, but if compared with the numerical solutions reported in karlsen1997operator and He2022AFM , our solutions seem to converge to the correct solution. Thus, our scheme with the limiter provides a highly satisfactory approximation to this model with a nonlinear, degenerate diffusion.




5 Conclusions
In this paper, we have demonstrated that fourth order accurate compact finite difference schemes combined with Strang splitting method for nonlinear convection diffusion problems. A series of theoretical analyses and numerical experiments demonstrate that this improved method effectively optimizes the original algorithm. By decoupling the convection and diffusion terms, the Strang method allows each term to be handled more efficiently, reducing computational constraints and costs. The ADI method’s application to high-dimensional problems ensures that the complexity is manageable, making the method more practical and efficient for real-world applications. Our schemes preserve bound and mass by utilizing the BP limiter proposed by li2018A . To extend the scheme to two-dimensional, we employ ADI method to further reduce the computational cost. Using the properties of the limiter and M-matrix, we give the proof of bound-preserving, mass conservation and stability. Numerical results suggest well performance by the proposed schemes.
References
- [1] Acosta C D, Mejia C E. A mollification based operator splitting method for convection diffusion equations. Computers & mathematics with applications, 2010, 59(4): 1397–1408.
- [2] Ali A H A, Gardner G A, Gardner L R T. A collocation solution for Burgers equation using cubic B-spline finite elements. Computer Methods in Applied Mechanics and Engineering, 1992, 100:325–337.
- [3] Berikelashvili G, Gupta M M, Mirianashvili M. Convergence of fourth order compact difference schemes for three-dimensional convection diffusion equations. SIAM Journal on Numerical Analysis, 2007, 45(1): 443–455.
- [4] Bertolazzi E, Manzini G. A second-order maximum principle preserving finite volume method for steady convection diffusion problems. SIAM Journal on Numerical Analysis, 2005, 43(5): 2172–2199.
- [5] Chu P C, Fan C. A three-point combined compact difference scheme. Journal of Computational Physics, 1998, 140(2): 370–399.
- [6] Douglas J. Alternating direction methods for three space variables. Numerische Mathematik, 1962, 4: 41–63.
- [7] Einkemmer L, Ostermann A. Overcoming order reduction in diffusion-reaction splitting. Part 2: Oblique boundary conditions. SIAM Journal on Scientific Computing, 2016, 38(6): A3741–A3757.
- [8] Fattah Q N, Hoopes J A. Dispersion in anisotropic, homogeneous, porous media. Journal of Hydraulic Engineering, 1985, 111(5): 810–827.
- [9] Genty A, Le Potier C. Maximum and minimum principles for radionuclide transport calculations in geological radioactive waste repository: comparison between a mixed hybrid finite element method and finite volume element discretizations. Transport in porous media, 2011, 88(1): 65–85.
- [10] Gottlieb S, Ketcheson D I, Shu C W. High order strong stability preserving time discretizations. Journal of Scientific Computing, 2009, 38(3): 251–289.
- [11] He Q, Du W, Shi F, et al. A fast method for solving time-dependent nonlinear convection diffusion problems. Electronic Research Archive, 2022, 30(6): 2165–2182.
- [12] Hundsdorfer W H, Verwer J G, Hundsdorfer W H. Numerical solution of time-dependent advection-diffusion-reaction equations. Berlin: Springer, 2003.
- [13] Jia H, Li K. A third accurate operator splitting method. Mathematical and computer modelling, 2011, 53(1-2): 387–396.
- [14] 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. International Journal for Numerical Methods in Fluids, 2002, 38(12): 1111–1131.
- [15] Karaa S, Zhang J. High order ADI method for solving unsteady convection diffusion problems. Journal of Computational Physics, 2004, 198(1): 1–9.
- [16] Karlsen K H, Risebro N H. An operator splitting method for nonlinear convection diffusion equations. Numerische Mathematik, 1997, 77(3): 365–382.
- [17] Lee S, Shin J. Energy stable compact scheme for Cahn-Hilliard equation with periodic boundary condition. Computers & Mathematics with Applications, 2019, 77(1): 189–198.
- [18] Lele S K. Compact finite difference schemes with spectral-like resolution. Journal of computational physics, 1992, 103(1): 16–42.
- [19] Li H, Xie S, Zhang X. A high order accurate bound-preserving compact finite difference scheme for scalar convection diffusion equations. SIAM Journal on Numerical Analysis, 2018, 56(6): 3308–3345.
- [20] Mohebbi A, Dehghan M. High-order compact solution of the one-dimensional heat and advection-diffusion equations. Applied mathematical modelling, 2010, 34(10): 3071–3084.
- [21] Parlange J Y. Water transport in soils. Annual review of fluid mechanics, 1980, 12(1): 77–102.
- [22] Peaceman D W. Fundamentals of Numerical Reservoir Simulation. Elsevier, 2000.
- [23] Peaceman D W, Rachford, Jr H H. The numerical solution of parabolic and elliptic differential equations. Journal of the Society for industrial and Applied Mathematics, 1955, 3(1): 28–41.
- [24] Plemmons R J. M-matrix characterizations. I-nonsingular M-matrices. Linear Algebra and its applications, 1977, 18(2): 175–188.
- [25] Poole G, Boullion T. A survey on M-matrices. SIAM review, 1974, 16(4): 419–427.
- [26] Rui H, Tabata M. A mass-conservative characteristic finite element scheme for convection diffusion problems. Journal of Scientific Computing, 2010, 43: 416–432.
- [27] Shen J, Zhang X. Discrete maximum principle of a high order finite difference scheme for a generalized Allen-Cahn equation. Communications in Mathematical Sciences, 2022, 20(5): 1409–1436.
- [28] Shu C W, Osher S. Efficient implementation of essentially non-oscillatory shock-capturing schemes. Journal of computational physics, 1988, 77(2): 439–471.
- [29] Srinivasan S, Poggie J, Zhang X. A positivity-preserving high order discontinuous Galerkin scheme for convection diffusion equations. Journal of Computational Physics, 2018, 366: 120–143.
- [30] Strang G. On the construction and comparison of difference schemes. SIAM journal on numerical analysis, 1968, 5(3): 506–517.
- [31] Tian Z F. A rational high-order compact ADI method for unsteady convection diffusion equations. Computer Physics Communications, 2011, 182(3): 649–662.
- [32] Tian Z F, Ge Y B. A fourth-order compact ADI method for solving two-dimensional unsteady convection diffusion problems. Journal of Computational and Applied Mathematics, 2007, 198(1): 268–286.
- [33] van der Vegt J J W, Xia Y, Xu Y. Positivity preserving limiters for time-implicit higher order accurate discontinuous Galerkin discretizations. SIAM journal on scientific computing, 2019, 41(3): A2037–A2063.
- [34] Wang H, Shu C W, Zhang Q. Stability and error estimates of local discontinuous Galerkin methods with implicit-explicit time-marching for advection-diffusion problems. SIAM Journal on Numerical Analysis, 2015, 53(1): 206–227.
- [35] Wang T. New characteristic difference method with adaptive mesh for one-dimensional unsteady convection-dominated diffusion equations. International Journal of Computer Mathematics, 2005, 82(10): 1247–1260.
- [36] Wang Y M. Fourth-order compact finite difference methods and monotone iterative algorithms for quasi-linear elliptic boundary value problems. SIAM Journal on Numerical Analysis, 2015, 53(2): 1032–1057.
- [37] Xie S S, Heo S, Kim S, Woo G, Yi S. Numerical solution of one-dimensional Burgers equation using reproducing kernel function. J. Comput. Appl. Math., 2008, 214(2): 417–434.
- [38] Xiong T, Qiu J M, Xu Z. High order maximum-principle-preserving discontinuous Galerkin method for convection diffusion equations. SIAM Journal on Scientific Computing, 2015, 37(2): A583–A608.
- [39] Zhang L, Ge Y. Numerical solution of nonlinear advection diffusion reaction equation using high-order compact difference method. Applied Numerical Mathematics, 2021, 166: 127–145.
- [40] Zhang L, Ge Y, Wang Z. Positivity-preserving high-order compact difference method for the Keller-Segel chemotaxis model. Mathematical Biosciences and Engineering, 2022, 19(7): 6764–6794.
- [41] Zhang X, Liu Y, Shu C W. Maximum-principle-satisfying high order finite volume weighted essentially nonoscillatory schemes for convection diffusion equations. SIAM Journal on Scientific Computing, 2012, 34(2): A627–A658.
- [42] Zhuang C, Zeng R. A positivity-preserving scheme for the simulation of streamer discharges in non-attaching and attaching gases. Communications in Computational Physics, 2014, 15(1): 153–178.
- [43] Zlatev Z, Berkowicz R, Prahm L P. Implementation of a variable stepsize variable formula method in the time-integration part of a code for treatment of long-range transport of air pollutants. Journal of Computational Physics, 1984, 55(2): 278-301.
- [44] Kaya D. An explicit solution of coupled Burgers equations by decomposition method. International Journal of Mathematics and Mathematical Sciences, 2001, 27: 675-680.
- [45] Fu K, Liang D. The time second order mass conservative characteristic FDM for advection–diffusion equations in high dimensions. Journal of Scientific Computing, 2017, 73: 26-49.
- [46] Fu K, Liang D. A mass-conservative temporal second order and spatial fourth order characteristic finite volume method for atmospheric pollution advection diffusion problems. SIAM Journal on Scientific Computing, 2019, 41(6): B1178-B1210.
- [47] Liao H L, Sun Z Z. Maximum norm error bounds of ADI and compact ADI methods for solving parabolic equations. Numerical Methods for Partial Differential Equations, 2010,26:37-60.
- [48] Shen J, Tang T, Yang J. On the maximum principle preserving schemes for the generalized Allen–Cahn equation. Communications in Mathematical Sciences, 2016, 14(6): 1517-1534.
- [49] Hundsdorfer W, Verwer J. Numerical Solution of Time-Dependent Advection-Diffusion-Reaction Equations. Heidelberg: Springer, 2003.
- [50] Wang Y, Xie S S, Fu H F. Efficient, linearized high-order compact difference schemes for nonlinear parabolic equations I: One-dimensional problem. Numerical Methods for Partial Differential Equations, 2023, 39(2): 1529-1557.
- [51] Zhang J, Sun H, Zhao J J. High order compact scheme with multigrid local mesh refinement procedure for convection diffusion problems. Computer Methods in Applied Mechanics and Engineering, 2002, 191(41-42): 4661-4674.
- [52] Ito K, Qiao Z. A high order compact MAC finite difference scheme for the Stokes equations: augmented variable approach. Journal of Computational Physics, 2008, 227(17): 8177-8190.
- [53] Cockburn B, Shu C W. Nonlinearly stable compact schemes for shock calculations. SIAM Journal on Numerical Analysis, 1994, 31(3): 607–627.
- [54] Li H, Zhang X X. A high order accurate bound-preserving compact finite difference scheme for two-dimensional incompressible flow. Communications on Applied Mathematics and Computation, 2024, 6(1): 113-141.
- [55] Qin D, Fu K, Liang D. Positivity preserving temporal second-order spatial fourth-order conservative characteristic methods for convection dominated diffusion equations. Computers & Mathematics with Applications, 2023, 149: 190-202.