In this section, we compare the numerical performances of the MOP-WENO-X schemes with the associated existing mapped WENO-X schemes shown in
Table 1, and the classic WENO-JS scheme. To further demonstrate the superiority of the MOP-WENO-X schemes, some comparisons with other WENO type reconstructions, e.g., WENO-Z [
26] (in
Section 4.1 and
Section 4.2) and the central WENO schemes of WENO-NW6 [
36], WENO-CU6 [
37], and WENO-
6 [
38] (in
Section 4.3), have also been performed. As the performances of the WENO-ACM scheme and the MOP-WENO-ACM scheme are almost identical to those of the MIP-WENO-ACM
k scheme and the MOP-WENO-ACM
k scheme, respectively, we do not present the solutions of the WENO-ACM scheme and the MOP-WENO-ACM scheme below for simplicity. It should be noted that although we mainly provide the solutions of the fifth-order WENO methods (WENO5) in present study, the methodology proposed in this paper can be successfully extended to higher order WENO methods, such as WENO-7 or WENO-9, and because of the space limitations, we do not show their solutions here.
4.1. Accuracy Test
In this subsection, we solve the following one-dimensional linear advection equation:
with different initial conditions to test the accuracy of the considered WENO schemes. In all accuracy tests, the
norms of the error are given as
where
is the uniform spatial step size,
is the numerical solution, and
is the exact solution.
Example 1. We calculate Equation (38) with the periodic boundary condition using the following initial condition [27]: It is trivial to verify that although the initial condition in Equation (
39) has two first-order critical points, their first and third derivatives vanish simultaneously. It is known that the rate of the temporal convergence is
for the third-order Runge–Kutta method [
5,
39,
40] and the CFL number is defined by
leading to
where
here. Therefore, note that we consider only the fifth-order methods here, and to ensure that the error for the overall scheme is a measure of the spatial convergence only, we set the CFL number to be
. The calculation was run until a time of
.
In
Table 2, we show the
errors and corresponding convergence orders of various considered WENO schemes. Unsurprisingly, the MOP-WENO-X schemes and the associated WENO-X schemes, along with the WENO-Z scheme, provide more accurate results than the WENO-JS scheme do in general. Naturally and as expected, all the considered schemes have gained the fifth-order convergence rate of accuracy. It can be found that the results of the MOP-WENO-X schemes are identical to those of the associated WENO-X schemes for all grid numbers except
. As discussed in [
9], the cause of the accuracy loss for the computing cases of all MOP-WENO-X schemes with
is that the mapping functions of the MOP-WENO-X schemes have narrower optimal weight intervals (standing for the intervals about
over which the mapping process attempts to use the corresponding optimal weights; see [
31,
32]) than the associated WENO-X schemes.
Figure 2 shows the overall
convergence behavior of various considered schemes. We can observe that: (1) the solutions of all schemes converge at fifth-order, as evidenced by the slope of the lines; (2) the MOP-WENO-X schemes and their associated WENO-X schemes, along with the WENO-Z scheme, are significantly more accurate than the classic WENO-JS scheme; (3) the errors and convergence orders of the MOP-WENO-X schemes are almost identical to those of their associated WENO-X schemes.
We use this example to discuss the computational cost of the MOP-WENO-X scheme compared with its associated WENO-X scheme and the classic WENO-JS scheme. In
Figure 3, we drew the graphs for the CPU time versus the computing errors (we only present the results of the
-norm error here just for the sake of brevity in the presentation, hereinafter the same). From
Figure 3, we can easily see that: (1) generally speaking, the MOP-WENO-X schemes have better efficiency than the WENO-JS scheme; (2) for all MOP-WENO-X schemes except the case of “X = M,” they perform almost identically to their associated WENO-X schemes; (3) for the MOP-WENO-M scheme, it has a slightly lower efficiency than its associated WENO-M scheme and it has significantly higher efficiency than the WENO-JS scheme.
Example 2. We calculate Equation (38) with the periodic boundary condition using the following initial condition [25]: This particular initial condition has two first-order critical points, which both have a non-vanishing third derivative. Again, the CFL number was set to be
and the calculation was run until a time of
.
Table 3 compares the
errors and corresponding convergence orders obtained from the considered schemes. It is evident that the WENO-X schemes and the associated MOP-WENO-X schemes can achieve the optimal convergence orders, and this verifies the properties
of Theorem 2. Unsurprisingly, the WENO-JS scheme gives less accurate results than the other schemes, and its
convergence order decreases by almost 2 orders leading to the noticeable drops of the
and
convergence orders. It is noteworthy that when the grid number is too small, such as
, in terms of accuracy, the MOP-WENO-X schemes provide less accurate results than those of the associated WENO-X schemes. As mentioned in Example 1, the cause of this kind of accuracy loss is that the mapping functions of the MOP-WENO-X schemes have narrower optimal weight intervals than the associated WENO-X schemes, and this issue can surely be addressed by increasing the grid number. Therefore, as expected, the MOP-WENO-X schemes show equally accurate numerical solutions like those of the associated WENO-X schemes when the grid number
.
Figure 4 shows the overall
convergence behavior of various considered schemes. We can observe that: (1) the solutions of all MOP-WENO-X schemes and their associated WENO-X schemes, and of the WENO-Z scheme, converge at fifth-order, as evidenced by the slope of the lines, especially for larger (slightly) grid numbers; (2) for the classic WENO-JS scheme, its solution converges at third-order, as evidenced by its slope of the line; (3) naturally, the MOP-WENO-X schemes and their associated WENO-X schemes, and the WENO-Z scheme, are significantly more accurate than the classic WENO-JS scheme; (4) the errors and convergence orders of the MOP-WENO-X schemes are very close to those of their associated WENO-X schemes.
We also use this example to discuss the computational cost of the MOP-WENO-X scheme compared with its associated WENO-X scheme and the classic WENO-JS scheme. In
Figure 5, we drew the graphs for the CPU time versus the
-norm computing errors. From
Figure 5, we can easily see that: (1) as expected, the WENO-JS scheme has the lowest efficiency; (2) again, for all MOP-WENO-X schemes except the case of “X = M,” they perform almost identically to their associated WENO-X schemes; (3) for the MOP-WENO-M scheme, despite the fact that it has slightly less efficiency than its associated WENO-M scheme, it has significantly superior efficiency to the WENO-JS scheme.
Example 3. We calculate Equation (38) using the following initial condition [29]: with the periodic boundary condition. It is trivial to verify that this initial condition has high-order critical points. We also set the CFL number to be
.
We use the
- and
-norm of numerical errors to measure the dissipations of the schemes. It is easy to check that the exact solution is
. Moreover, we consider the increased errors (in percentage) compared to the MIP-WENO-ACM
k scheme that gives solutions with highly low dissipations. For the
- and
-norms of numerical errors of the scheme “Y,” their associated increased errors at output time
t are defined by
where
and
are the
- and
-norms of numerical errors of the MIP-WENO-ACM
k scheme.
Table 4 shows the
- and
-norm numerical errors and their increased errors by using a uniform grid cell of
at different output times of
. From
Table 4, we can observe that: (1) the WENO-JS scheme has the largest increased errors for no matter short or long output times; (2) for short output times, such as
, the solutions computed by the WENO-M scheme are closer to those of the MIP-WENO-ACM
k scheme, leading to smaller increased errors than the associated MOP-WENO-M scheme; (3) however, when the output time is larger, such as
, the solutions computed by the MOP-WENO-M scheme, whose increased errors do not get larger but evidently decreased, are closer to those of the MIP-WENO-ACM
k scheme than the associated WENO-M scheme, whose errors increases dramatically, leading to significantly larger increased errors; (4) the performance of the WENO-Z scheme is very similar to that of the WENO-M scheme; (5) although the errors of the MOP-WENO-X schemes except the MOP-WENO-M scheme are not as small as those of the associated WENO-X schemes, these errors can be maintained considerable levels leading to acceptable increases in errors that are much lower than those of the WENO-JS and WENO-M schemes.
Actually, as mentioned in Examples 1 and 2, the cause of the slight accuracy loss discussed above is that the mapping function of the MOP-WENO-X scheme has narrower optimal weight intervals than the associated WENO-X schemes, and one can easily overcome this drawback by increasing the grid number. To demonstrate this, we calculate this problem using the same schemes at the same output times with a larger grid number of
. The results are shown in
Table 5, and we can see that: (1) the errors of the MOP-WENO-X schemes get closer to those of the MIP-WENO-ACM
k scheme when the grid number increases from
to
, resulting in the significant decrease of the increased errors, and in different words, the errors of the MOP-WENO-X schemes and the MIP-WENO-ACM
k scheme are so close that one can ignore their differences; (2) although the errors of the WENO-JS, WENO-M and WENO-Z schemes get smaller when the grid number increases from
to
, their increased errors become very large; (3) naturally, the increased errors of the MOP-WENO-X schemes are far smaller than those of the WENO-JS, WENO-M and WENO-Z schemes. Actually, it is an important advantage of the MOP-WENO-X schemes that can maintain comparably high resolution for long output times. In the next subsection we have further discussion of this.
In
Figure 6 and
Figure 7, we plot the solutions computed by various schemes at output time
with the grid numbers of
and
, respectively. For
,
Figure 6 shows that: (1) the MOP-WENO-M scheme provides results with far higher resolution than the associated WENO-M scheme and the WENO-Z scheme, which give results with slightly better resolution than the worst one computed by the WENO-JS scheme; (2) the results of the MOP-WENO-MAIM1 scheme are very close to those of its associated WENO-MAIM1 scheme; (3) the results of the other MOP-WENO-X schemes show far better resolutions than the WENO-M, WENO-Z, and WENO-JS schemes, although they give results with very slightly lower resolutions than their associated WENO-X schemes because of the narrower optimal weight intervals. Actually, we can amend this minor issue by using a larger grid number. Consequently, for
, it can be seen from
Figure 7 that: (1) all the MOP-WENO-X schemes produce results very close to those of their associated mapped WENO-X schemes with extremely high resolutions except the case of X = M; (2) the MOP-WENO-M scheme also produces results with very high resolution, whereas the resolutions of the results from the WENO-M, WENO-Z, and WENO-JS schemes have far lower resolutions.
Example 4. We calculate Equation (38) using the following initial condition [8]: where
, and the constants are
, and
. The periodic boundary condition is used. Although the CFL number can be chosen from a wide range of values—for example,
usually works well—we set
here to keep the consistent with the literatures [
27,
29,
31,
32] having strong relevance to the present study and to make thorough comparisons with the results of these literature. For brevity in the presentation, we call this
linear problem SLP as it is presented by Shu et al. in [
8]. It is known that this problem consists of a Gaussian, a square wave, a sharp triangle, and a semi-ellipse.
In
Table 6 and
Table 7, we present the
errors and the corresponding convergence rates of accuracy with
and
, respectively. For the case of
, it can be seen that: (1) the
and
orders of all considered schemes are approximately
and about
to
, respectively; (2) negative values of the
orders of all considered schemes are generated; (3) in terms of accuracy, the MOP-WENO-X schemes produce less accurate results than the associated WENO-X schemes. For the case of
, it can be seen that: (1) the
,
orders of the WENO-JS, WENO-M, and WENO-Z schemes decrease to very small values and even become negative; (2) however, the
and
orders of all the MOP-WENO-X schemes, and the associated mapped WENO-X schemes without WENO-M, are clearly larger than
and around
to
, respectively; (3) the
orders of all WENO-X schemes are very small, and some of them are even negative (e.g., the WENO-JS, WENO-PPM5 and MIP-WENO-ACM
k schemes), and those of the MOP-WENO-X schemes are all positive, although they are also very small; (4) in terms of accuracy, on the whole, the MOP-WENO-X schemes produce accurate and comparable results to the associated WENO-X schemes, except the WENO-M scheme. However, if we take a closer look, we can find that the resolution of the results computed by the WENO-M scheme is significantly lower than that of the MOP-WENO-M scheme, and the other mapped WENO-X schemes generate spurious oscillations, but the associated MOP-WENO-X schemes do not. Detailed tests are conducted and the solutions are presented carefully to demonstrate this in the following subsection.
4.2. 1D Linear Advection Problems with Long Output Times
The objective of this subsection is to demonstrate the advantage of the MOP-WENO-X schemes on long-output-time simulations that can obtain high resolution and meanwhile do not generate spurious oscillations.
The one-dimensional linear advection problem Equation (
38) is solved with the periodic boundary condition by taking the following two initial conditions.
Case 1. (SLP) The initial condition is given by Equation (
42).
Case 2. (BiCWP) The initial condition is given by
Case 1 and Case 2 were carefully simulated in [
9]. Case 1 is called SLP as mentioned earlier in this paper. Case 2 consists of several constant states separated by sharp discontinuities at
and it was called BiCWP for brevity in the presentation as the profile of the exact solution for this
Problem looks like the
Breach in City Wall.
In
Figure 8,
Figure 9,
Figure 10 and
Figure 11, we show the comparison of considered schemes for SLP and BiCWP, respectively, by taking
and
. It can be seen that: (1) all the MOP-WENO-X schemes produce results with considerable resolutions which are significantly higher than those of the WENO-JS, WENO-M and WENO-Z schemes, and what is more, they all do not generate spurious oscillations, while most of their associated WENO-X schemes do, when solving both SLP and BiCWP; (2) it should be reminded that the WENO-IM(2, 0.1) scheme appears not to generate spurious oscillations and it gives better resolution than the MOP-WENO-IM(2, 0.1) scheme in most of the region when solving SLP on present computing condition, however, from
Figure 8b, one can observe that the MOP-WENO-IM(2, 0.1) scheme gives a better resolution of the Gaussian than the WENO-IM(2, 0.1) scheme, and if taking a closer look, one can see that the WENO-IM(2, 0.1) scheme generates a very slight spurious oscillation near
as shown in
Figure 8c; (3) it is very evident as shown in
Figure 10 that, when solving BiCWP, the WENO-IM(2, 0.1) scheme generates the spurious oscillations.
In
Figure 12,
Figure 13,
Figure 14 and
Figure 15, we show the comparison of considered schemes for SLP and BiCWP respectively, by taking
and
. From these solutions computed with larger grid numbers and a reduced but still long output time, it can be seen that: (1) firstly, the WENO-IM(2, 0.1) scheme generates spurious oscillations but the MOP-WENO-IM(2, 0.1) scheme does not while provides an improved resolution when solving SLP; (2) although the resolutions of the results computed by the WENO-JS, WENO-M and WENO-Z schemes are significantly improved for both SLP and BiCWP, the MOP-WENO-X schemes still evidently provide much better resolutions; (3) the spurious oscillations generated by the WENO-X schemes appear to be more evident and more intense as the grid number increases, while the associated MOP-WENO-X schemes can still avoid spurious oscillations but obtain higher resolutions, when solving both SLP and BiCWP.
For the further interpretation, without loss of generality, in
Figure 16, we present the
non-OP points of the numerical solutions of SLP computed by the WENO-M and MOP-WENO-M schemes with
, and the
non-OP points of the numerical solutions of BiCWP computed by the WENO-PM6 and MOP-WENO-PM6 schemes with
. We can find that there are a great many
non-OP points in the solutions of the WENO-M and WENO-PM6 schemes while the numbers of the
non-OP points in the solutions of the MOP-WENO-M and MOP-WENO-PM6 schemes are zero. Actually, there are many
non-OP points for all considered mapped WENO-X schemes. Furthermore, as expected, there are no
non-OP points for the associated MOP-WENO-X schemes and the WENO-JS scheme for all computing cases here. We do not show the results of the
non-OP points for all computing cases here just for the simplicity of illustration.
In summary, the solutions in this subsection could be regarded as numerical verifications of properties of Theorem 2. In other words, it could be indicated that the general method to introduce the OP mapping can help to gain the advantage of achieving high resolutions and in the meantime preventing spurious oscillations when solving problems with discontinuities for long output times. Additionally, this is the most important point we want to report in this paper.
4.4. Euler System in Two Dimension
In this subsection, we focus on the numerical simulations of the shock-vortex interaction problem [
41,
42] and the 2D Riemann problem [
43,
44,
45]. They are governed by the two-dimensional Euler system of gas dynamics, taking the following strong conservation form of mass, momentum and energy
where
, and
E are the density components of velocity in the
x and
y coordinate directions, pressure, and total energy, respectively. The following equation of state for an ideal polytropic gas is used to close the two-dimensional Euler system Equation (
45)
where
is the ratio of specific heat, and we set
in this paper. In the computations below, the CFL number is taken to be
. All the considered WENO schemes are applied dimension-by-dimension to solve the two-dimensional Euler system and the local characteristic decomposition [
8] is used. In [
46], Zhang et al. investigated two commonly used classes of finite volume WENO schemes in two-dimensional Cartesian meshes, and we employ the one denoted as class A in this subsection.
Example 6. (Shock-vortex interaction)We consider the shock-vortex interaction problem used in [41,42]. It consists of the interaction of a left moving shock wave with a right moving vortex. The computational domain is initialized by where
, and
taking the form
The vortex
, defined by the following perturbations, is superimposed onto the left state
,
where
,
. The transmissive boundary condition is used on all boundaries. A uniform mesh size of
is used and the output time is set to be
.
We calculate this problem using all the considered mapped WENO-X schemes in
Table 1 and their associated MOP-WENO-X schemes. For the sake of brevity though, we only present the solutions of the WENO-M, WENO-IM(2, 0.1), WENO-PPM5, WENO-MAIM1 schemes and their associated MOP-WENO-X schemes in
Figure 20 and
Figure 21, where the first rows give the final structures of the shock and vortex in density profile of the existing mapped WENO-X schemes, the second rows give those of the associated MOP-WENO-X schemes, and the third rows give the cross-sectional slices of density plot along the plane
where
. We find that all the considered schemes perform well in capturing the main structure of the shock and vortex after the interaction. It can be seen that there are clear post-shock oscillations in the solutions of the WENO-M, WENO-IM(2, 0.1), and WENO-PPM5 schemes. However, in the solutions of the MOP-WENO-M, MOP-WENO-IM(2, 0.1), and MOP-WENO-PPM5 schemes, the post-shock oscillations are either gone or significantly reduced. The post-shock oscillations of the WENO-MAIM1 scheme are very slight and even hard to be noticed. Actually, it seems difficult to distinguish the solutions of the WENO-MAIM1 scheme from that of the MOP-WENO-MAIM1 scheme only according to the structure of the shock and vortex in the density profile. Nevertheless, when taking a closer look from the cross-sectional slices of the density profile along the plane
at the bottom right picture of
Figure 21 where the reference solution is obtained using the WENO-JS scheme with a uniform mesh size of
, we can see that the post-shock oscillation of the WENO-MAIM1 scheme is very remarkable while it is imperceptible for the MOP-WENO-MAIM1 scheme. Additionally, from the third rows of
Figure 20 and
Figure 21, we find that the WENO-IM(2, 0.1) and WENO-PPM5 schemes generate the post-shock oscillations with much bigger amplitudes than that of the WENO-MAIM1 scheme. The WENO-M scheme also generates clear post-shock oscillations with the amplitudes slightly smaller than that of the WENO-IM(2, 0.1) and WENO-PPM5 schemes. Evidently, the solutions of the MOP-WENO-M, MOP-WENO-IM(2, 0.1) and MOP-WENO-PPM5 schemes almost generate no post-shock oscillations or only generate some imperceptible numerical oscillations and their solutions are very close to the reference solution, and this should be an advantage of the mapped WENO schemes whose mapping functions are
OP.
Example 7. (2D Riemann problem)It is very favorable to test the high-resolution numerical methods [30,45,47] using the series of 2D Riemann problems [43,44]. In [45], Lax et al. classified a total of 19 genuinely different Configurations for 2D Riemann problem and calculated all the numerical solutions. Configuration 4 is chosen here for the test, and the computational domain is initialized by The transmission boundary condition is used on all boundaries, and the numerical solutions are calculated on a uniform mesh size of
. The computations proceed to
.
Similarly, although we calculate this problem using all the considered mapped WENO-X schemes in
Table 1 and their associated MOP-WENO-X schemes, we only present the solutions of the WENO-M, WENO-PM6, WENO-RM260 and MIP-WENO-ACM
k schemes and their associated MOP-WENO-X schemes here for the sake of brevity. We have shown the numerical results of density obtained by using these schemes in
Figure 22 and
Figure 23, where the first rows give the structures of the 2D Riemann problem in density profile of the existing mapped WENO-X schemes, the second rows give those of the associated MOP-WENO-X schemes, and the third rows give the cross-sectional slices of density plot along the plane
where
. We can see that all schemes can capture the main structure of the solution. However, we can also observe that there are obvious post-shock oscillations (as marked by the pink boxes), which are unfavorable for the fidelity of the results, in the solutions of the WENO-M, WENO-PM6, WENO-RM(260) and MIP-WENO-ACM
k schemes. These post-shock oscillations can be seen more clearly from the cross-sectional slices of density profile as presented in the third rows of
Figure 22 and
Figure 23, where the reference solution is obtained by using the WENO-JS scheme with a uniform mesh size of
. Noticeably, there are either almost no or imperceptible post-shock oscillations in the solutions of the MOP-WENO-M, MOP-WENO-PM6, MOP-WENO-RM(RM260) and MOP-WENO-ACM
k schemes. Again, we believe that this should be an advantage of the mapped WENO schemes whose mapping functions are
OP.