A New Trouble-Cell Indicator for Discontinuous Galerkin Methods for. Hyperbolic Conservation Laws ABSTRACT

Similar documents
Runge-Kutta discontinuous Galerkin method using a new type of WENO limiters on unstructured mesh 1

Runge Kutta discontinuous Galerkin method using WENO limiters II: unstructured meshes

Lecture 1: Finite Volume WENO Schemes Chi-Wang Shu

On the order of accuracy and numerical performance of two classes of finite volume WENO schemes

Third Order WENO Scheme on Three Dimensional Tetrahedral Meshes

Numerical study on the convergence to steady state solutions of a new class of finite volume WENO schemes: triangular meshes

A new type of multi-resolution WENO schemes with increasingly higher order of accuracy

NON-OSCILLATORY HIERARCHICAL RECONSTRUCTION FOR CENTRAL AND FINITE VOLUME SCHEMES

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr.

Hierarchical Reconstruction for Spectral Volume Method on Unstructured Grids

Final Report. Discontinuous Galerkin Compressible Euler Equation Solver. May 14, Andrey Andreyev. Adviser: Dr. James Baeder

On the Construction, Comparison, and Local Characteristic Decomposition for High-Order Central WENO Schemes

On the convergence to steady state solutions of a new class of high order WENO schemes

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t

Non-Oscillatory Hierarchical Reconstruction for Central and Finite Volume Schemes

High Order Weighted Essentially Non-Oscillatory Schemes for Convection. Dominated Problems. Chi-Wang Shu 1

A robust reconstruction for unstructured WENO schemes 1

High Order Fixed-Point Sweeping WENO Methods for Steady State of Hyperbolic Conservation Laws and Its Convergence Study

High Order Schemes for CFD: A Review. Juan Cheng 1. Institute of Applied Physics and Computational Mathematics, Beijing , China.

A Technique of Treating Negative Weights in WENO Schemes

On the Order of Accuracy and Numerical Performance of Two Classes of Finite Volume WENO Schemes

A new class of central compact schemes with spectral-like resolution II: Hybrid weighted nonlinear schemes. Abstract

A-posteriori Diffusion Analysis of Numerical Schemes in Wavenumber Domain

CS205b/CME306. Lecture 9

Numerical Methods for Hyperbolic and Kinetic Equations

Observations on the fifth-order WENO method with non-uniform meshes

High Order Finite Difference and Finite Volume WENO Schemes and Discontinuous Galerkin Methods for CFD

ICASE $-I!1'!l~il '1] NASA Contractor Report , - I r" ICASE Report No AD-A

Computing & Verifying Compressible Fluid Dynamics:! The Good, The Bad and The Ugly!

On the high order FV schemes for compressible flows

A high order moving boundary treatment for compressible inviscid flows 1. Abstract

Debojyoti Ghosh. Adviser: Dr. James Baeder Alfred Gessow Rotorcraft Center Department of Aerospace Engineering

Nonoscillatory Central Schemes on Unstructured Triangulations for Hyperbolic Systems of Conservation Laws

Central-Upwind Schemes on Triangular Grids for Hyperbolic Systems of Conservation Laws

Nonoscillatory Central Schemes on Unstructured Triangular Grids for Hyperbolic Systems of Conservation Laws

Conservative high order semi-lagrangian finite difference WENO methods for advection in incompressible flow. Abstract

Local-structure-preserving discontinuous Galerkin methods with Lax-Wendroff type time discretizations for Hamilton-Jacobi equations

A high order stable conservative method for solving hyperbolic conservation. laws on arbitrarily distributed point clouds.

Development of a Maxwell Equation Solver for Application to Two Fluid Plasma Models. C. Aberle, A. Hakim, and U. Shumlak

Central Runge-Kutta Schemes for Conservation Laws

Weighted Essentially Non-oscillatory Schemes on Triangular Meshes 1

A third order conservative Lagrangian type scheme on curvilinear meshes for the compressible Euler equations

NIA CFD Seminar, October 4, 2011 Hyperbolic Seminar, NASA Langley, October 17, 2011

Positivity-Preserving Runge-Kutta Discontinuous Galerkin Method on Adaptive Cartesian Grid for Strong Moving Shock

Weno Scheme for Transport Equation on Unstructured Grids with a DDFV Approach

BACK AND FORTH ERROR COMPENSATION AND CORRECTION METHODS FOR REMOVING ERRORS INDUCED BY UNEVEN GRADIENTS OF THE LEVEL SET FUNCTION

High order WENO and DG methods for time-dependent convection-dominated. PDEs: a brief survey of several recent developments 1.

Defense Technical Information Center Compilation Part Notice

A Review on the Numerical Solution of the 1D Euler Equations. Hudson, Justin. MIMS EPrint:

A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws

A Semi-Lagrangian Discontinuous Galerkin (SLDG) Conservative Transport Scheme on the Cubed-Sphere

EXPLICIT AND IMPLICIT TVD AND ENO HIGH RESOLUTION ALGORITHMS APPLIED TO THE EULER AND NAVIER-STOKES EQUATIONS IN THREE-DIMENSIONS RESULTS

A robust WENO type finite volume solver for steady Euler equations on unstructured grids

High-Order Numerical Algorithms for Steady and Unsteady Simulation of Viscous Compressible Flow with Shocks (Grant FA )

Numerical Analysis of Shock Tube Problem by using TVD and ACM Schemes

Accurate Monotonicity-Preserving Schemes with Runge Kutta Time Stepping

Discontinuous Fluctuation Distribution

A CONSERVATIVE FRONT TRACKING ALGORITHM

A Toolbox of Level Set Methods

