Elsevier

Journal of Computational Physics

Volume 262, 1 April 2014, Pages 291-312
Journal of Computational Physics

A re-averaged WENO reconstruction and a third order CWENO scheme for hyperbolic conservation laws

https://doi.org/10.1016/j.jcp.2013.12.056Get rights and content

Abstract

A WENO re-averaging (or re-mapping) technique is developed that converts function averages on one grid to another grid to high order. Nonlinear weighting gives the essentially non-oscillatory property to the re-averaged function values. The new reconstruction grid is used to obtain a standard high order WENO reconstruction of the function averages at a select point. By choosing the reconstruction grid to include the point of interest, a high order function value can be reconstructed using only positive linear weights. The re-averaging technique is applied to define two variants of a classic CWENO3 scheme that combines two linear polynomials to obtain formal third order accuracy. Such a scheme cannot otherwise be defined, due to the nonexistence of linear weights for third order reconstruction at the center of a grid element. The new scheme uses a compact stencil of three solution averages, and only positive linear weights are used. The scheme extends easily to problems in higher space dimensions, essentially as a tensor product of the one-dimensional scheme. The scheme maintains formal third order accuracy in higher dimensions. Numerical results show that this CWENO3 scheme is third order accurate for smooth problems and gives good results for non-smooth problems, including those with shocks.

Introduction

Since their introduction in the late 1980s, essentially non-oscillatory (ENO) and weighted essentially non-oscillatory (WENO) schemes [1], [2], [3], [4], [5], [6] have become two of the standard methods for approximating the solution to hyperbolic equations. They have been shown to be quite successful in a variety of applications. ENO and WENO schemes approximate the solution by a constant on each grid element, and advance in time explicitly by using a higher order polynomial reconstruction of the current solution. The ENO scheme computes several high order reconstructions, each on a different stencil, but uses only the stencil on which the solution is the smoothest (presumably the stencil does not cross a shock). The WENO schemes exploit the fact that often a convex linear combination of all the reconstructions can achieve even higher order accuracy than ENO at a specific point when the solution is smooth. A nonlinear weighting of the polynomial reconstructions, based on the solution smoothness, is actually used to avoid stencils that cross shocks in the solution.

Because reconstruction stencils need to avoid shocks, ENO and WENO are essentially upwind methods, and some form of flux-splitting is necessary when the system of equations is subject to flow in both directions. The central methods avoid flux splitting, and central WENO (CWENO) schemes were developed later in the 1990s [4], [6]. These methods use staggered grids, offset by one-half grid element, and so require higher order WENO reconstructions at the midpoint of a grid element.

Formally fifth and even ninth order CWENO (CWENO5 and CWENO9) schemes have appeared that use the classic WENO methodology to define high order reconstructions from low order ones [4], [6]. However, there is no classic CWENO3 scheme in the literature, due to the need for high order reconstruction at the center of the grid element. The linear weights required do not exist in the third (and seventh) order case. Indeed, quoting from Qiu and Shu [6, p. 194], “We remark that it is easy to verify that, when r is an even number (r=2,4,), there are no linear weights that satisfy [the appropriate] condition…. Hence there are no third-, seventh-, eleventh-, etc., order central WENO reconstructions for the point values with these choices of stencils.” A classic CWENO3 scheme would combine two linear approximations, each requiring the solution on two grid elements, for an overall stencil of three grid elements. However, the two linear polynomials agree at the center point, and so no convex combination can be higher than second order in a classic WENO reconstruction.

Third order CWENO schemes have been proposed in the literature by Levy, Puppo, and Russo [7], [8]. We will call these schemes “augmented,” because they use a convex combination of the two linear approximations augmented directly by a higher order polynomial (a quadratic) in the case of one space dimension. Thus there is no weighting of low order polynomials to achieve higher order accuracy, as in classic WENO. Rather, high order accuracy comes directly from the quadratic reconstruction. One might view these methods as some kind of adaptive ENO schemes, because they choose the linear weights somewhat arbitrarily and use the WENO smoothness indicator to bias the stencil combination from the quadratic in smooth regions to one of the linears in non-smooth regions. To put it another way, classic WENO methodology uses lower order stencils, and weights them to increase accuracy in regions where the solution is smooth, as opposed to the augmented CWENO3 schemes, which include the higher-order stencil with the low order stencils and weights them to reduce accuracy near discontinuities. Clearly both approaches have a great deal of merit.

