Abstract
In this paper, we describe a new nonlinear finite-volume scheme that preserves the discrete maximum principle (DMP) for the two-dimensional sub-diffusion equation on distorted meshes. One distinguishing feature of our method is its ability to uphold the DMP for the anisotropic sub-diffusion problems, thereby ensuring the absence of spurious oscillations in numerical solutions and maintaining the physical bounds of various quantities, such as concentration, temperature, and density. Notably, our scheme offers the advantage of being applicable to distorted meshes without stringent constraints. Numerical results demonstrate that our scheme successfully preserves maximum principle on various randomly distorted meshes.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
The sub-diffusion has been observed and validated in various interesting phenomena. It also referred as non-Gaussian. In this paper, we deal with the following sub-diffusion problem with a tensor diffusion coefficient \(\kappa = \left( \begin{array}{cc} \kappa _{11}(x, t) &{} \kappa _{12}(x, t) \\ \kappa _{21}(x, t) &{} \kappa _{22}(x, t) \\ \end{array} \right) \):
and
where \(\partial ^{\alpha }_tu =\int _0^t\frac{\partial u(\cdot , {\eta })}{\partial \eta }\frac{d\eta }{\varGamma (1-\alpha )(t-\eta )^{\alpha }}\), \(0<\alpha <1\), \(\varOmega _T\equiv \varOmega \times (0, T]\), \(\varOmega \) is a connected bounded polygonal set of \(\textrm{R}^2\) with boundary \(\partial \varOmega \), f, v, \(\psi \) are given functions. The tensor diffusion coefficient \(\kappa \) is the positive definite, that is to say, there exists two constants \(\mu _1>0\), \(\mu _2>0\) such that the following conditions hold:
For problem (1.1)–(1.4), a key feature is that the solution has an initial layer at \(t=0\) and \(\frac{\partial u}{\partial t}\) may blow up when \(t \rightarrow 0\). In past decades, numerous authors have addressed this issue and proposed various schemes for linear and nonlinear sub-diffusion problems [1,2,3,4,5,6,7,8,9,10]. But all of the above works have focused on numerical schemes with high-order stability and convergence. There has been almost no consideration given to important properties, such as local conservation property, mass conservation property, monotonicity property, and DMP property.
Maximum principle (also known as extremum principle) is a crucial feature of sub-diffusion equations. Interesting theoretical studies on the maximum principle of equations (1.1)–(1.4) can be found in [11]. The DMP ensures non-negativity and eliminates non-physical oscillations in numerical solutions, making it a highly desirable property for numerical schemes. Jin et al. [12] provided the positivity property of problem (1.1)–(1.4) and proposed three numerical method, where non-negativity cannot be maintained for sufficiently small step, but after a certain threshold is reached, it may reappear. Ye et al. [13] provided a predictor-corrector method with a maximum principle (MP) for specified 1D fractional PDEs on a uniform grid. Jiang [14] established monotone properties of FDMs for 1D sub-diffusion equations on a uniform grid and developed a monotone FVM in [15]. In [16], Brunner presented a MP for sub-diffusion equation but did not include numerical simulations. It’s worth noting that all of the aforementioned methods preserve only the monotonicity, not the discrete maximum principle. Monotonicity refers to preserve non-negativity, which is a special case of the DMP. More recently, Du et al. [17, 18] established maximum principle-preserving (MPP) exponential time differencing schemes for semilinear parabolic equations. Liao et al. [19, 20] provided time-stepping MPP schemes for nonlocal nonlinear partial differential equations. These MPP schemes are designed for time-stepping on conforming spatial meshes and do not directly apply to randomly distorted spatial meshes.
This paper is the first in a series of papers on a nonlinear finite-volume (NFV) scheme that preserves DMP for the sub-diffusion problems with anisotropic diffusion coefficients on general polygonal meshes.
The primary contributions of this paper are as follows:
-
We derive MP for a suitably defined solution for the first time and provide a proof that the discrete solution of the proposed scheme satisfies DMP.
-
Using nonlinear weighted methods, we construct a conservative flux through a weighted combination of nonconservative fluxes.
-
Furthermore, we offer a proof that the proposed scheme has local conservation property and relies solely on cell-centered unknowns.
The primary advantages of this method are as follows:
-
It preserves local conservation property.
-
It can be applied to general distorted meshes without imposing stringent mesh conditions.
-
It preserves MP property even for problems with strongly anisotropic and heterogeneous full tensor coefficients.
The remainder of this article is organized as follows. The maximum principle properties of problem (1.1)–(1.4) is proved in Sect. 2. A new NFV scheme is constructed in Sect. 3. In Sect. 4, we prove DMP property of the proposed method. Five numerical examples are introduced in Sect. 5. A conclusion is presented in Sect. 6.
2 The Maximum Principle for (1.1)–(1.4)
Theorem 1
Suppose u(x, t) is the solution of (1.1)–(1.4) in \(\varOmega _T\), \(u(\cdot , t)\in C^{(\alpha )}([0, T])\equiv \{u|u\in C([0, T])\), \(\partial _t^{\alpha }u \in C([0, T])\}\), \(0<\alpha <1\). If \(\frac{\partial ^2u}{\partial x_i\partial x_j}\), \(\frac{\partial u}{\partial x_i}\in C(\bar{\varOmega }_T)\), \(1\le i, j\le 2\), \(\kappa \), \(\frac{\partial \kappa }{\partial x_i} \in [L^{\infty }(\varOmega _T)]^{2\times 2}\), and \(\kappa (x, t)\) is positive definite and satisfies the condition (1.5). Then
(1) If \(f(x, t)\le 0\), \((x, t)\in \bar{\varOmega }_T\), then \(u(x, t)\le \max \{0, M\}\),
where \(M:= \max \left\{ \max \limits _{x\in \bar{\varOmega }}u(x, 0),\ \ \max \limits _{x\in \partial \varOmega , t\in [0, T]}u(x, t)\right\} \).
(2) If \(f(x, t)\ge 0\), \((x, t)\in \bar{\varOmega }_T\), then \(u(x, t)\ge \min \{0, m\}\),
where \(m:= \min \left\{ \min \limits _{x\in \bar{\varOmega }}u(x, 0),\ \ \min \limits _{x\in \partial \varOmega , t\in [0, T]}u(x, t)\right\} \).
2.1 Two Preliminary Lemmas
To prove Theorem 1, we introduce two following results, which are the essential elements of our proof.
Lemma 1
[16, Lemma 3.3] Assume \(f(t)\in C^{(\alpha )}([0, T])\) for \(0<\alpha <1\). If there is some point \(t_0\in (0, T)\) so that \(f(t)\le f(t_0)\) for \(t\in [0, t_0]\). Then
Lemma 1 was introduced by Luchko in [21, Theorem 1] under the stronger assumptions. We refer the reader to the work [16, 21] for the proof of the Lemma 1.
Lemma 2
[16, Lemma 3.4] Let a function \(f=f(t)\in C^{(\alpha )}([0, T])\), satisfy
-
(1)
\(f(t)\le f(t_0)\) for \(0\le t\le t_0\le T\),
-
(2)
\((\partial _t^{\alpha }f)(t_0)=0\).
Then, for \(0\le t\le t_0\), one gets
2.2 Proof of Theorem 1
We only prove the maximum principle (1). Since the minimum principle (2) can be obtained if we substitute -u instead of u in the reasoning below.
Note that u(x, t) is continuous in \((x, t)\in \bar{\varOmega }\times [0, T]\). Then \(\exists (x_0, t_0)\), \(x_0\in \bar{\varOmega }\), \(t_0\in [0, T]\) with following property
Now assume \(0<u(x_0, t_0)\). The reason is that if \(0 \ge u(x_0, t_0)\), maximum principle (1) is true.
Further, since \(0<u(x_0, t_0)\), if \(x_0\in \partial \varOmega \), \(t_0\in [0, T]\) or \(t_0=0\), the maximum point of u on \(\bar{\varOmega }_T\) is \((x_0, t_0)\), i.e. \(M=u(x_0, t_0)\). Obviously in this case the maximum principle (1) holds.
If \(0<u(x_0, t_0)\), \(x_0\in \varOmega \), \(t_0\in (0, T]\), note that \(u(x, t)\le u(x_0, t_0)\) in (2.8), then by using Lemma 1 we obtain the following relation
Also, the continuous function u has a maximum value, and its necessary condition is:
and Hessian matrix
is a symmetric negative semidefinite.
Since \((\kappa _{ij})_{2\times 2}\) is positive definite, then we can find an invertible matrix \((Q(x, t))_{2\times 2}\) so that \(\kappa (x, t)=Q^T(x, t)Q(x, t).\)
Thus, by combining the condition (2.11), we have
Notice that \(\nabla \cdot (\kappa \nabla u)=\sum \nolimits _{i=1}^{2} \sum \nolimits _{j=1}^{2}(\kappa _{ij}\frac{\partial ^2u}{\partial x_i\partial x_j}+\frac{\partial \kappa _{ij}}{\partial x_i}\frac{\partial u}{x_j})\), then by combining conditions (2.10) and (2.12) yield
Also, since \(f(x_0, t_0)\le 0\), using (2.13), then Eq. (1.1) implies
By combining (2.9) and (2.14), one has
Moreover, for all \(0\le t\le t_0\), we have
Thus, using the two equations above, the result in Lemma 2 implies that
Further, using (2.15), we can get
We complete the proof.
3 The Construction of Discrete Scheme
3.1 Preliminaries
In order to deal with the weak singularity of the solution at initial time \(t=0\), we first introduce a graded mesh subdivision of the temporal interval [0, T]. For a positive integer N, \(0=t_0< \cdots <t_{N}=T\), assume \(\tau _n = t_n -t_{n-1}\) and
Next we will introduce notation on meshes and stencil (see Fig. 1) for spatial discretization. Assume \(\mathscr {M}\) and \(\mathscr {E}\) be a set of all cells and cell edges, respectively. The cell and cell-center are presented by K or L, the cell edge by \(\sigma \), the boundary of K by \(\partial K\), the midpoint of cell-edge by \(M_i\), the cross point by \(O_i\). \(\mathscr {E}_{ext}\) and \(\mathscr {E}_{int}\) the set of boundary and interior edges, respectively. Let \(\mathscr {P}_{in}\) and \(\mathscr {P}_{out}\) be the set of K in \(\varOmega \) and \(M_i\) on \(\partial \varOmega \), respectively. Let \(\vec {n}_{K\sigma }\)/\(\vec {n}_{L\sigma }\) be the unit outer normal on \(\sigma \) of K/L, \(\vec {t}_{KM_i}\)/\(\vec {t}_{LM_i}\) be the unit tangential vectors on \(KM_i\)/\(LM_i\), \(i=1,\dots \).
We also define the angles
From Fig. 1, we have
3.2 Discretization
Let
and
Then, by the L1 scheme on graded meshes [5, Eq. (3.1)], one has
where \(\triangle _tu(\cdot ,t_{n-j-1})=u(\cdot ,t_{n-j})-u(\cdot ,t_{n-j-1})\).
From [5, Lemma 5.2], one has
Noticing that \(b^{n,\alpha }_{n}=\tau _n^{-\alpha }\), due to the monotonic increasing function \((t-s)^{-\alpha }\), it is easy to get the inequality
Next we will construct a new weighted MPP NFV method for sub-diffusion problem (1.1)–(1.4).
To write down a NFV scheme for (1.1)–(1.4), for \(1\le n\le N\), we first evaluate (1.1) at \(t=t_n\) and integrate it over a cell K:
Applying the divergence equation, one has
From Fig. 1, since \(((\kappa \nabla u))\cdot \vec {n}_{K,\sigma }=\nabla u\cdot (\kappa ^{T}\vec {n}_{K,\sigma })\), and then using the Gauss theorem to get
where \(\mathscr {E}_K \subset \mathscr {E}\), \(K\in \mathscr {M}\), \(\kappa ^T\) is the transpose of \(\kappa \).
Now let’s discretize equation (3.22) term by term.
By using (3.19) and (3.20), the first term of (3.22) can be designed as
where m(K) is the area of K, and \(u(K,t_j)m(K)\approx \int _{K}u(x,t_j)dx\).
Next, we will approximate the second term of (3.22).
Denote
The key point is to construct a discrete approximation of the continuous flux \(\mathscr {F}_{K,\sigma }^n\) for each edge \(\sigma \) at time \(t=t_n\).
From Fig. 1, since \(KM_1\) (resp. \(LM_{4}\)) and \(KM_2\) (resp. \(LM_{3}\)) are two edges of \(\triangle KM_1M_2\) (resp. \(\triangle LM_3M_4\)), using (3.24), one has
where \(\tilde{\kappa }^n_L(x)= \kappa ^{T}(x,t_n)\vec {n}_{L,\sigma }\), \(1\le n\le N\).
Combining (3.25) and the two equation above, one has
where \(h=(\sup _{K\in \mathscr {M}}m(K))^{1/2}\).
Likewise, one has
We next can define the discrete normal flux:
and
It is noted that (3.28) and (3.29) include cell-edge unknowns \(u^n_{M_{i}}\) at the nodes \(M_i\), we now should write down the cell-edge unknowns \(u^n_{M_{i}}\) as functions of the cell-centered unknowns \(u^n_{K}\) (\(u^n_{L}\)). For this purpose, by using following linear approximation [22], one has
where \(u^n_{K_{M_i,j}}\), \(1\le n\le N\), \(i=1,2,\ldots \), is some neighboring cell-centered unknowns surrounding \(M_i\), \(J_{M_i,m}\) is the corresponding number of unknowns, \(i=1,2,\ldots \), and \(\omega _{M_i,j}\) is unknown coefficients, \(j=1,2\ldots , n_{M_i}\), which satisfy
For the detailed method determining these unknown weight coefficients \(\omega ^n_{M_i,j}\) we refer the reader to the paper [22].
Thus, combining (3.28), (3.29) and (3.30), we have
Further, we denote the discrete normal flux:
and
By using (3.27), (3.29), (3.30),(3.32) and (3.34), we have
also, using (3.26), (3.28), (3.30),(3.33) and (3.35), we have
Note that the normal flux component is continuous over the edge \(\sigma \), one has
To make our proposed method to satisfy MP, we now rewrite (3.34) and (3.35) as our familiar form:
where \(\tilde{\tilde{\tilde{F}}}^n_{K,\sigma }\) (resp. \(\tilde{\tilde{\tilde{F}}}^n_{L,\sigma }\)) does not include the term \(u_K^n-u_L^n\) (resp. \(u_L^n-u_K^n\)).
By introducing a new factor
(3.37) and (3.38) can be rewritten as
Also
Thus, combining (3.36), (3.39) and (3.40), we have
To transform formulas (3.39) and (3.40) into a conservative scheme, the nonlinear combination technique will be used to define discrete fluxes on edge \(\sigma \), we write
where \(\mu _1(u^n)\) and \(\mu _2(u^n)\) are nonnegative and nonlinear, which will be chosen below. We need the scheme to be conservative, then the following important fact should be satisfied:
To make \(\bar{F}^n_{K,\sigma }\) and \(\bar{F}^n_{L,\sigma }\) to satisfy MP, we now turn to show how to choose the nonlinear coefficients \(\mu _1(u^n)\) and \(\mu _2(u^n)\). In this paper, we use the weighted combination of flux \(\bar{F}^n_{K,\sigma }\) and \(\bar{F}^n_{L,\sigma }\) to design a conservative flux.
Going back to (3.44), if \(\bar{F}^n_{K,\sigma }\bar{F}^n_{L,\sigma }\ge 0\), we can take
Then we insert the equation above into (3.41) and (3.42), a discrete conservative flux approximation of the continuous flux \(\mathscr {F}_{K,\sigma }^n\) is written by
If \(\bar{F}^n_{K,\sigma }\bar{F}^n_{L,\sigma }< 0\), we can take the nonlinear coefficients \(\mu _1(u^n)\) and \(\mu _2(u^n)\) by using the following weighted combination of nonconservative flux:
Thus, inserting the equation above into (3.41) and (3.42), we can attain a discrete conservative flux approximation of the continuous flux \(\mathscr {F}_{K,\sigma }^n\) on edge \(\sigma \):
If \(\sigma \in \mathscr {E}_{ext}\), one can refer [23] and define
At last, based on the temporal and spatial flux discretization, by using (3.19), (3.22), (3.23), (3.45)–(3.46) and (3.47)–(3.49), we can construct the following nonlinear finite volume method
where \(f^n_{K}=f(K,t_n)\).
4 Analysis of Discrete Maximum Principle
In this section, we first introduce feasible method for solving the nonlinear algebraic system (3.50)–(3.52), and then prove our numerical scheme satisfies the discrete maximum principle.
Let \(J^n_{K,\sigma }\) (resp. \(J^n_{L,\sigma }\)) be the number of cell associated with K (resp. L) at time \(t=t_n\). Going back to the expressions of discrete conservative flux (3.45)–(3.46) and (3.47)–(3.49), we can write the flux as the following equivalent form:
Set \(A^n_{K,j}\) be the sum associated with \(A^n_{L,\sigma ,j}\), \(J^n_{K}\) is the number associated with cell K at time \(t=t_n\). Then inserting (4.53) into (3.50), we have
That is, the nonlinear system is as follows
From (3.21), we know that \(b^{n,\alpha }_{n}>0\) and \(-b^{n,\alpha }_{j}>0\), \(n-1\ge j\ge 0\). Set \(U^n\) be the unknowns solution vector, \(A(U^n)\) be the corresponding coefficient matrix, and \(F^n\) be corresponding right-hand term vector.
Thus our fully discrete nonlinear algebraic system (4.56) can be rearranged as the following matrix form:
where \(1\le n\le N\), Picard nonlinear iteration can be used to process the above nonlinear system.
4.1 The Analysis of DMP
We now state that our algorithm (3.50)–(3.52) satisfies the following DMP.
Theorem 2
The NFV scheme (3.50)–(3.52) satisfies the DMP. That is,
(1) If function \(f\le 0\), then the numerical solutions satisfy
where
Namely, the positive maximum of function u can only be found at the boundary of the domain.
(2) If function \(f\ge 0\), then the numerical solutions satisfy
where
Namely, the negative minimum of function u can only be found at the boundary of the domain.
Proof
We only prove the maximum principle, i.e. the inequality (4.58). For the minimum principle (4.59), we only need to repeat the same arguments as the proof of inequality (4.58).
(1) If function \(f\ge 0\). Assume
If \(u_{K_0}^{n_0,s}\le 0\), then the inequality (4.58) follows directly.
We now consider the case \(u_{K_0}^{n_0,s}> 0\).
For \(\forall s=0,1,2,\ldots \), if \(K_0\in \mathscr {P}_{out}, 1\le n_0\le N\) or \(K_0\in \mathscr {P}_{in}\cup \mathscr {P}_{out},\ n_0=0,\) then the inequality (4.58) follows directly.
For \(\forall s=0,1,2,\ldots \), if \(K_0\in \mathscr {P}_{in},\ n_0\ne 0,\) using (3.19), we go back to (4.55), then
Using formulas (3.17), and noting the important condition \(\omega ^n_{M_i,j}\ge 0\) in (3.31), we have
since (4.60), then for all \(L_j\in \mathscr {P}_{in}\cup \mathscr {P}_{out}\), \(j=1,2,\ldots , J^{n_0}_{K_0}\), we have
noting that \(f\le 0\), thus combining (4.61)–(4.63), we have
that is
Also, using (3.19), for \(\forall s=0,1,2,\ldots \), we have
noticing (4.60), for all \( n=0,1,2,\ldots ,N\), we can obtain
Hence,
By combining (4.64) and (4.66), we obtain
Further, we combine (4.65) and (4.67), then, for all \( n=0,1,2,\ldots ,N\),
Thus, we can take \(n=0\), then the proof of the maximum principle inequality (4.58) is completed. \(\square \)
5 Numerical Example
We will give five numerical examples to display typical behaviour in this section. In our implementations, the temporal graded meshes is used with \(r =\frac{2-\alpha }{\alpha }\) in all five examples. The \(L_2^u\) is used to compute approximate errors for u: \( L_2^u=(\sum \nolimits _{K\in \mathscr {M}}(u_K-u(K))^2\,m(K))^{1/2}\). The \(L_2^F=\) is used to compute approximate errors for flux F: \( L_2^F=(\sum \nolimits _{\sigma \in \mathscr {E}}(F_{K,\sigma }-\mathscr {F}_{K,\sigma })^2)^{1/2} \).
Example 1
Consider the tensor diffusion matrix \(\kappa \) is anisotropic and homogeneous. For the sub-diffusion model (1.1)–(1.3), set \(T=1\), \(x_1\in [0,1]\), \(x_2\in [0,1]\), and
where \(\varepsilon =1\times 10^{-3}\), \( v(x_1,x_2)=0\), \(\psi (x_1,x_2,t)=0\) and
The exact solution \(u(x_1,x_2,t)\) is unknown, but the principle of minimum values shows that it is non-negative. We test the problem on random quadrilateral meshes (RQMs) and random triangular meshes (RTMs) in Fig. 2, which is obtained by the random disturbance of mesh. That is \(x_{1_{ij}}=\frac{i}{I}+\frac{{\rho }}{I}(R_{x_1}-0.5)\) and \(x_{2_{ij}}=\frac{j}{J}+\frac{{\rho }}{J}(R_{x_2}-0.5)\) with random number \(\rho \in [0,1]\). We consider \({\rho }=0.4\) in the example.
In Fig. 3, the numerical solutions are obtained on RTMs with \(\alpha =0.8\), \(\alpha =0.5\), \(\alpha =0.2\). The minimum are 9.3951e\(-\)5, 7.9854e\(-\)5 and 6.7698e\(-\)5, respectively. The minimum 0 of the solution is reached on \(\partial \varOmega \). The number of nonlinear iteration is 94, 184 and 236, respectively. Figure 4 shows the numerical solutions obtained on RQMs. The minimum are 3.3250e\(-\)6, 3.3415e\(-\)6 and 2.9352e\(-\)6, respectively. The minimum 0 is attained on \(\partial \varOmega \). Figures 3 and 4 show that the proposed scheme have not non-physical oscillations while maintaining positivity.
In the following example, we consider the problem which comes from Jiang and Xu [15]. We set the random number \({\rho }=0.6\) and \(\alpha =0.5\) (Fig. 5).
Example 2
[15] Take \(\kappa (x_1,x_2,t)=E\), \(\varOmega =[0,1]\times [0,1]\),\(T=1\), \(v=0\), \(f(x_1,x_2,t)=0\). \(\psi (x_1,x_2,t)=(1+\frac{1-e^{10x_1x_2}}{2.20255\times 10^4})t^{2}\) is introduced in Example 4.2 of Jiang [15].
The exact solution of this problem is unknown. In Figs. 6 and 7 we present the numerical results on RQMs and RTMs, respectively. The minimum and maximum in the domain are 0.1124 and 0.9571, respectively. The Figs. 6 and 7 affirm that the proposed scheme satisfy the DMP on distorted RMMs and RTMs. However, the finite difference scheme constructed in [15] can not satisfy the positivity of physical variables and has oscillations.
Example 3
Consider the model (1.1)–(1.3) with a non-smooth anisotropic solution. The domain is \(\varOmega =(0, 1)\times (0, 1)\backslash [4/9, 5/9]\times [4/9, 5/9]\) with the hole width 2/9. That is \(\partial \varOmega \) is formed by two disjoint parts: the interior and exterior boundary \(\partial \varOmega _1\) and \(\partial \varOmega _2\), respectively. We take \(T=1\), \(f= 0\), \(\psi =1/5\) on \(\partial \varOmega _1\), \(\psi (x_1,x_2,t) = 1/5+t^{\alpha }\) on \(\partial \varOmega _2\), the initial conditions \( v(x_1,x_2)=1/5\), and \(\kappa =RDR^\textrm{T}\), where
We experiment the example on the RTMs and RQMs in the domain with the hole in Fig. 8) and consider \({\rho }=0.7\), and the number of cells are \(18\times 18\times 2\) and \(36\times 36\), respectively.
The numerical solutions are presented in Figs. 9 and 10 with \(\alpha =0.5\), respectively. The minimum and maximum are 0.2 and 1.2, respectively. We find the proposed scheme satisfy the DMP on RTMs and RQMs.
Example 4
[12] Consider (1.1)–(1.3) from [12]. Let \(\varOmega =[0,1]\times [0,1]\), \(\kappa =E\), \(v=x_1(1-x_1)x_2(1-x_2)\), \(\psi (x_1,x_2,t) =0\) and \(f=0\).
The exact solution \(u(x_1,x_2,t)\) is unknown. The main purpose is to compare preserving the minimum principle obtained by the proposed method with the all three methods, including SG method, LM method and FVE method, proposed by Jin et al. [12].
Taking \({\rho }=0.7\). In Figs. 11 and 12, we presented the numerical results on RTMs \(40\times 40\) and RQMs \(24\times 24\times 2\) with different \(\alpha =0.5\), 0.75, respectively. The proposed method maintain the minimum of solution on RTMs and RQMs. But as Jin et al. [12] point out, the numerical solutions obtained by all three methods in [12] may produce negative values for small \(\tau \).
Example 5
Consider (1.1)–(1.3) with \(\varOmega =[0,1]\times [0,1]\), \(\kappa =E\), \(v=\sin (\pi x_1)\sin (\pi x_2)\), \(\psi =0\), f is selected so that the solution is
In this example, we take \({\rho }=0.7\) and mainly test the accuracy of proposed method. We always select \(N = (\frac{1}{h})^{\frac{2}{2-\alpha }}\) so that the best convergence order \(O(h^2+N^{-(2-\alpha )})=O(h^2)\) is reached in both time and space.
In Tables 1, 2, 3 and 4, we present the errors and convergence rates for solution u and flux F on random and uniform quadrilateral and triangular meshes, respectively. The proposed scheme obtains solution of second-order accuracy and first-order accuracy of flux for different \(\alpha =0.2,0.5,0.7\), which verifies our theoretical results.
6 Conclusion
In this paper, we present the development of weighted NFV schemes that preserve the MP for the sub-diffusion problems on various distorted RTMs and RQMs. We prove the MP for a suitably defined solution for the first time and establish that the discrete solution satisfies the DMP. Using nonlinear weighted methods, we construct a conservative flux by combining nonconservative fluxes with appropriate weights. Furthermore, we demonstrate that the proposed scheme is local conservation and relies solely on cell-centered unknowns. It can be used to general distorted meshes without imposing stringent conditions on the mesh quality. The scheme preserves the MP for problems with strongly anisotropic and heterogeneous full tensor coefficients. Numerical results confirm that our scheme preserves the MP and achieves second-order accuracy for solutions and first-order accuracy for flux computations.
Data Availability
Data sharing is not applicable to this article as no datasets were generated or analyzed during the current study.
References
Brunner, H., Ling, L., Yamamoto, M.: Numerical simulations of 2D frational subdiffusion problems. J. Comput. Phys. 229, 6613–6622 (2010)
McLean, W.: Regularity of solutions to a time-fractional diffusion equation. ANZIAM J. 52, 123–138 (2010)
Jin, B., Lazarov, R., Zhou, Z.: An analysis of the L1 scheme for the subdiffusion equation with nonsmooth data. IMA J. Numer. Anal. 36, 197–221 (2016)
Yang, X., Zhang, H., Zhang, Q., Yuan, G.: Simple positivity preserving nonlinear finite volume scheme for subdiffusion equations on general non-conforming distorted meshes. Nonlinear Dyn. 108, 3859–3886 (2022)
Stynes, M., O’Riordan, E., Gracia, J.L.: Error analysis of a finite difference method on graded meshes for a time-fractional diffusion equation. SIAM J. Numer. Anal. 55, 1057–1079 (2017)
Zhang, Y.N., Sun, Z.Z., Liao, H.-L.: Finite difference methods for the time fractional diffusion equation on nonuniform meshes. J. Comput. Phys. 265, 195–210 (2014)
Yang, X.H., Zhang, Z.M.: On conservative, positivity preserving, nonlinear FV scheme on distorted meshes for the multi-term nonlocal Nagumo-type equations. Appl. Math. Lett. 150, 108972 (2024)
Wang, J., Jiang, X., Zhang, H.: A BDF3 and new nonlinear fourth-order difference scheme for the generalized viscous Burgers’ equation. Appl. Math. Lett. 151, 109002 (2024)
Wang, J., Jiang, X., Yang, X., Zhang, H.: A nonlinear compact method based on double reduction order scheme for the nonlocal fourth-order PDEs with Burgers’ type nonlinearity. J. Appl. Math. Comput. 70, 1–23 (2024)
Liao, H.-L., Li, D.F., Zhang, J.W.: Sharp error estimate of the nonuniform L1 formula for linear reaction-subdiffusion equations. SIAM J. Numer. Anal. 56, 1112–1133 (2018)
Luchko, Y.: Maximum principle for the generalized time-fractional diffusion equation. J. Math. Anal. Appl. 351, 218–223 (2009)
Jin, B., Lazarov, R., Thomée, V., Zhou, Z.: On nonnegativity preservation in finite element methods for subdiffusion equations. Math. Comput. 86, 2239–2260 (2017)
Ye, H., Liu, F., Anh, V., Turner, I.: Maximum principle and numerical method for the multi-term time-space Riesz–Caputo fractional differential equations. Appl. Math. Comput. 227, 531–540 (2014)
Jiang, Y.: A new analysis of stability and convergence for finite difference schemes solving the time fractional Fokker–Planck equation. Appl. Math. Model. 39, 1163–1171 (2015)
Jiang, Y., Xu, X.: A monotone finite volume method for time fractional Fokker–Planck equations. Sci. China Math. 62, 783–794 (2019)
Brunner, H., Han, H., Yin, D.: The maximum principle for time-fractional diffusion equations and its application. Numer. Funct. Anal. Optim. 36, 1307–1321 (2015)
Du, Q., Ju, L., Li, X., Qiao, Z.: Maximum principle preserving exponential time differencing schemes for the nonlocal Allen–Cahn equation. SIAM J. Numer. Anal. 57(2), 875–898 (2019)
Du, Q., Ju, L., Li, X., Qiao, Z.: Maximum bound principles for a class of semilinear parabolic equations and exponential time-differencing schemes. SIAM Rev. 63(2), 317–359 (2021)
Liao, H.-L., Tang, T., Zhou, T.: On energy stable, maximum-principle preserving, second order BDF scheme with variable steps for the Allen–Cahn equation. SIAM J. Numer. Anal. 58(4), 2294–2314 (2020)
Liao, H.-L., Tang, T., Zhou, T.: An energy stable and maximum bound preserving scheme with variable time steps for time fractional Allen–Cahn equation. SIAM J. Sci. Comput. 43(5), A3033-S907 (2021)
Luchko, Y.: Some uniqueness and existence results for the initial-boundary-value problems for the generalized time-fractional diffusion equation. Comput. Math. Appl. 59(5), 1766–1772 (2010)
Sheng, Z., Yuan, G.: The finite volume scheme preserving extremum principle for diffusion equations on polygonal meshes. J. Comput. Phys. 230, 2588–2604 (2011)
Sheng, Z., Yuan, G.: Construction of nonlinear weighted method for finite volume schemes preserving maximum principle. SIAM J. Sci. Comput. 40, A607–A628 (2018)
Acknowledgements
The authors are grateful for helpful suggestions from reviewers.
Funding
The authors have not disclosed any funding.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare to have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
The work was supported by National Natural Science Foundation of China Mathematics Tianyuan Foundation (12226340, 12226337).
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Yang, X., Zhang, Z. Analysis of a New NFV Scheme Preserving DMP for Two-Dimensional Sub-diffusion Equation on Distorted Meshes. J Sci Comput 99, 80 (2024). https://doi.org/10.1007/s10915-024-02511-7
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10915-024-02511-7