A Novel Multi-Dimensional Limiter for High-Order Finite Volume Methods on Unstructured Grids

High-Order CENO Reconstruction Scheme For Three-Dimensional Unstructured Mesh

Numerical Methods for (Time-Dependent) HJ PDEs

A SIMPLE EULERIAN FINITE-VOLUME METHOD FOR COMPRESSIBLE FLUIDS IN DOMAINS WITH MOVING BOUNDARIES

TVD and ENO Schemes for Multidimensional Steady and Unsteady Flows A Comparative Analysis

A new multidimensional-type reconstruction and limiting procedure for unstructured (cell-centered) FVs solving hyperbolic conservation laws

A limiting strategy for the back and forth error compensation and correction method for solving advection equations

Discontinuous Galerkin Methods Applied to Shock and Blast Problems

Solving Partial Differential Equations on Overlapping Grids

Spectral(Finite) Volume Method for Conservation Laws on Unstructured Grids

This is an author-deposited version published in: Eprints ID: 4362

A HYBRID SEMI-PRIMITIVE SHOCK CAPTURING SCHEME FOR CONSERVATION LAWS

A DETAILED COMPARISON OF WENO AND SFV HIGH-ORDER METHODS FOR INVISCID AERODYNAMIC APPLICATIONS

Partial Differential Equations

Parallelization of an Object-oriented Unstructured Aeroacoustics Solver

Parallel Adaptive Tsunami Modelling with Triangular Discontinuous Galerkin Schemes

Computational Astrophysics 5 Higher-order and AMR schemes

Driven Cavity Example

WENO scheme with subcell resolution for computing nonconservative Euler. equations with applications to one-dimensional compressible two-medium flows

GENUINELY MULTIDIMENSIONAL NON-DISSIPATIVE FINITE VOLUME SCHEMES FOR TRANSPORT

Precise FEM solution of corner singularity using adjusted mesh applied to 2D flow

A Jiang Tadmor Scheme on Unstructured Triangulations

A Hybrid Cartesian Grid and Gridless Method for Compressible Flows

Adaptive Mesh Astrophysical Fluid Simulations on GPU. San Jose 10/2/2009 Peng Wang, NVIDIA

The Level Set Method. Lecture Notes, MIT J / 2.097J / 6.339J Numerical Methods for Partial Differential Equations

Faculty of Mechanical and Manufacturing Engineering, University Tun Hussein Onn Malaysia (UTHM), Parit Raja, Batu Pahat, Johor, Malaysia

Numerical and theoretical analysis of shock waves interaction and reflection

Continuum-Microscopic Models

Partition Design and Optimization for High-Order Spectral Volume Schemes on Tetrahedral Grids

Example 13 - Shock Tube

Robust and Efficient Adaptive Moving Mesh Solution of the 2-D Euler equations

On the thickness of discontinuities computed by THINC and RK schemes

Case C1.3: Flow Over the NACA 0012 Airfoil: Subsonic Inviscid, Transonic Inviscid, and Subsonic Laminar Flows

Unstructured Mesh Generation for Implicit Moving Geometries and Level Set Applications

A High-Order Accurate Unstructured GMRES Solver for Poisson s Equation

Application of ENO technique to semi-lagrangian interpolations. RC LACE stay report Scientific supervisors: Petra Smolíková and Ján Mašek

A Spectral Difference Method for the Euler and Navier-Stokes Equations on Unstructured Meshes

Discontinuous Galerkin Sparse Grid method for Maxwell s equations

Application of Finite Volume Method for Structural Analysis

High-Order Navier-Stokes Simulations using a Sparse Line-Based Discontinuous Galerkin Method

Computing Nearly Singular Solutions Using Pseudo-Spectral Methods

Transcription:

A New Trouble-Cell Indicator for Discontinuous Galerkin Methods for Hyperbolic Conservation Laws Guosheng Fu and Chi-Wang Shu ABSTRACT We introduce a new troubled-cell indicator for the discontinuous Galerkin (DG) methods for solving hyperbolic conservation laws. This indicator can be defined on unstructured meshes for high order DG methods and depends only on data from the target cell and its immediate neighbors. It is able to identify shocks without PDE sensitive parameters to tune. Extensive one- and two-dimensional simulations on the hyperbolic systems of Euler equations indicate the good performance of this new troubled-cell indicator coupled with a simple minmod-type TVD limiter for the Runge-Kutta DG (RKDG) methods. Key Words: discontinuous Galerkin method, limiters, troubled-cell indicator, high order accuracy AMS(MOS) subject classification: M, M99, L Division of Applied Mathematics, Brown University, Providence, RI 9, USA. E-mail: guosheng fu@brown.edu. Division of Applied Mathematics, Brown University, Providence, RI 9, USA. E-mail: shu@dam.brown.edu. Research supported by ARO grant W9NF--- and NSF grant DMS-87.