In this paper, we present a classic CWENO3 scheme that indeed combines only two linear polynomials. It also uses a compact stencil of three grid element values in the reconstruction. The key to this work is to develop a technique that allows us to reconstruct average solution values on a grid different from the original. In the case of CWENO3, two natural reconstruction grids are defined, one given by shifting the computational grid by one-half grid element and resizing by a factor of one-quarter locally, and the other is nonuniform and described later. Re-averaging (or re-mapping) the solution from the original computational grid to the new reconstruction grid is then accomplished using high order integration, as described in a recent paper [9] (see also [10], [11]). Once this re-averaging to the new grid is complete, we need a third order reconstruction of the solution at the endpoints of a reconstruction grid element, rather than at the center of a computational grid element. The linear weights always exist for the endpoints of a grid element, and so we can proceed to define a classic CWENO scheme that is formally third order accurate. A formally seventh order, and in fact any odd order, scheme could be devised with the same technique, although we do not present the details here (see, e.g., [12], [13] for very high order schemes).

When linear weights exist in a classic WENO reconstruction, they may still be problematic if some of them are negative [11]. Fortunately, Shi, Hu, and Shu provided a technique to handle this case [14]. Our new re-averaging technique provides an alternate way to deal with negative weights, by avoiding them altogether. One can re-average to a shifted and perhaps locally rescaled reconstruction grid that includes the targeted point as an endpoint, since the linear weights for the endpoint case are known to be positive.

Standard WENO reconstructions cannot be used for arbitrary points, since we may not have the required linear weights. However, in some cases one may wish to obtain formally high order approximate values at arbitrary points, say in a postprocessing step. Our re-averaging technique can be used to overcome this limitation. This is done in [15], wherein an Eulerian–Lagrangian (or semi-Lagrangian) scheme is devised that requires high-order reconstructions at arbitrary points.

We also present in this paper an extension of the scheme to problems in more than one space dimension. It turns out to be relatively straightforward to do so, in the sense that much of the computation remains the same as in the one dimensional case; that is, the scheme is developed in an essentially tensor product form, iterating the one space dimensional scheme. We therefore only present the case of two space dimensions. Since it is built on one-dimensional computations, the scheme is relatively straightforward to implement, and it is computationally efficient, as opposed to the multi-dimensional approach of Levy, Puppo, and Russo [7], [8]. We also prove that the scheme is indeed formally third order accurate.

The re-averaging WENO reconstruction technique is presented in the next section. Section 3 presents the new CWENO3 scheme for a scalar conservation equation in one space dimension. The scheme is extended to problems posed in two space dimensions in Section 4. Numerical results in one space dimension are presented in Section 5, and the technique is applied to the Euler system in Section 6. Numerical results in two space dimensions are presented in Section 7, and the paper ends with conclusions in the final section.

Section snippets

The re-averaging technique

Let us fix the notation for the computational grid by choosing the spacing h>0 and setting the grid points to be xi1/2=(i1)h and the central points to be xi=(i1/2)h. The ith grid element is then [(i1)h,ih]=[xi1/2,xi+1/2], and its center is xi. The function u(x) is approximated on the grid by its element averagesu¯i1hxi1/2xi+1/2u(x)dx.

Our re-averaging WENO reconstruction technique is a two stage process. In the first stage, we define the reconstruction grid and re-average the

CWENO3 for a scalar conservation law in one space dimension

Given f(u;x,t), consider the initial value problem for a hyperbolic conservation lawut+f(u)x=0,xR,t>0,u(x,0)=u0(x),xR. A description of the details of a Central WENO scheme can be found in [4], [6]. We present herein a summary of the entire scheme for completeness, although the only new feature is the way we handle the WENO reconstruction at the center of the grid element by using our re-averaging procedure.

Let t0=0<t1<t2< define the time levels. In a CWENO scheme, the grid shifts

CWENO3 for a scalar conservation law in higher space dimensions

