Abstract
This article discusses the effectiveness of the theoretical detection of troubled cells using multiwavelet approaches for the discontinuous Galerkin method and compares them with a statistical approach that uses boxplots. This is an important study in order to understand in which regime these tools are valid. Troubled cells are regions in the domain where a shock or discontinuity has developed, leading to spurious oscillations in the numerical approximation. One option for improving the numerical treatment near these artifacts is through the application of a limiter. The elements where such treatment is necessary are referred to as troubled cells. In this article, a new multiwavelet troubled-cell indicator is formed using the cancelation property (Dahmen, J Comput Appl Math 128:133–185, 2001) and the derived thresholding technique (Gerhard et al., J Sci Comput 62:25–52, 2015). We show that the new detector based on the cancelation property is very accurate in asymptotic regimes (very fine meshes). For coarser meshes, it might be better to use a different indicator, such as the ones that were designed by Vuik and Ryan (J Comput Phys 270:138–160, 2014; SIAM J Sci Comput 38:A84–A104, 2016).
You have full access to this open access chapter, Download conference paper PDF
Similar content being viewed by others
1 Introduction
Solutions to nonlinear hyperbolic PDEs develop discontinuities in time. The generation of spurious oscillations in such regions can be prevented by applying a limiter in the troubled zones. In [17, 19], two different multiwavelet troubled-cell indicators were introduced, one based on a parameter, the other using outlier detection. We present this comparison in order to begin to understand in which regime these tools are effective. In this paper, we investigate the effectiveness of a different detection scheme, based on the theoretical detection of troubled cells using multiwavelet approaches. It uses the cancelation property [6] and the theory about thresholding [8]. This technique was originally used for a multiwavelet-based adaptive strategy in combination with the DG method. However, we are specifically interested in its application for troubled-cell indication. In the troubled cells, the moment limiter is applied [12]. We demonstrate the performance of this new indicator and show that it works very well when very fine meshes are used (the asymptotic regime). For coarser meshes, it seems that the existing multiwavelet troubled-cell indicators perform better.
The outline of this paper is as follows: in Sect. 2, some background information about the multiwavelet theory is given. The existing multiwavelet troubled-cell indicators, as well as the cancelation property and the derived thresholding technique are described in Sect. 3. Numerical results are shown in Sect. 4, and some concluding remarks are given in Sect. 5.
2 Multiwavelets and DG
In this section, we consider the multiwavelet theory that is used to design the different troubled-cell indicators. For the sake of brevity, we neglect discussion of the DG scheme [4, 5], that is used in the computations.
The relation between the DG scheme and multiwavelets was shown in [17]. Any global one-dimensional DG approximation of degree k can be written as
where \(\phi _{\ell j}^n\) are the scaling functions related to the orthonormal Legendre polynomials. The corresponding multiwavelet decomposition is
where \(s_{\ell 0}^0\) are the scaling-function coefficients belonging to u h, and \(d_{\ell j}^m\) are the corresponding multiwavelet coefficients, [2, 17]. The multiwavelets ψ ℓ have been developed by Alpert [1].
3 Utilizing Multiwavelet Coefficients for Troubled-Cell Indication
In this section, we show different troubled-cell indicators that utilize multiwavelet coefficients. Note that, as the detectors are solely based on the underlying approximation space, the ideas do not need to be modified in order to be applied to other types of model problems than those included in this paper. First, the existing indicators that use either a parameter or the boxplot method are presented. Next, the cancelation property and thresholding technique are used to design a different indication technique.
3.1 Boxplots for Outlier Detection
In [17, 18], we have shown that the coefficients \(d_{kj}^{n-1}\) are very useful for troubled-cell indication. With this knowledge, we have designed two different troubled-cell indicators. The first indicator is the so-called parameter-based multiwavelet troubled-cell indicator [17]. Here, we detect an element as troubled when
The value of C is a useful tool to prescribe the strictness of the limiter.
Another option is to use outlier detection on the multiwavelet coefficients \(d_{kj}^{n-1}\) to detect the troubled cells [19]. Here, Tukey’s boxplot method [15] is applied locally to prevent the need for a problem-dependent parameter. The different steps are presented in Algorithm 1.
Algorithm 1 Outlier-detection algorithm using local vectors
![](http://media.springernature.com/lw554/springer-static/image/chp%3A10.1007%2F978-3-030-39647-3_43/MediaObjects/462694_1_En_43_Figa_HTML.png)
Outliers are the coefficients in the vector that are straying far out beyond the others. In order to pick out certain coefficients as outliers, the outer fences are constructed, which were originally defined by Tukey [15]. The outer fences of a vector are [Q 1 − 3(Q 3 − Q 1), Q 3 + 3(Q 3 − Q 1)] (coefficients outside are called extreme outliers). The coverage for this whisker length is 99.9998%, such that only 0.0002% of the data in a normally distributed vector is detected as an extreme outlier (asymptotically) [9].
In our computations, we always use local vectors of length 16.
3.2 Cancelation Property
In this section, the cancelation property is stated and proved for the one-dimensional case [6]. Here, we assume that the multiwavelets have M + 1 vanishing moments. In our case, we have M = ℓ + k [1, 16]. If the solution satisfies the continuity requirement \(u|{ }_{I_j^m} \in C^{M+1}(I_j^m)\) (where \(I_j^m\) is the j-th element in level m), then
m = 0, …, n, j = 0, …, 2m − 1, ℓ = 0, …, k.
The proof uses a Taylor expansion of u about element center \(x_j^m\): there exists a ξ between x and \(x_j^m\) such that
Using that the first M + 1 moments of the multiwavelets vanish, we find
Next, we use Cauchy-Schwarz’s inequality to find
because the multiwavelets are orthonormal. Using the notation Δx m for the element size in level m, we have
For the domain [−1, 1], we have Δx m = 2−m+1. This means that
which proves the cancelation property. It should be noticed that this result can be generalized to general grid hierarchies and higher-dimensional problems [6, 10].
The next section contains a discussion of the thresholding technique for one-dimensional multiwavelet expansions.
3.3 Thresholding of the Multiwavelet Coefficients
In this section, the thresholding technique for systems of conservation laws in one dimension is explained, which is based on the cancelation property [8]. This technique is originally used for a multiwavelet-based adaptive strategy in combination with the DG method. However, we are specifically interested in its application for troubled-cell indication.
Following [8], the element \(I_j^{n-1}\) is detected as troubled if
Here, the value r is related to the conserved quantity in a system of three PDEs. The factor \(\sqrt {2\varDelta x}\) (with Δx the DG mesh width) occurs because of a scaling difference: the multiwavelets in [8] are scaled with respect to the L ∞-norm, whereas an L 2-norm scaling is used in this paper. The level-dependent threshold value ε n−1 is chosen as ε n−1 = ε∕2. The parameter ε can be chosen using two different strategies [8]. The first option is to use the a priori strategy, which is based on the balance between discretization errors and perturbation errors of adaptive meshes [10]. If the solution contains discontinuities, then the a priori strategy leads to ε = CΔx 2. The second option is the heuristic approach, which is based on numerous computations for practical applications [8]. This method is more efficient since it is less pessimistic than the a priori strategy. For discontinuous solutions, the heuristic approach uses ε = CΔx.
This yields detection of element \(I_j^{n-1}\) if
where β = 2 for the a priori strategy and β = 1 for the heuristic strategy. Note that the multiwavelet coefficients are scaled by the cell average if this value is greater than 1 in absolute value (to prevent division by zero).
The optimal choice of the parameter C depends on the problem, in particular on the strength of the shock compared to the normal amplitude of the solution. The smaller C is, the more elements are detected. In general, the value C = 1∕(b − a) should work for the domain [a, b] [8]. If C is chosen too small, then too many cells are detected as troubled. For the adaptive strategy, this is not really problematic since the approximation is usually more accurate on a finer grid. However, for troubled-cell indication, it is important to detect the correct number of elements.
It should be noticed that this indicator is designed for very fine resolutions (since the strategies use asymptotic arguments). For coarse meshes, smaller values of C should be used, which are difficult to predict a priori.
3.4 Generalized Grids
The algorithm for utilizing Alpert’s multiwavelets for a nonuniform grid is given in [7]: the only difference with Alpert’s algorithm [1] is that no additional vanishing moments are added. Multiwavelets for one-dimensional irregular meshes have been designed in [13, 14]. It should be noticed that this construction is local, which means that the resulting bases are depending on the level and the position unless there is an affine mapping from the element to a reference element. This leads to slower computations. On the other hand, the use of such multiwavelet space makes it possible to decompose the DG approximation to a multiwavelet expansion exactly. The multiwavelet coefficients will again become small if the underlying function is smooth, and the mesh width between two neighboring elements is not varying too much.
When coupled with a troubled-cell indication variable, it will be necessary to include spatial information of the mesh in the algorithm using the element size. Alternatively, one can use of a window-based technique [3]. A window is a fixed length subsequence of the test sequence, which can be slid through the domain using a sliding step. These issues and resulting numerics are discussed further in [16].
4 Numerical Results
In this section, the different multiwavelet troubled-cell indicators are applied to one-dimensional problems based on the Euler equations of gas dynamics.
The results for the original multiwavelet troubled-cell indicators (both based on a parameter, and based on outlier detection), can be seen in Figs. 1 and 2 (polynomial degree 2, 128 elements for Sod’s and Lax’s shock tube, and 512 elements for the blast-wave and Shu-Osher problem). The parameter-based technique performs well if a suitable value for the problem-dependent parameter C is chosen. The outlier-detection results are generally better than the original troubled-cell indicator using an optimized parameter: both the weak and the strong shock regions were detected, whereas smooth regions were not selected.
Time-history plot of detected troubled cells using the parameter-based multiwavelet troubled-cell indicator, polynomial degree 2. (a) Sod’s shock tube, C = 0.1, 128 elements. (b) Lax’s shock tube, C = 0.1, 128 elements. (c) Blast-wave problem, C = 0.05, 512 elements. (d) Shu-Osher, C = 0.01, 512 elements
It is also possible to use the thresholding technique for multiwavelet coefficients to detect troubled cells. It turns out that this indicator works very well as long as an appropriate value for C is chosen, and the mesh is taken fine enough. The results for the different test cases are visualized in Fig. 3 using the heuristic strategy (polynomial degree 2, 1024 elements for all models). Here, we take the value C = 1∕(b − a) where [a, b] is the domain on which the test problem is defined. Note that this thresholding technique is very accurate. However, many elements should be used to meet the asymptotic properties of the indicator.
If the number of elements is taken smaller, then C should decrease to detect the correct features. In that case, it is difficult to guess the correct value of C. Another option is to use the a priori strategy for coarser meshes, see Fig. 4 (polynomial degree 2, 128 elements for Sod’s and Lax’s shock tube, and 512 elements for the blast-wave and Shu-Osher problem). If C = 1∕(b − a) is used, then this approach works well for Sod’s and Lax’s shock tube, but too many elements are detected for the blast-wave and the Shu-Osher problem. Also here, the value of C should be adapted to find the correct results.
Thresholding technique with a priori approach on coarser meshes: time-history plot of detected troubled cells, polynomial degree 2, C = 1∕(b − a), with [a, b] the computational domain. (a) Sod’s shock tube, 128 elements. (b) Lax’s shock tube, 128 elements. (c) Blast-wave problem, 512 elements. (d) Shu-Osher problem, 512 elements
5 Conclusions and Recommendations
In this paper, a new troubled-cell indicator was formed, based on the cancelation property for multiwavelets and the derived thresholding technique. Inspection of this technique reveals that it is very useful to design adaptive meshes [8]. For troubled-cell indication, we found out that detection is very accurate as long as a very fine mesh is used. For coarser meshes, it seems to be more useful to apply a different detection method. Furthermore, it is not straightforward how to choose the parameter C.
More research should be done to see in which way the cancelation property for multiwavelet coefficients can be used for the accurate detection of troubled cells. For example, it could be that this property also relates to the severity of the shocks.
References
Alpert, B.K.: A class of bases in L 2 for the sparse representation of integral operators. SIAM J. Math. Anal. 24, 246–262 (1993)
Archibald, R.K., Fann, G.I., Shelton, W.A.: Adaptive discontinuous Galerkin methods in multiwavelets bases. Appl. Numer. Math. 61, 879–890 (2011)
Chandola, V.: Anomaly detection for symbolic sequences and time series data. PhD Thesis, University of Minnesota, Minneapolis (2009)
Cockburn, B., Shu, C.-W.: TVB Runge-Kutta local projection discontinuous Galerkin finite element method for conservation laws II: general framework. Math. Comput. 52, 411–435 (1989)
Cockburn, B., Lin, S.-Y., Shu, C.-W.: TVB Runge-Kutta local projection discontinuous Galerkin finite element method for conservation laws III: one-dimensional systems. J. Comput. Phys. 84, 90–113 (1989)
Dahmen, W.: Wavelet methods for PDEs—some recent developments. J. Comput. Appl. Math. 128, 133–185 (2001)
Gerhard, N., Müller, S.: Adaptive multiresolution discontinuous Galerkin schemes for conservation laws: multi-dimensional case. Comput. Appl. Math. 35, 321–349 (2016)
Gerhard, N., Iacono, F., May, G., Müller, S., Schäfer, R.: A high-order discontinuous Galerkin discretization with multiwavelet-based grid adaptation for compressible flows. J. Sci. Comput. 62, 25–52 (2015)
Hoaglin, D.C., Iglewicz, B., Tukey, J.W.: Performance of some resistant rules for outlier labeling. J. Am. Statist. Assoc. 81, 991—999 (1986)
Hovhannisyan, N., Müller, S., Schäfer, R.: Adaptive multiresolution discontinuous Galerkin schemes for conservation laws. Math. Comput. 83, 113–151 (2014)
Iacono, F., May, G., Müller, S., Schäfer, R.: A high-order discontinuous Galerkin discretization with multiwavelet-based grid adaptation for compressible flows. Technical Report AICES-2011/08-02 (2011)
Krivodonova, L.: Limiters for high-order discontinuous Galerkin methods. J. Comput. Phys. 226, 879–896 (2007)
Nagel, D.: Effiziente Konstruktion von Multiwavelets auf nicht uniformen dyadischen Gitterhierarchien. MasterÕs thesis from RWTH Aachen University (2015)
Pistre, S.: Konstruktion von Multiwavelets auf nicht-uniformen eindimensionalen Gitterhierarchien. BachelorÕs thesis from RWTH Aachen University (2013)
Tukey, J.W.: Exploratory Data Analysis. Addison-Wesley, Boston (1977)
Vuik, M.J.: The use of multiwavelets and outlier detection for troubled-cell indication in discontinuous Galerkin methods. PhD Thesis from Delft University of Technology (2017)
Vuik, M.J., Ryan, J.K.: Multiwavelet troubled-cell indicator for discontinuity detection of discontinuous Galerkin schemes. J. Comput. Phys. 270, 138–160 (2014)
Vuik, M.J., Ryan, J.K.: Multiwavelets and Jumps in DG Approximations. In: Kirby, R.M., Berzins, M., Hesthaven, J.S. (eds.) Spectral and High Order Methods for Partial Differential Equations—ICOSAHOM 2014, pp. 503–511. Springer, Berlin (2015)
Vuik, M.J., Ryan, J.K.: Automated parameters for troubled-cell indicators using outlier detection. SIAM J. Sci. Comput. 38, A84–A104 (2016)
Acknowledgements
The author gratefully wishes to acknowledge the collaboration with Jennifer Ryan and the useful comments provided by Siegfried Müller that helped to shape this work.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
Copyright information
© 2020 The Author(s)
About this paper
Cite this paper
Vuik, M.J. (2020). Multiwavelet Troubled-Cell Indication: A Comparison of Utilizing Theory Versus Outlier Detection. In: Sherwin, S.J., Moxey, D., Peiró, J., Vincent, P.E., Schwab, C. (eds) Spectral and High Order Methods for Partial Differential Equations ICOSAHOM 2018. Lecture Notes in Computational Science and Engineering, vol 134. Springer, Cham. https://doi.org/10.1007/978-3-030-39647-3_43
Download citation
DOI: https://doi.org/10.1007/978-3-030-39647-3_43
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-39646-6
Online ISBN: 978-3-030-39647-3
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)