Introduction In this paper, we introduce a new troubled-cell indicator for the discontinuous Galerkin methods for solving hyperbolic conservation laws. The first discontinuous Galerkin (DG) method was introduced in 97 by Reed and Hill [8], in the framework of neutron transport (steady state linear hyperbolic equations). A major development of the DG method was carried out by Cockburn et al. in a series of papers [,,,, 7], in which they established a framework to easily solve nonlinear time dependent hyperbolic conservation laws: { ut + f(u) = u(x, ) = u (x) (.) using explicit, nonlinearly stable high order Runge-Kutta time discretization [] and DG discretization in space with exact or approximate Riemann solvers as interface fluxes and total variation bounded (TVB) limiter [] to achieve non-oscillatory properties for strong shocks. These schemes are termed RKDG methods. An important component of RKDG methods for solving conservation laws (.) with strong shocks in the solutions is a nonlinear limiter, which is applied to detect discontinuities and control spurious oscillations near such discontinuities. Early examples of such limiters are the minmod type TVB limiter [,,,, 7], and the moment based limiters [, ]. These limiters do control the oscillations well, however they may degrade accuracy when mistakenly used in smooth regions of the solution, especially for high-order polynomial degree. More recently, weighted essentially non-oscillatory (WENO) limiters [7,,,,,, 7, ] were introduced which can achieve both high-order accuracy and non-oscillatory properties. The WENO limiters are constructed by first (Step ) identify the troubled cells, namely those cells which might need the limiting procedure, through a troubled-cell indicator, and then (Step ) replace the solution polynomials in those troubled cells by reconstructed polynomials using certain WENO methodology which maintain the original cell average (conservation), have the same orders of accuracy as before, but are less oscillatory.

In [], various discontinuity detecting methods were systematically studied and compared as troubled-cell indicators for the WENO limiter for RKDG methods for the compressible Euler equations. While they found no universally better indicator for every problem, the minmod type TVB indicator [, ] with a suitably chosen constant, Harten s subcell resolution idea [9], and the shock detector of Krivodonova et al. (KRCF) [] performed better than other methods. More recently, an alternative family of DG limiters which serves at the same time as a new PDE-based limiter, as well as a troubled cells indicator, was introduced by Dumbser et al. [8]. The multiwavelet troubled-cell indicator was introduced by Vuik and Ryan [], and later the same authors used automated parameter selection based on Tukey s boxplot approach [] to automatically determine the tuning parameter for various troubled-cell indicators []. In this paper, we introduce a new reliable and efficient high-order troubled-cell indicator for the DG methods on unstructured grids without PDE-sensitive parameters to tune. The indicator, depending only on the polynomial in the target cell and its immediate neighbors, is formally (k + )-th order small in smooth regions for DG-P k, and is of O() near shocks. It seems to perform better for higher order DG methods. We demonstrate the robust performance of our indicator, coupled with the minmod-type TVD limiter [, 7] for the RKDG methods, for various numerical tests for the compressible Euler equations in D and D. We remark that the TVD limiter may not be the best limiter to use in troubled cells, however the focus of this paper is on the troubled-cell indicators, not on limiters used in troubled cells. The rest of the paper is outlined as follows. In Section, we briefly review the RKDG method, and then present the new troubled-cell indicator. In Section, we provide extensive numerical results in D and D for the compressible Euler equations to show the good performance of the new troubled-cell indicator. We then conclude in Section.

New troubled-cell indicator for the RKDG method In this section, we first briefly review the RKDG method for solving the conservation law (.). Then, we present the new troubled-cell indicator to identify troubled cells. The minmod-type TVD limiter [, 7] are then used on these troubled cells.. Review of RKDG methods In this subsection, we give a brief review of the RKDG methods for solving conservation laws (.) in two dimensions. We first use DG methods to discretize the spatial variables. Given a triangulation of the computational domain consisting of cells j, the DG method has its solution as well as the test function space given by V k h = {v(x, y) : v(x, y) j P k ( j )}, where P k ( j ) denotes the set of polynomials of degree at most k defined on j. The semi-discrete DG method for solving (.) is defined as follows: find the unique function u h V k h, such that (u h ) t v dxdy = f(u h ) v dxdy f(uh ) nvds (.) holds for all the test functions v V k h. Here n = (n x, n y ) T is the outward unit normal of the triangle boundary, and f(u h ) n is a monotone numerical flux for the scalar case and an exact or approximate Riemann solver for the system case. Local Lax-Friedrichs flux is used in all of our numerical tests. Note that for compressible Euler equations, ρ ρµ ρν u = ρµ ρν, f = ρµ + p ρµν, ρµν ρν + p, (.) E µ(e + p) ν(e + p) where ρ is the density, (µ, ν) is the velocity vector, E is the total energy, p = (γ ) ( E ρ (µ + ν ) ) is the pressure and γ is usually taken to be. in our test cases. The semi-discrete scheme (.) can be written as u t = L(u),

where L(u) is the spatial discretization operator. We discretize it in time by a non-linearly stable Runge-Kutta time discretization [], e.g. the third-order version:. The troubled-cell indicator u () = u n + tl(u n ), u () = un + u() + tl(u() ), (.) u n+ = un + u() + tl(u() ). Here we introduce the new troubled-cell indicator for the RKDG method (.), (.). We first relabel the target cell, and denote the indicator stencil as S = {,,, } as shown in Figure.. We then denote the DG-P k solutions on these four cells as p l (x, y), l =,,,, Figure.: The stencil S = {,,, } respectively. We consider the following quantity defined on each target cell j= I := p p j max j {,,,} { p j }, (.) where p j = p j (x, y) dxdy, p j = j j p j (x, y) dxdy, i.e., denotes the cell average of the function on the target cell while denotes the cell average of the function on its own associated cell. The target cell is treated as a

troubled cell if I > C k (.) for a constant C k that depends only on the polynomial degree k. For the compressible Euler equations (.), we use both density and total energy as the indicator variable. Remark. The indicating quantity (.) is defined on any unstructured mesh. The computation of this indicating quantity is relatively inexpensive since it only depends on the cell averages and the extended cell averages of target cell and its immediate neighbors. Remark. In smooth regions, the DG-P k solution without limiter is formally (k + )-th order accurate, so both p and p j are formally (k + )-th order approximation to the same cell average of the exact solution. Therefore, we expect the quantity p p j, and hence I, to be of the size O(h k+ ) in smooth regions. Near shocks, the quantity p p j, and hence I, is expected to behave wildly, resulting in an O() value, which is expected to be larger for higher polynomial degree due to the oscillatory nature of high order polynomials. In the next section, we compare numerical results using this new indicator with one of the best troubled-cell indicator found in [], namely, the following KRCF indicator []. The indicating quantity for KRCF is p(x, y) I KRCF := p(x, y) l ds /, (.) h k+ p(x, y) and a cell is marked as troubled cell if I KRCF > C k, where C k is usually taken to be. Here denotes the inflow part of the boundary of the cell, and l the neighboring cells sharing the edge(s) in. The mesh size h is taken to be the radius of the circumscribed circle on, and the norm in the denominator is a maximum norm based on local solution maxima at integration points in two dimensions and a cell average in one dimension. We note that both numerators of (.) and (.) are formally O(h k+ ) in smooth regions and order O() near discontinuities. However, the numerator of (.) is observed to be

significantly larger (might be orders of magnitude larger) than that of (.) for high order polynomials due to oscillatory nature of high order polynomials, which results a larger gap of the indicating quantity between smooth regions and discontinuities. Also, we note that, due to the scaling of h (k+)/ in the denominator, the KRCF indicator tends to mark a lot more troubled cells than necessary for high-order DG methods. In our D numerical results in the next section, we decrease the power of h in the denominator of (.) to be min{k,}+, which seems to be strong enough to single out discontinuities.. The minmod-type limiter After identifying the troubled cells, we are ready to apply limiters for the solution in the troubled cells. We choose to take the characteristic-wise minmod-type limiter on the troubled cells (with the TVB constant M taken to be ); see details of the limiter in [] for D system, and in [7] for D system on triangular grids. Note that the limiter does not change the cell averages for conservation. Remark. Here one could also consider applying the WENO-based high-order limiters, e.g. [, ]. However, the search for a robust compact high-order WENO limiter, for arbitrary polynomial degree, that depends only on the data from the target cell and its immediate neighbors is still an on-going work, see e.g. [7, ]. For this reason, in this paper, we only consider the second-order minmod-type limiter for its robustness. Numerical results In this section, we perform extensive numerical experiments for D and D compressible Euler systems to investigate the effectiveness of the new troubled-cell indicator. In our D simulations, we compare the results with a slightly modified KRCF indicator [] where the power of h in the denominator is taken as min{k,}+. The constant C k for KRCF indicator is taken as in all tests. The constant C k for the new indicator is taken as. for k =,. for k =, and for k = in all our D tests, and is taken as. k or. k for 7

k =,, in our D tests. We use both density and energy as the indicating quantity and get the troubled cells as the union of troubled cells obtained by these two quantities. Since the limiter does not guarantee the positivity of density and/or pressure, we also add a positivity preserving limiter [9,, ] whenever negative cell average of density or pressure is observed. We use a similar implementation suggested in [] for Euler equations with chemical reactions and in [8] for compressible Navier-Stokes equations to incorporate the positivity-preserving limiter. The implementation flow chart is given as follows: (.) Use SSP Runge-Kutta time discretization. The third-order version (.) is used for k in all the numerical tests, and a second-order version is used for k = in our D tests. (.) Use DG-P k spatial discretization (.) with a local Lax-Friedrichs flux. We run simulation for P, P and P in D and P, P and P in D. We take cfl to be. for P,. for P,. for P,. for P, and. for P. (.) In each stage of the Runge-Kutta time discretization, monitor the cell average of density and pressure. If negative cell average appears, redo computation by halving the time step, and applying Step... If no negative cell average is obtained, apply Step... (..) Fix a threshold C k in the troubled-cell indicator (.) for a given polynomial degree k. Apply the indicator (.) with both density and total energy as the indicating variable. Take the troubled cells as the union of those obtained from these two indicating variables. (..) Apply the characteristic-wise minmod-type limiter [, 7] on the troubled cells. (..) Apply the positivity-preserving limiter []. 8

Note that the positivity-preserving limiter is only activated if a negative pressure/density cell average is observed.. D tests We solve the D Euler equations (.) with u = (ρ, ρµ, E) T, f(u) = (ρµ, ρµ + p, µ(e + p)) T. Here ρ is the density, µ is the velocity, E is the total energy, and p is the pressure, related to the total energy by E = p γ + ρv. Example.. We consider a non-physical smooth test. We take γ =. The initial conditions are: ρ(x, ) = +. sin(π x), µ(x, ) = γρ(x, ), p(x, ) = ρ(x, ) γ. The computational domain is x [, ]. Periodic boundary conditions are applied in this test. By the choice of γ and the initial conditions, it is easy to verify that the exact solution for density is nothing but the solution for the following scalar Burgers equation: v t + ( γv ) x = with initial condition v(x, ) = +. sin(π x), and the velocity and pressure satisfies µ = γρ, and p = ρ γ. For the above initial condition, the solution is smooth up to time T = π.. We compute the solution up to time t =.. The computed densities ρ are plotted at time t =. and t =. against the exact solution in Figure. for polynomial degree k =,, on N = uniform cells. The indicator value I := max{i (ρ), I (E)} at time t =. and t =., along with the time history of the troubled cells are shown in Figure.. It is clear from Figure. that no limiter is activated at time t =., and the indicator is indeed high-order for smooth data. Example.. We use the following Riemann initial condition for the Sod problem: (ρ, v, p) = (,, ) for x [, ); (ρ, v, p) = (.,,.) for x (, ]. 9

.............9.9.9.9.9.9.8.8.8.8...8...8...............9.9.9.9.9.9.8.8.8.8...8...8.. Figure.: Smooth test. Left: k = ; Middle: k = ; Right: k =. Top: t =.; bottom: t =.. Solid line: the exact solution; Squares: numerical solution. Cells:. One point per cell is plotted. Average (over time) and maximum percentages of cells being flagged as troubled cells for the new and KRCF indicators, are summarized in Table. for t =. using N = and N = uniform cells. We observe from Table. that the percentage of troubled cells get reduced by about a half with a mesh refinement for the new indicator, which is a desired property of the troubled cell indicator. On the other hand, the KRCF indicator tends to mark more cells with a mesh refinement. In Figures., we plot the computed densities ρ at t =. against the exact solution with N = uniform cells for k =, and using both indicators. The time history of the troubled cells for both indicators are shown in Figure.. Similar results are obtained for both indicators. We can observe that the results for all cases keep sharp discontinuities and are mostly oscillation-free.

Indicator 7 8 Indicator 7 8 Indicator 7 8 9 9 9........ Indicator Indicator Indicator 8 8 8............... T T T............ Figure.: Smooth test. Left: k = ; middle: k = ; right: k =. Top row: I at t =.; middle row: I at t =.; Bottom row: Troubled cells (denoted by squares). Cells:. Example.. We use the following Riemann initial condition for the Lax problem: (ρ, v, p) = (.,.98,.8) for x [, ); (ρ, v, p) = (.,,.7) for x (, ]. This is a more demanding test case in terms of controlling spurious oscillations. Results similar to the previous example, at t =., are given in Table. and in Figures... We can observe a similar pattern as in the previous example. Example.. The double rarefaction wave problem []. We use the following Riemann

Table.: Average and maximum percentages of cells flagged as troubled cells subject to different troubled-cell indicators for the Sod problem. Schemes P P P N indicator Ave Max Ave Max Ave Max new.8..7..9. KRCF.9..... new.9..8..9. KRCF..7.8..7..8.8.8..........8.8.8......... Figure.: The Sod problem. t =.. Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Solid line: the exact solution; Squares: numerical solution. Cells:. One point per cell is plotted. initial condition for the double rarefaction wave problem: (ρ, v, p) = (7,,.) for x [, ); (ρ, v, p) = (7,,.) for x (, ]. This test does not have shocks but negative density/pressure might easily appear. Results similar to the previous examples, at t =., are given in Table. and in Figures.7.8. The new indicator performs better than KRCF in terms having smaller percentage of

Figure.: The Sod problem. Troubled cells (denoted by squares). Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Cells:. troubled cells. Example.. The LeBlanc problem. We use the following Riemann initial condition for the LeBlanc problem: (ρ, v, p) = (,,./) for x [, ); (ρ, v, p) = (,, / ) for x (, ]. γ is taken to be /. Results similar to the previous examples, at t =., are given in Table Table.: Average and maximum percentages of cells flagged as troubled cells subject to different troubled-cell indicators for the Lax problem. Schemes P P P N indicator Ave Max Ave Max Ave Max new.77....9. KRCF.98..... new.8.7.7..9. KRCF.....9.

.......8.8.8................8.8.8......... Figure.: The Lax problem. t =.. Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Solid line: the exact solution; Squares: numerical solution. Cells:. One point per cell is plotted.. and in Figures.9.. We can observe a similar pattern as in Examples. and.. Both methods are not able to sharply capture the location of the contact discontinuity and shock due to extreme initial data, with the results for KRCF indicator slightly better in terms of location of the shock. Example.. A higher order scheme would show its advantage when the solution contains both shocks and complex smooth regions. A typical example for this is the problem of shock interaction with entropy waves []. We solve the Euler equations with a moving Mach= shock interacting with sine waves in density, i.e. initially (ρ, v, p) = (.87,.99,.) for x < ; (ρ, v, p) = ( +. sin(x),, ) for x. The computed density ρ is plotted at t =.8 against a computed reference exact solution on a very fine mesh.

Figure.: The Lax problem. Troubled cells (denoted by squares). Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Cells:. Results similar to the previous examples, at t =.8, are given in Table. and in Figures... We can observe a similar pattern as in the previous example. Here we also notice from Figure. that the resolution of the density structure behind the strong shock does not get better for higher order degree approximations. This is expected to be caused by the choice of the low-order minmod-type limiter on the troubled cells. Table.: Average and maximum percentages of cells flagged as troubled cells subject to different troubled-cell indicators for the double rarefaction wave problem. Schemes P P P N indicator Ave Max Ave Max Ave Max new.7..9..9. KRCF 7. 7....7. new.8....98 7. KRCF. 7..9..9.

7 7 7...... 7 7 7...... Figure.7: The double rarefaction wave problem. t =.. Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Solid line: the exact solution; Squares: numerical solution. Cells:. One point per cell is plotted. Example.7. We consider the interaction of blast waves [7] with the initial conditions: (ρ, v, p) = (,, ) for x <.; (ρ, v, p) = (,,.) for. x <.9; (ρ, v, p) = (,, ) for.9 x. A reflecting boundary condition is applied to both ends. The computed density ρ is plotted at t =.8 against the reference exact solution, which is a converged solution computed by the fifth order finite difference WENO scheme [] with grid points. Results similar to the previous examples, at t =.8, are shown in Table. in Figures.-.. The new indicator performs better than the KRCF indicator in terms of marking fewer troubled cells and giving better resolution. Similar to the previous test, we also notice from Figure. that the resolution does not get better for higher order degree

Figure.8: The double rarefaction wave problem. Troubled cells (denoted by squares). Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Cells:. approximations, which is expected to be caused by the choice of the low-order minmod-type limiter on the troubled cells. Example.8. The Sedov blast wave problem. This problem contains very low density with strong shocks. The exact solution is specified in detail in [, 9]. The computational domain is [, ] and initial conditions are: ρ =, µ = and E = everywhere except that the energy in the center cell is the constant x (emulating a δ-function at the center). The final computational time is t =.. Results similar to the previous examples, at t =., are shown in Table.7 in Figures.-.. We can observe a similar pattern as the previous tests. The new indicator marks about the same amount of troubled cells while the KRCF tends to mark more cells with a mesh refinement. 7

Table.: Average and maximum percentages of cells flagged as troubled cells subject to different troubled-cell indicators for the LeBlanc problem. Schemes P P P N indicator Ave Max Ave Max Ave Max new..7.7.7.. KRCF.8 8..7 7.7.7 9. new.7..7.8.. KRCF.79 7.7....8 Table.: Average and maximum percentages of cells flagged as troubled cells subject to different troubled-cell indicators for the Shu-Osher problem. Schemes P P P N indicator Ave Max Ave Max Ave Max new.7..... KRCF.9..8... new.8..7... KRCF.7 8..9..7.7 Table.: Average and maximum percentages of cells flagged as troubled cells subject to different troubled-cell indicators for the blast wave problem. Schemes P P P N indicator Ave Max Ave Max Ave Max new.8 8..8 7..7 9. KRCF.7..9. 9.. new....7.. KRCF.78...7.9.7 Table.7: Average and maximum percentages of cells flagged as troubled cells subject to different troubled-cell indicators for the Sedov blast wave problem. Schemes P P P N indicator Ave Max Ave Max Ave Max new.9..9. 7.. KRCF 7. 8..8..7. new.88..7.. 7.7 KRCF.7..7. 9.9 8. 8

Figure.9: The LeBlanc problem. t =.. Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Solid line: the exact solution; Squares: numerical solution. Cells:. One point per cell is plotted.. D tests Now, we solve the three D compressible Euler tests considered in [7] on unstructured triangular meshes. Here we take the DG polynomial degree to be k = (second order), k = (third order), or k = (fourth order). We compare the percentage of identified troubled cells using the indicator (.) with two different choices of the threshold constant, namely, C k =. k or C k =. k. The numerical results using both choices of the threshold constant are similar, so we only present the results with the threshold constant C k =. k to save space. Example.9. Double Mach reflection. This problem is originally from [7]. The computational domain for this problem is [, ] [, ]. The reflecting wall lies at the bottom, starting from x =. Initially a right-moving Mach shock is positioned at x =, y = and makes a angle with the x-axis. For the bottom boundary, the exact post-shock condition is 9

Figure.: The LeBlanc problem. Troubled cells (denoted by squares). Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Cells:. imposed for the part from x = to x = and a reflective boundary condition is used for the rest. At the top boundary, the flow values are set to describe the exact motion of a Mach shock. We compute the solution up to t =.. Three different orders of accuracy for the RKDG, k =,, (second order to fourth order), are used in the numerical experiments. Average (over time) and maximum percentages of cells being flagged as troubled cells for the indicator (.) with two difference threshold C k, are summarized in Table.8 for t =. using two consecutive meshes. The percentage of troubled cell get reduced by about a half with a mesh refinement. The simulation results using indicator (.) with C k =. k on the fine mesh with h = / are shown in Figure.7. The zoomed-in pictures around the double Mach stem to show more details are given in Figure.8. The troubled cells identified at the last time step are shown in Figure.9. The resolution for k = and k = are better than k = around the double Mach stem, but are a bit more oscillatory. There is no significant

.............................. Figure.: The Shu-Osher problem. t =.8. Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Solid line: the exact solution; Squares: numerical solution. Cells:. One point per cell is plotted. resolution improvement from k = to k =. Example.. A Mach wind tunnel with a step. This model problem is also originally from [7]. The setup of the problem is as follows. The wind tunnel is length unit wide and length units long. The step is. length units high and is located. length units from the left-hand end of the tunnel. The problem is initialized by a right-going Mach flow. Reflective boundary conditions are applied along the wall of the tunnel and inflow/outflow boundary conditions are applied at the entrance/exit. The results are shown at t =. The corner of the step is a singularity. To avoid an erroneous entropy layer at the downstream bottom wall, we adopt the modification proposed by Woodward and Colella [7] by resetting first cells starting just to the right of the corner of the step, see a zoomed-in of the reset cells in Figure.. We keep the solution of these cells as piece-wise constant, with the same entropy and enthalpy as (the cell average of) the cell just to the left and

Figure.: The Shu-Osher problem. Troubled cells (denoted by squares). Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Cells:. below the corner of the step by modifying the density and velocity magnitude while keeping pressure cell average fixed. Average (over time) and maximum percentages of cells being flagged as troubled cells for the indicator (.) with two difference threshold C k, are summarized in Table.9 for t = using two consecutive meshes. The percentage of troubled cell get reduced by about a half with a mesh refinement. The simulation results using indicator (.) with C k =. k on the mesh with h = /8 are shown in Figure.. The troubled cells identified at the last time step are shown in Figure.. We notice no errorenous Mach stem in Figure. due to Woodward and Colella s corner modification. Example.. Shock passing a backward facing corner (diffraction). The setup of the problem is the following: the computational domain is the union of [, ] [, ] and [, ]

7 7 7....8 7....8 7....8 7....8....8....8 Figure.: The blast wave problem. t =.8. Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Solid line: the exact solution; Squares: numerical solution. Cells:. One point per cell is plotted. [, ]; the initial condition is a pure right-moving shock of Mach =.9, initially located at x =. and y, moving into undisturbed air ahead of the shock with a density of. and a pressure of. The boundary conditions are inflow at x =, y, outflow at x =, y, and Neumann at x, y = and at x, y =. No special treatment is done at the corner which is a singularity of the solution. The results are shown at t =.. Average (over time) and maximum percentages of cells being flagged as troubled cells for the indicator (.) with two difference threshold C k, are summarized in Table.9 for t =. using two consecutive meshes. The percentage of troubled cell get reduced by about a half with a mesh refinement. The simulation results using indicator (.) with C k =. k on the mesh with h = / and h = / are shown in Figure.. The troubled cells identified at the last time step are shown in Figure..

Table.8: Average and maximum percentages of cells flagged as troubled cells subject to different threshold for the indicator (.) for the double Mach reflection problem. Schemes P P P h threshold Ave Max Ave Max Ave Max / C k =. k.9...7..87 C k =. k.7.79.9..9. / C k =. k....7.. C k =. k..9.... Table.9: Average and maximum percentages of cells flagged as troubled cells subject to different threshold for the indicator (.) for the forward step problem. Schemes P P P h threshold Ave Max Ave Max Ave Max / C k =. k..9.... C k =. k 7. 8.9.8.8..7 /8 C k =. k.9.7...78.8 C k =. k.9...78.7.7 Table.: Average and maximum percentages of cells flagged as troubled cells subject to different threshold for the indicator (.) for the shock diffraction problem. Schemes P P P h threshold Ave Max Ave Max Ave Max / C k =. k..97.8..7.8 C k =. k.7.8..97.. / C k =. k..97..7.8. C k =. k.8.....

Figure.: The blast wave problem. Troubled cells (denoted by squares). Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Cells:. Concluding remarks In this paper we introduce a new troubled-cell indicator for the RKDG methods. Extensive one- and two-dimensional simulations on the hyperbolic systems of Euler equations indicate that this new indicator is able to capture shocks without a PDE sensitive parameter to tune. References [] R. Biswas, K. D. Devine, and J. E. Flaherty, Parallel, adaptive finite element methods for conservation laws, Appl. Numer. Math., (99), pp. 8. [] A. Burbeau, P. Sagaut, and C.-H. Bruneau, A problem-independent limiter for high-order Runge-Kutta discontinuous Galerkin methods, J. Comput. Phys., 9 (), pp..

........................ Figure.: The Sod problem. t =.. Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Solid line: the exact solution; Squares: numerical solution. Cells:. One point per cell is plotted. [] B. Cockburn, S. Hou, and C.-W. Shu, The Runge-Kutta local projection discontinuous Galerkin finite element method for conservation laws. IV. The multidimensional case, Math. Comp., (99), pp. 8. [] B. Cockburn, S. Y. Lin, and C.-W. Shu, TVB Runge-Kutta local projection discontinuous Galerkin finite element method for conservation laws. III. One-dimensional systems, J. Comput. Phys., 8 (989), pp. 9. [] B. Cockburn and C.-W. Shu, TVB Runge-Kutta local projection discontinuous Galerkin finite element method for conservation laws. II. General framework, Math. Comp., (989), pp.. [], The Runge-Kutta local projection P -discontinuous-galerkin finite element method for scalar conservation laws, RAIRO Modél. Math. Anal. Numér., (99), pp. 7.

Figure.: The Sod problem. Troubled cells (denoted by squares). Top row: new indicator. Bottom row: KRCF indicator. Left: k = ; Middle: k = ; Right: k =. Cells:. [7], The Runge-Kutta discontinuous Galerkin method for conservation laws. V. Multidimensional systems, J. Comput. Phys., (998), pp. 99. [8] M. Dumbser, O. Zanotti, R. Loubère, and S. Diot, A posteriori subcell limiting of the discontinuous Galerkin finite element method for hyperbolic conservation laws, J. Comput. Phys., 78 (), pp. 7 7. [9] A. Harten, ENO schemes with subcell resolution, J. Comput. Phys., 8 (989), pp. 8 8. [] G.-S. Jiang and C.-W. Shu, Efficient implementation of weighted ENO schemes, J. Comput. Phys., (99), pp. 8. [] L. Korobeinikov, Problems of Point-Blast Theory. American Institute of Physics, 99. 7

.8. Y......8. Y......8. Y..... Figure.7: Double Mach refection problem. Top to bottom: second order to fourth order (k =,, ). equally spaced density contours from. to.. The mesh points on the boundary are uniformly distributed with cell length h = /. The threshold for the troubled-cell indicator (.) is C k =. k. [] L. Krivodonova, J. in, J.-F. Remacle, N. Chevaugeon, and J. E. Flaherty, Shock detection and limiting with discontinuous Galerkin methods for hyperbolic conservation laws, Appl. Numer. Math., 8 (), pp. 8. [] T. Linde and P. L. Roe, Robust Euler codes. in: th Computational Fluid Dynamics Conference, AIAA Paper-97-98. [] J. Qiu and C.-W. Shu, Hermite WENO schemes and their application as limiters for 8

.. Y Y... Y. Figure.8: Double Mach refection problem. Top left: k=; top right: k=; bottom: k=. Threshold C k =. k. Zoomed-in pictures around the Mach stem. equally spaced density contours from. to.. The mesh points on the boundary are uniformly distributed with cell length h = /. Runge-Kutta discontinuous Galerkin method: one-dimensional case, J. Comput. Phys., 9 (), pp.. [], A comparison of troubled-cell indicators for Runge-Kutta discontinuous Galerkin methods using weighted essentially nonoscillatory limiters, SIAM J. Sci. Comput., 7 (), pp. 99. [], Hermite WENO schemes and their application as limiters for Runge-Kutta discontinuous Galerkin method. II. Two dimensional case, Comput. & Fluids, (), pp.. [7], Runge-Kutta discontinuous Galerkin method using WENO limiters, SIAM J. Sci. Comput., (), pp. 97 99. [8] W. H. Reed and T. R. Hill, Triangular mesh methods for the neutron transport equation, Tech. Report LA-UR-7-79, Los Alamos Scientific Laboratory, Los Alamos, NM, (97). 9

Figure.9: Double Mach refection problem. Top to bottom: second order to fourth order (k =,, ). Troubled cells are marked black. The mesh points on the boundary are uniformly distributed with cell length h = /. The threshold for the troubled-cell indicator (.) is C k =. k. [9] L. I. Sedov, Similarity and dimensional methods in mechanics, Translation by Morris Friedman (translation edited by Maurice Holt), Academic Press, New York-London, 99. [] C.-W. Shu, TVB uniformly high-order schemes for conservation laws, Math. Comp., 9 (987), pp.. [] C.-W. Shu and S. Osher, Efficient implementation of essentially nonoscillatory

.. Y Y....7....7 Figure.: Zoomed-in of the computational mesh at the corner. The red cells are flagged for resetting. Left: zoomed-in of the mesh with mesh size h=/; right: zoomed-in of the mesh with mesh size h=/8 shock-capturing schemes, J. Comput. Phys., 77 (988), pp. 9 7. [] C.-W. Shu and S. Osher, Efficient implementation of essentially nonoscillatory shock-capturing schemes, II, J. Comput. Phys., 8 (989), pp. 78. [] J. M. Tukey, Exploratory data analysis, st ed., Behavioral Science: Quantitative Methods, Addison-Wesley, 977. [] M. J. Vuik and J. K. Ryan, Multiwavelet troubled-cell indicator for discontinuity detection of discontinuous Galerkin schemes, J. Comput. Phys., 7 (), pp. 8. [] M. J. Vuik and J. K. Ryan, Automated parameters for troubled-cell indicators using outlier detection, SIAM J. Sci. Comput., 8 (), pp. A8 A. [] C. Wang,. Zhang, C.-W. Shu, and J. Ning, Robust high order discontinuous Galerkin schemes for two-dimensional gaseous detonations, J. Comput. Phys., (), pp.. [7] P. Woodward and P. Colella, The numerical simulation of two-dimensional fluid flow with strong shocks, J. Comput. Phys., (98), pp. 7.

.8. Y......8. Y......8. Y..... Figure.: Forward step problem. Top to bottom: second order to fourth order (k =,, ). equally spaced density contours from. to.. The mesh points on the boundary are uniformly distributed with cell length h = /8. The threshold for the troubled-cell indicator (.) is C k =. k. [8]. Zhang, On positivity-preserving high order discontinuous Galerkin schemes for compressible Navier-Stokes equations, J. Comput. Phys., 8 (7), pp.. [9]. Zhang and C.-W. Shu, On maximum-principle-satisfying high order schemes for scalar conservation laws, J. Comput. Phys., 9 (), pp. 9. [], On positivity-preserving high order discontinuous Galerkin schemes for compressible Euler equations on rectangular meshes, J. Comput. Phys., 9 (), pp. 898

Figure.: Forward step problem. Top to bottom: second order to fourth order (k =,, ). Troubled cells are marked black. The mesh points on the boundary are uniformly distributed with cell length h = /8. The threshold for the troubled-cell indicator (.) is C k =. k. 89. [], Maximum-principle-satisfying and positivity-preserving high-order schemes for conservation laws: survey and new developments, Proc. R. Soc. Lond. Ser. A Math. Phys. Eng. Sci., 7 (), pp. 7 77. []. Zhang, Y. ia, and C.-W. Shu, Maximum-principle-satisfying and positivitypreserving high order discontinuous Galerkin schemes for conservation laws on triangu-

8 8 Y Y 8 8 8 8 8 8 Y Y 8 8 8 Y Y 8 Figure.: Shock diffraction problem. Top to bottom: second order to fourth order (k =,, ). Left: coarse mesh, h = /; right: fine mesh, h = /. Threshold Ck =. k. equally spaced density contours from.7 to 7.8. lar meshes, J. Sci. Comput., (), pp. 9. []. Zhong and C.-W. Shu, A simple weighted essentially nonoscillatory limiter for Runge-Kutta discontinuous Galerkin methods, J. Comput. Phys., (), pp. 97. [] J. Zhu, J. Qiu, C.-W. Shu, and M. Dumbser, Runge-Kutta discontinuous Galerkin method using WENO limiters. II. Unstructured meshes, J. Comput. Phys., 7 (8), pp..

Figure.: Shock diffraction problem. Top to bottom: second order to fourth order (k =,, ). Left: coarse mesh, h = /; right: fine mesh, h = /. Threshold C k =. k. Troubled cells are marked black. [] J. Zhu,. Zhong, C.-W. Shu, and J. Qiu, Runge-Kutta discontinuous Galerkin method with a simple and compact Hermite WENO limiter on unstructured mesh, Commun. Comput. Phys. To appear. [], Runge-Kutta discontinuous Galerkin method using a new type of WENO limiters on unstructured meshes, J. Comput. Phys., 8 (), pp.. [7], Runge-Kutta discontinuous Galerkin method with a simple and compact Hermite WENO limiter, Commun. Comput. Phys., 9 (), pp. 9 99.