We consider now extension to problems with more than one space dimension. Extension to three and even higher dimensions is straightforward from the case of two space dimensions, so we present only this case, which isut+f(u)x+g(u)y=0,(x,y)R2,t>0,u(x,y,0)=u0(x,y),(x,y)R2, for the given f(u;x,y,t) and g(u;x,y,t).

The computational grid is a tensor product of uniform grids. The spacing in x is denoted hx>0 and the spacing in y is hy>0, and we tacitly assume that the ratio hx/hy is bounded

Numerical results for problems in one space dimension

In most works, the nonlinear weights (15) use the parameter ϵ=1E6 [3]. However, in [8], it was found that augmented CWENO3 works better when using larger values of ϵ (say, ϵ=1E4 or ϵ=1E2). The larger the value of ϵ, the more the nonlinear weights resemble the linear ones. Herein we sometimes vary ϵ from its usual value. In the second example, we will also experiment with changing the strength of the measure of smoothness.

All our test results use periodic boundary conditions.

Application to the Euler system

For a polytropic gas, the energy is E=p/(γ1)+ρu2/2, where p, ρ, and u are the particle pressure, density, and velocity, and γ is the adiabatic index (γ=(f+2)/f=1.4, where f=5 is the number of degrees of freedom of each gas particle). The one-dimensional dynamics is described by the Euler equations(ρρuE)t+(ρuρu2+pu(E+p))x=0.

To respect the characteristic structure of the system, it is usual to reconstruct the needed information using the linearized system. We expand (56) into a system of the

Numerical results for problems in two space dimensions

We now discuss some numerical examples in two space dimensions.

Conclusions

We have presented a WENO re-averaging (or re-mapping) technique that converts function averages to a new grid and to high order. Nonlinear weighting ensures that we maintain the essentially non-oscillatory property of the re-averaged function values. We call the new grid the reconstruction grid, since we use it to obtain other, standard high order WENO reconstructions of the function averages, such as high order point values. By choosing the reconstruction grid to include a point of interest,

Acknowledgement

We thank Professor Feng Xiao of the Department of Energy Science, Tokyo Institute of Technology, for providing his MUSCL scheme code, which we used to obtain the reference solution for Woodward and Colellaʼs double blast test.

References (16)

There are more references available in the full text version of this article.

Cited by (9)

  • Stencil selection algorithms for WENO schemes on unstructured meshes

    2023, Journal of Computational Physics
    Citation Excerpt :

    Due to the inherent increased computational cost of the WENO schemes for unstructured meshes, a recent focus has been to reduce their computational cost by employing optimised numerical libraries [22], or using a compact implementation of them called Compact WENO (CWENO) schemes [8–10] in order to reduce the size of the directional stencils. CWENO schemes are widely used for various problems [23–34], since they are considerably more compact, and efficient due to the simpler stencil selection algorithms. For instance the CWENO of Dumbser et al. [8] on unstructured meshes, employs a large central stencil suitable for the desired high-order of the accuracy, and several directional stencils of lower-order of accuracy.

  • Stencil selection algorithms for WENO schemes on unstructured meshes

    2019, Journal of Computational Physics: X
    Citation Excerpt :

    Due to the inherent increased computational cost of the WENO schemes for unstructured meshes, a recent focus has been to reduce their computational cost by employing optimised numerical libraries [22], or using a compact implementation of them called Compact WENO (CWENO) schemes [8–10] in order to reduce the size of the directional stencils. CWENO schemes are widely used for various problems [23–34], since they are considerably more compact, and efficient due to the simpler stencil selection algorithms. For instance the CWENO of Dumbser et al. [8] on unstructured meshes, employs a large central stencil suitable for the desired high-order of the accuracy, and several directional stencils of lower-order of accuracy.

  • Fourth-order accurate finite-volume CWENO scheme for astrophysical MHD problems

    2019, Monthly Notices of the Royal Astronomical Society
View all citing articles on Scopus
1

Supported in part under Taiwan National Science Council grant NSC 99-2115-M-110-006-MY3.

2

Supported as part of the Center for Frontiers of Subsurface Energy Security, an Energy Frontier Research Center funded by the US Department of Energy, Office of Science, Office of Basic Energy Sciences under Award Number DE-SC0001114.

3

Supported in part under Taiwan National Science Council grant NSC 101-2115-M-013-001.

View full text