In this paper, we present a finite volume trigonometric weighted essentially non-oscillatory (TWENO) scheme to solve nonlinear degenerate parabolic equations that may exhibit non-smooth solutions. The present method is developed using the trigonometric scheme, which is based on zero, first, and second moments, and the direct discontinuous Galerkin (DDG) flux is used to discretize the diffusion term. Moreover, the DDG method directly applies the weak form of the parabolic equation to each computational cell, which can better capture the characteristics of the solution, especially the discontinuous solution. Meanwhile, the third-order TVD-Runge-Kutta method is applied for temporal discretization. Finally, the effectiveness and stability of the method constructed in this paper are evaluated through numerical tests.
In this paper, we focus on designing a finite-volume TWENO scheme to solve the scalar one-dimensional (1D) nonlinear degenerate parabolic equations:
wt = Ψ(w) xx, x ∈ [xl, xr ], t > 0,
where w = w(x, t) and Ψ(w) ≥ 0. The equation (1) degenerates when Ψ(w) = 0. Parabolic equations, which are nonlinear and possibly highly degenerate, are frequently used in various fields, including Thomson model[1], plasma collisional transport models[2] and the flow of liquids and gasses in porous media[3], and others. Unfortunately, it is difficult to obtain exact solutions to such parabolic equations, so it is necessary to develop effective numerical methods to obtain approximate solutions. There have been several methods to approximate equation (1), including kinetic schemes[4], local DG (LDG) schemes[5], finite volume schemes[6], finite element schemes[7], and WENO schemes[8‒13], et al. Moreover, nonlinear degenerate parabolic equations exhibit the possibility of non-smooth sharp solutions and finite propagation velocities of wave fronts, showing hyperbolic behavior. In this study, we are interested in developing a finite volume WENO scheme.
The WENO scheme has been extensively investigated for solving hyperbolic conservation laws. It exhibits good properties, including conservation, high-order accuracy in smooth areas, and non-oscillatory near discontinuities. Therefore, the WENO scheme is capable of solving equation (1). Liu et al.[14] introduced the original WENO scheme in the finite volume framework, which achieves k + 1 order accuracy in smooth regions. Jiang et al.[15] later proposed an arbitrary 2k - 1 order accuracy WENO scheme within the finite difference scheme. Since then, various efficient conservative finite volume and finite difference WENO schemes have been proposed for hyperbolic conservation laws using reconstruction methods[16‒20]. Recently, Liu et al.[8] firstly developed the finite difference direct WENO (DWENO) scheme for solving equation (1). Nevertheless, the mapped nonlinear weights and negative linear weights pose drawbacks for the proposed scheme in achieving high-order accuracy. Subsequently, Abedian et al.[9] employed four small stencils to form one big stencil, aiming to circumvent the issue of negative linear weights. Abedian[10] then developed a finite difference WENO scheme based on a reconstruction framework. This scheme allows for the use of any artificial positive linear weights, as long as their sum equals one. Furthermore, Abedian et al.[11] introduced a novel sixth-order WENO method specifically designed for solving degenerate parabolic equations. This method incorporates exponential polynomials to enhance its performance. Jiang[21] explored an alternative formulation for solving degenerate parabolic equations. This formulation relies on interpolations rather than reconstruction and can be readily extended to higher orders. Ahmat et al.[13] proposed a hybrid finite volume HWENO scheme. In this scheme, the DDG flux is utilized to discretize the second derivative term, and HWENO reconstruction is applied to troubled cells, while linear reconstruction is used in other regions. This innovative approach effectively reduces spurious numerical oscillations and improves the resolution of the solution.
Trigonometric polynomial reconstruction has made notable progress over the years. In 1976, Baron[22] proposed a Neville-like trigonometric interpolation algorithm. However, it was not directly applicable to the design of high-order ENO schemes. In 1996, Christofi[23] introduced a novel local trigonometric polynomial interpolation method. This approach allowed for the sequential addition of interpolation points to the stencil, facilitating the creation of high-order trigonometric ENO schemes. Building on this, Zhu et al.[24] developed a fifth-order finite difference trigonometric WENO scheme to solve hyperbolic conservation laws. Leveraging the same trigonometric polynomial basis as in [24], a new fifth-order trigonometric WENO scheme[25] was subsequently formulated for hyperbolic conservation problems. It was also applied as a limiter in Runge-Kutta DG methods. In summary, numerical methods relying on trigonometric polynomial reconstruction generally outperform those based on algebraic polynomials, especially in complex smooth regions and near strong discontinuities.
Inspired by the concept that any artificial positive linear weights (summing to one) can be applied in WENO schemes[10,20,25-26], we note that the new TWENO schemes[25‒26] are more robust and outperform traditional ones, offering distinct advantages in handling complex problems. Unlike the DG method[27], which requires rewriting the equation into a first-order system, the LDG method was discussed in [28]. However, both the DG and LDG methods depend on repeated integration by parts for the diffusion term. In contrast, the DDG flux[29], grounded in the direct weak formulation for parabolic equation solutions with only a single integration by parts, ensures consistency and conservativeness. Consequently, we propose a finite volume TWENO scheme that employs the DDG flux as the numerical flux for the diffusion term in degenerate parabolic equations.
The following is the main structure of this paper. Section 1 details the construction of the finite volume trigonometric WENO scheme. Section 2 presents numerical test results. Section 3 gives the conclusion.
1 Finite Volume Trigonometric WENO Scheme in 1D
In this section, we investigate the trigonometric WENO scheme to solve equation (1). Assume that, we have a uniform mesh on the [xl, xr ] ,where the target cell is Sj = [x, x] with a width h = x-x,and cell center is xj = (x + x). Then integrating (1) over the target cell Sj and dividing by h obtain:
it is evident that
where
is the cell average. Let := . We approximate equation(1) by the following conservative scheme:
we refer to and as the numerical fluxes. In this paper, we consider the DDG flux for the diffusion term. Readers can refer to reference [29] for more detailed information regarding the DDG flux with various coefficient selections. We will adopt the following notation for this flux:
where and the numerical flux at the is conservative. To obtain the numerical fluxes in equation (6), we need to reconstruct , and . Now, we describe the reconstruction procedures of and .
Step 1 Choose a big stencil and reconstruct a quartic trigonometric polynomial , which satisfies
On the stencils and , we reconstruct two linear trigonometric polynomials , which satisfies:
Let pm (x) for m = 0, 1, 2. The derivative of pm (x) with respect to x is denoted as when m = 0, 1, 2. Since it will be used later, the second derivative of pm (x) is denoted as
Step 2[30] The trigonometric polynomial p0(x) and dp0(x) are rewritten as:
the equation (9) is satisfied by any positive linear weights , provided that .
Step 3 To measure the smoothness of functions pm (x) for m = 0, 1, 2 within the target cell Sj, we compute the smoothness indicators βm for m = 0, 1, 2. These indicators are defined in a specific manner, as detailed in reference [15]:
where m = 0, 1, 2, n = 4 for m = 0 while n = 1 for m = 1, 2.
Step 4 To introduce nonlinear weights ω0, ω1 and ω2, we first measure the absolute difference of smoothness indicators as and the nonlinear weights are defined as:
where ε represents a small positive number, which is introduced to prevent the denominator from becoming 0. In this paper, for the purpose of our computation, we simply set ε = 10-8 .
Step 5 We replace the linear weights in (9) with nonlinear weights (11), obtain the approximation of ,, and :
,
,
Finally, after completing the spatial reconstruction, for time discretization we will use the third-order total variation diminishing Runge-Kutta (TVD-RK3) method[31]:
2 Numerical Tests
In this section, we present the numerical results of the finite volume TWENO scheme described in the previous sections for one dimensional nonlinear degenerate parabolic equations. For stability, we choose the time step for 1D problems:
as with CFL = 0.3, and we use the Lax-Friedrichs flux for the convection term. Furthermore, we take into account numerical methods for comparison: the current TWENO scheme, the DWENO scheme[8], and the MRWENO scheme[21] .
In the following accuracy tests, we give the L∞, L1 and L2 norm errors as follows:
and the convergence order is defined as:
Example 1 We consider the linear diffusion problem in the following form:
The initial condition for this problem is given by w(x, 0) = sin(x) and the boundary condition is periodic. The analytical solution is w(x, t) = e-t sin(x). The numerical errors and convergence orders at time t = 2 are presented in Table 1.
Example 2 We simulate the 1D PME (m > 1):
the Barenblatt solution of (18) is given as:
with k = 1/(m + 1) and w+ = max(w, 0). The initial condition of this problem is obtained by deriving from the Barenblatt solution when t = 1, and the boundary condition is w(±6, t) = 0.
In Figure 1, we plot the results of PME for different values of m using the DWENO, MRWENO and TWENO schemes with N = 200. We can clearly see that the TWENO method behaves much better compared to the other methods at the degradation points.
We focus on simulating the collision of two initial boxes with the same heights when m = 5 in equation (18). The initial condition is given by:
In Figure 2, we show the results at different time levels for the three schemes with N = 180. Additionally, Figure 3 compares the results at t = 0.3 for the DWENO, MRWENO, and TWENO schemes with N = 180. We can clearly see that the TWENO scheme performs well. In all our computations, the reference solution is computed using the HWENO scheme[12] with N = 2 000 grid points.
Next, we consider the collision of two initial boxes with different heights when m = 6 in equation (18). The initial condition is as follows:
In Figure 4, we show the results at different time levels for the three schemes with N = 180. Moreover, Figure 5 compares the results at t = 0.12 for the DWENO, MRWENO, and TWENO schemes with N = 180. We can clearly see that the TWENO scheme performs well, while the results of the DWENO and MRWENO schemes are oscillatory.
Example 3 Now, we consider the nonlinear Buckley-Leverett equation, which can be used to model two-phase flow in oil reservoirs. The equation is given by:
we define the functions as follows:
and we set . In this example, we will simulate the solution to this problem with the fluxes (23) and the following initial condition:
with the inflow and outflow boundary conditions. Figure 6 compares the results at t = 0.2 and t = 0.5 for DWENO, MRWENO, and TWENO schemes with N = 200, indicating that the numerical result of the TWENO method can converge to the entropy solution.
Following this, to test the non-gravitational effects on the Buckley-Leverett equation, we consider the fluxes (23) and initial data as follows:
with w(0, t) = 0 and w(1, t) = 1. We present the results of the DWENO, MRWENO, and TWENO schemes with N = 200 at t = 0.2, 0.5 in Figure 7. Notice that our method can accurately solve it without oscillations, which is more than the other two schemes.
Finally, we test the gravitational effects on the Buckley-Leverett equation with the same initial data in (25), and with the gravitational function given as:
Figure 8 displays the results of the DWENO, MRWENO, and TWENO schemes with N = 200 at t = 0.1, 0.2. We notice that the TWENO scheme approaches the entropy solution near the degenerate point without oscillations, while the other two schemes exhibit smaller fluctuations.
Example 4 As the final example, we solve a strongly degenerate parabolic equation in the form of (22) with and the following fluxes:
For this problem, we consider the following initial condition:
the boundary condition is taken as w(±2, t) = 0. Figure 9 depicts the numerical solutions for DWENO, MRWENO, and TWENO schemes at t = 0.4 and t = 0.8 with N = 280. In this test case, the TWENO scheme produces better results with a higher resolution.
3 Conclusion
In conclusion, the finite volume trigonometric weighted essentially non-oscillatory scheme proposed in this paper is effective for solving nonlinear degenerate parabolic equations with non-smooth solutions. Initially, we combine the TWENO scheme and the DDG flux for the diffusion term, which can accurately capture the solution characteristics, especially discontinuities. Subsequently, the third-order TVD-Runge-Kutta method ensures stable and accurate temporal discretization. Finally, numerical tests show the effectiveness and stability of our method. In the future, we may extend this approach to more complex equations or multi-dimensional problems.
PikulinS V .The Thomas-Fermi problem and solutions of the Emden-Fowler equation[J].Computational Mathematics and Mathematical Physics,2019,59(8):1292-1313.
[2]
GhoshD, DorfM A, DorrM R,et al .Kinetic simulation of collisional magnetized plasmas with semi-implicit time integration[J].Journal of Scientific Computing,2018,77(2):819-849.
[3]
AronsonD G .The porous medium equation[C]//Nonlinear Diffusion Problems:Lectures given at the 2nd 1985 Session of the Centro Internazionale Matermatico Estivo (CIME) held at Montecatini Terme,June 10-18,1985,Berlin,Heidelberg:Springer Berlin Heidelberg,2006:1-46.
[4]
Aregba-DriolletD, NataliniR, TangS .Explicit diffusive kinetic schemes for nonlinear degenerate parabolic systems[J].Mathe‑matics of Computation,2004,73(245):63-94.
[5]
ZhangQ, WuZ L .Numerical simulation for porous medium equation by local discontinuous Galerkin finite element method[J].Journal of Scientific Computing,2009,38(2):127-148.
[6]
Bessemoulin-ChatardM, FilbetF .A finite volume scheme for nonlinear degenerate parabolic equations[J].SIAM Journal on Scientific Computing,2012,34(5):B559-B583.
[7]
RaduF A, PopI S, KnabnerP .Newton:Type methods for the mixed finite element discretization of some degenerate parabolic equations[C]//Numerical Mathematics and Advanced Applications:Proceedings of ENUMATH 2005,the 6th European Confe‑rence on Numerical Mathematics and Advanced Applications Santiago de Compostela,July 2005,Berlin,Heidelberg: Springer Berlin Heidelberg,2006:1192-1200.
[8]
LiuY Y, ShuC W, ZhangM P .High order finite difference WENO schemes for nonlinear degenerate parabolic equations[J].SIAM Journal on Scientific Computing,2011,33(2):939-965.
JiangG S, ShuC W .Efficient implementation of weighted ENO schemes[J].Journal of Computational Physics,1996,126(1):202-228.
[16]
BorgesR, CarmonaM, CostaB,et al .An improved weighted essentially non-oscillatory scheme for hyperbolic conservation laws[J].Journal of Computational Physics,2008,227(6):3191-3211.
[17]
CastroM, CostaB, DonW S .High order weighted essentially non-oscillatory WENO-Z schemes for hyperbolic conservation laws[J].Journal of Computational Physics,2011,230(5):1766-1792.
[18]
LevyD, PuppoG, RussoG .Compact central WENO schemes for multidimensional conservation laws[J].SIAM Journal on Scientific Computing,2000,22(2):656-672.
[19]
ZhuJ, QiuJ X .A new fifth order finite difference WENO scheme for solving hyperbolic conservation laws[J].Journal of Computational Physics,2016,318:110-121.
[20]
ZhuJ, QiuJ X .A new type of finite volume WENO schemes for hyperbolic conservation laws[J].Journal of Scientific Computing,2017,73(2):1338-1359.
[21]
JiangY .High order finite difference multi-resolution WENO method for nonlinear degenerate parabolic equations[J].Journal of Scientific Computing,2021,86(1):1-20.
ChristofiS N .The study of building blocks for essentially non-oscillatory(ENO)schemes[M].Providence:Brown University,1996.
[24]
ZhuJ, QiuJ X .Trigonometric WENO schemes for hyperbolic conservation laws and highly oscillatory problems[J].Communications in Computational Physics,2010,8(5):1242-1263.
[25]
WangY M, ZhuJ, XiongL L .A new fifth-order trigonometric WENO scheme for hyperbolic conservation laws and highly oscillatory problems[J].Advances in Applied Mathematics and Mechanics,2019,11(5):1114-1135.
[26]
WangY M, ZhuJ .A new type of increasingly high-order multi-resolution trigonometric WENO schemes for hyperbolic conservation laws and highly oscillatory problems[J].Computers & Fluids,2020,200:104448.
[27]
ChengY D, ShuC W .A discontinuous Galerkin finite element method for time dependent partial differential equations with higher order derivatives[J].Mathematics of Computation,2008,77(262):699-731.
[28]
XuY, ShuC W .Local discontinuous Galerkin methods for nonlinear Schrödinger equations[J].Journal of Computational Physics,2005,205(1):72-97.
[29]
LiuH L, YanJ .The direct discontinuous Galerkin(DDG)methods for diffusion problems[J].SIAM Journal on Numerical Analysis,2009,47(1):675-698.
[30]
JiangG S, ShuC W .Efficient implementation of weighted ENO schemes[J].Journal of Computational Physics,1996,126(1):202-228.
[31]
ShuC W, OsherS .Efficient implementation of essentially non-oscillatory shock-capturing schemes[J].Journal of Computational Physics,1988,77(2):439-471.