Well-balanced DG scheme for Euler equations with gravity

Similar documents
Well-balanced DG scheme for Euler equations with gravity

A general well-balanced finite volume scheme for Euler equations with gravity

On limiting for higher order discontinuous Galerkin method for 2D Euler equations

Conservation Laws & Applications

A minimum entropy principle of high order schemes for gas dynamics. equations 1. Abstract

Weighted Essentially Non-Oscillatory limiters for Runge-Kutta Discontinuous Galerkin Methods

A Bound-Preserving Fourth Order Compact Finite Difference Scheme for Scalar Convection Diffusion Equations

A Stable Spectral Difference Method for Triangles

Finite volume scheme for Euler equations with gravity which is well-balanced for general equations of state and grid systems

A recovery-assisted DG code for the compressible Navier-Stokes equations

On divergence-free reconstruction schemes for CED and MHD

Numerische Mathematik

Well-Balanced Schemes for the Euler Equations with Gravity

Spectral element schemes for the. Korteweg-de Vries and Saint-Venant equations

Shock Capturing for Discontinuous Galerkin Methods using Finite Volume Sub-cells

A Space-Time Expansion Discontinuous Galerkin Scheme with Local Time-Stepping for the Ideal and Viscous MHD Equations

A High-Order Galerkin Solver for the Poisson Problem on the Surface of the Cubed Sphere

Emerging Numerical Methods for Atmospheric Modeling

ON THE BENEFIT OF THE SUMMATION-BY-PARTS PROPERTY ON INTERIOR NODAL SETS

Entropy stable schemes for compressible flows on unstructured meshes

Modeling Shock Waves Using Exponential Interpolation Functions with the Least-Squares Finite Element Method

A High Order Conservative Semi-Lagrangian Discontinuous Galerkin Method for Two-Dimensional Transport Simulations

Positivity-preserving high order schemes for convection dominated equations

A Comparison of Artificial Viscosity Sensors for the Discontinuous Galerkin Method. Joshua Favors

Chapter 2. General concepts. 2.1 The Navier-Stokes equations

A Robust CFL Condition for the Discontinuous Galerkin Method on Triangular Meshes

Hybrid DG/FV schemes for magnetohydrodynamics and relativistic hydrodynamics

Earth System Modeling Domain decomposition

Entropy stable high order discontinuous Galerkin methods. for hyperbolic conservation laws

Discontinuous Galerkin methods Lecture 2

The Discontinuous Galerkin Method for Hyperbolic Problems

Hybrid semi-lagrangian finite element-finite difference methods for the Vlasov equation

K. Ambika and R. Radha

Hierarchical Reconstruction with up to Second Degree Remainder for Solving Nonlinear Conservation Laws

Tides in Higher-Dimensional Newtonian Gravity

Generalised Summation-by-Parts Operators and Variable Coefficients

A New Class of High-Order Energy Stable Flux Reconstruction Schemes for Triangular Elements

High Order Accurate Runge Kutta Nodal Discontinuous Galerkin Method for Numerical Solution of Linear Convection Equation

Efficient conservative ADER schemes based on WENO reconstruction and space-time predictor in primitive variables

Finite volume method on unstructured grids

Inverse Lax-Wendroff Procedure for Numerical Boundary Conditions of. Conservation Laws 1. Abstract

Tectonic evolution at mid-ocean ridges: geodynamics and numerical modeling. Second HPC-GA Workshop

arxiv: v2 [math.na] 9 Apr 2018

A Nodal High-Order Discontinuous Galerkin Dynamical Core for Climate Simulations

A second-order asymptotic-preserving and positive-preserving discontinuous. Galerkin scheme for the Kerr-Debye model. Abstract

A lumped nodal DGTD-PIC method to ensure charge conservation for the 3D Vlasov-Maxwell system on nonconforming grids

Scientific Computing I

HYPERSONIC AERO-THERMO-DYNAMIC HEATING PREDICTION WITH HIGH-ORDER DISCONTINOUS GALERKIN SPECTRAL ELEMENT METHODS

A positivity-preserving high order discontinuous Galerkin scheme for convection-diffusion equations

Spectral Difference Method for Unstructured Grids II: Extension to the Euler Equations

Hierarchical Reconstruction with up to Second Degree Remainder for Solving Nonlinear Conservation Laws

Bound-preserving high order schemes in computational fluid dynamics Chi-Wang Shu

AProofoftheStabilityoftheSpectral Difference Method For All Orders of Accuracy

arxiv: v1 [math.na] 23 Sep 2015

MA8502 Numerical solution of partial differential equations. The Poisson problem: Mixed Dirichlet/Neumann boundary conditions along curved boundaries

Maximum-principle-satisfying and positivity-preserving high order schemes for conservation laws: Survey and new developments

IFE for Stokes interface problem

Numerical Solution of Partial Differential Equations governing compressible flows

Improving Dynamical Core Scalability, Accuracy, and Limi:ng Flexibility with the ADER- DT Time Discre:za:on

Introduction to Fluid Mechanics

Applying Asymptotic Approximations to the Full Two-Fluid Plasma System to Study Reduced Fluid Models

On Numerical Simulation of Flow Problems by Discontinuous Galerkin and Finite Volume Techniques

From Finite Volumes to Discontinuous Galerkin and Flux Reconstruction

A high-order triangular discontinuous Galerkin oceanic shallow water model

Runge-Kutta discontinuous Galerkin method with a simple and compact Hermite WENO limiter

Overlapping Schwarz preconditioners for Fekete spectral elements

Introduction. J.M. Burgers Center Graduate Course CFD I January Least-Squares Spectral Element Methods

Semi-Lagrangian Formulations for Linear Advection Equations and Applications to Kinetic Equations

Superconvergence of discontinuous Galerkin methods for 1-D linear hyperbolic equations with degenerate variable coefficients

DISCONTINUOUS GALERKIN METHOD FOR TIME DEPENDENT PROBLEMS: SURVEY AND RECENT DEVELOPMENTS

Locally Linearized Euler Equations in Discontinuous Galerkin with Legendre Polynomials

A spectral finite volume transport scheme on the cubed-sphere

Positivity-preserving Lagrangian scheme for multi-material compressible flow. Abstract

Solving the Euler Equations!

Mixed Mimetic Spectral Elements for Geophysical Fluid Dynamics

Wave propagation methods for hyperbolic problems on mapped grids

A posteriori error estimation for elliptic problems

Finite Element Solver for Flux-Source Equations

On the solution of incompressible two-phase ow by a p-version discontinuous Galerkin method

Fourth Order RK-Method

A high-order discontinuous Galerkin solver for 3D aerodynamic turbulent flows

Well-balanced schemes for the Euler equations with gravitation

Do not turn over until you are told to do so by the Invigilator.

Lecture - Implementation and numerical aspects of DG-FEM in 1D

The Discontinuous Galerkin (dg) method is a popular numerical method that has received much attention

A gas-kinetic theory based multidimensional high-order method for the compressible Navier Stokes solutions

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

A class of the fourth order finite volume Hermite weighted essentially non-oscillatory schemes

Cell-centered discontinuous Galerkin discretization for two-dimensional Lagrangian hydrodynamics


Basic Principles of Weak Galerkin Finite Element Methods for PDEs

A New Class of High-Order Energy Stable Flux Reconstruction Schemes

HIGH ORDER NUMERICAL METHODS FOR TIME DEPENDENT HAMILTON-JACOBI EQUATIONS

An efficient implementation of the divergence free constraint in a discontinuous Galerkin method for magnetohydrodynamics on unstructured meshes

Numerical Solutions to Partial Differential Equations

Finite Volume Method

A Finite Volume Code for 1D Gas Dynamics

CENTRAL DISCONTINUOUS GALERKIN METHODS ON OVERLAPPING CELLS WITH A NON-OSCILLATORY HIERARCHICAL RECONSTRUCTION

Space-time Discontinuous Galerkin Methods for Compressible Flows

A novel discontinuous Galerkin method using the principle of discrete least squares

Transcription:

Well-balanced DG scheme for Euler equations with gravity Praveen Chandrashekar praveen@tifrbng.res.in Center for Applicable Mathematics Tata Institute of Fundamental Research Bangalore 560065 Dept. of Mathematics, IIT Delhi 26 October, 2016 Supported by Airbus Foundation Chair at TIFR-CAM, Bangalore 1 / 59

Euler equations with gravity q t + f x = where ρ ρu q = ρu, f = p + ρu 2, E (E + p)u Calorically ideal gas p = (γ 1) 0 ρ Φ x ρu Φ = gravitational potential [E 12 ρu2 ], γ = c p c v > 1 2 / 59

Hydrostatic solutions Fluid at rest u e = 0 Mass and energy equation satisfied t ρ + x (ρu) = 0, t E + x [(E + p)u] = ρu x Φ Momentum equation dp e dx = ρ dφ e dx Need additional assumptions to solve this equation (1) 3 / 59

Hydrostatic solutions: Isothermal case Thermally ideal gas model p = ρrt, R = gas constant Isothermal hydrostatic state, i.e., T e (x) = T e = const, then ( ) Φ(x) p e (x) exp = const (2) RT e Density ρ e (x) = p e(x) RT e 4 / 59

Hydrostatic solutions: Polytropic case Polytropic hydrostatic state p e ρ ν e = α = const, ν > 1 constant (3) From (1) and (3), we obtain ναρe ν 1 (x) + Φ(x) = β = const (4) ν 1 5 / 59

Scope of present work Nodal DG scheme Gauss-Lobatto-Legendre nodes Arbitrary quadrilateral cells in 2-D Well-balanced for hydrostatic solutions isothermal solutions under ideal gas polytropic solutions (with Markus Zenk) Any consistent numerical flux Discontinuous density: contact preserving flux 6 / 59

Finite element method Conservation law with source term stationary solution q e q t + f(q) x = s(q) f(q e ) x = s(q e ) Weak formulation: Find q(t) V such that d (q, ϕ) + a(q, ϕ) = (s(q), ϕ), dt ϕ V FEM with quadrature: Find q h (t) V h such that d dt (q h, ϕ h ) h + a h (q h, ϕ h ) = (s h (q h ), ϕ h ) h, ϕ h V h 7 / 59

Finite element and well-balanced Stationary solution is not a polynomial, q e / V h. Let q e,h = Π h (q e ), Π h : V V h, interpolation or projection FEM is well-balanced if a h (q e,h, ϕ h ) = (s h (q e,h ), ϕ h ) h, ϕ h V h because if q h (0) = q e,h = q h (t) = q e,h t How to construct a h, s h to achieve well-balancing? 8 / 59

Mesh and basis functions Partition domain into disjoint cells C i = (x i 1, x 2 i+ 1 ), x i = x 2 i+ 1 x 2 i 1 2 Approximate solution inside each cell by a polynomial of degree N I i 1 I i I i 1 9 / 59

Mesh and basis functions Map C i to a reference cell, say [0, 1] x = ξ x i + x i 1 2 (5) On reference cell, ξ j, 0 j N are Gauss-Lobatto-Legendre nodes, roots of (1 ξ 2 )P N (ξ) in [ 1, +1] l j (ξ) = Lagrange polynomials using GLL points l j (ξ k ) = δ jk, 0 j, k N Basis functions in physical coordinates ϕ j (x) = l j (ξ), 0 j N Derivative of ϕ j : apply the chain rule of differentiation d dx ϕ j(x) = l j(ξ) dξ dx = 1 x i l j(ξ) 10 / 59

Mesh and basis functions x j C i denote the physical locations of the GLL points x j = ξ j x i + x i 1, 0 j N 2 11 / 59

Discontinuous Galerkin Scheme Consider the single conservation law with source term q t + f = s(q, x) x Solution inside cell C i is polynomial of degree N q h (x, t) = Approximate the flux N q j (t)ϕ j (x), q j (t) = q h (x j, t) j=0 f(q h ) f h (x, t) = N f(q h (x j, t))ϕ j (x) = j=0 N f j (t)ϕ j (x) j=0 12 / 59

Discontinuous Galerkin Scheme Gauss-Lobatto-Legendre quadrature N φ(x)ψ(x)dx (φ, ψ) h = x i ω q φ(x q )ψ(x q ) C i q=0 Semi-discrete DG: For 0 j N d dt (q h, ϕ j ) h + ( x f h, ϕ j ) h +[ ˆf i+ 1 f h (x )]ϕ 2 i+ 1 j (x ) i+ 1 2 2 [ ˆf (6) i 1 f h (x + )]ϕ 2 i 1 j (x + ) = (s i 1 h, ϕ j ) h 2 2 where ˆf i+ 1 = ˆf(q, q + ) is a numerical flux function. This is also 2 i+ 1 i+ 1 2 2 called a DG Spectral Element Method. 13 / 59

Numerical flux Consistency of numerical flux ˆf(q, q) = f(q) Def: Contact property The numerical flux ˆf is said to satisfy contact property if for any two states w L = [ρ L, 0, p] and w R = [ρ R, 0, p] we have ˆf(q(w L ), q(w R )) = [0, p, 0] states w L, w R in the above definition correspond to a stationary contact discontinuity. Contact Property = exactly supports stationary contact Examples: Roe, HLLC, etc. 14 / 59

Approximation of source term: isothermal case Let T i = temperature corresponding to the cell average value in cell C i Rewrite the source term in the momentum equation as (Xing & Shu) s = ρ Φ ( ) ( x = ρr T Φ i exp R T i x exp Φ ) R T i Source term approximation: For x C i ( ) s h (x) = ρ h (x)r T Φ(x) N ( i exp R T exp Φ(x ) j) i x R T ϕ j (x) (7) i Source term in the energy equation 1 ρ h (ρu) h s h j=0 15 / 59

Approximation of source term: polytropic case Define H(x) inside each cell C i as H(x) = ν [ ] ν 1 ν 1 ln (β i Φ(x)), x C i να i α i, β i : constants to be chosen. Rewrite source term s(x) = ρ Φ x = ν 1 ρ(β i Φ(x)) exp( H(x)) ν x exp(h(x)), The source term is approximated as x C i s h (x) = ν 1 ρ h (x)(β i Φ(x)) exp( H(x)) ν x [ ν β i = max 0 j N ν 1 ] p j + Φ(x j ) ρ j N exp(h(x j ))ϕ j (x) j=0, α i = p j ρ ν j 16 / 59

Well-balanced property Well-balanced property Let the initial condition to the DG scheme (6), (7) be obtained by interpolating the isothermal/polytropic hydrostatic solution corresponding to a continuous gravitational potential Φ. Then the scheme (6), (7) preserves the initial condition under any time integration scheme. Proof: For continuous hydrostatic solution, q h (0) is continuous. By flux consistency ˆf i+ 1 f h (x ) = 0, ˆfi 2 i+ 1 1 f h (x + ) = 0 2 2 i 1 2 Above is true even if density is discontinuous, provided flux satisfies contact property. = density and energy equations are well-balanced 17 / 59

Well-balanced property Momentum eqn: flux f h has the form N f h (x, t) = p j (t)ϕ j (x), j=0 p j = pressure at the GLL point x j Isothermal initial condition, T i = T e = const. The source term evaluated 18 / 59

Well-balanced property at any GLL node x k is given by s h (x k ) = ( ) Φ(xk ) N ρ h (x k )RT }{{} e exp RT e p j=0 k = ( ) Φ(xk ) N p k exp RT e = = = j=0 N ( Φ(xk ) p k exp RT e j=0 j=0 ( exp Φ(x ) j) RT e x ϕ j(x k ) ( exp Φ(x ) j) RT e x ϕ j(x k ) ) exp ( Φ(x ) j) RT e x ϕ j(x k ) N ( ) ( Φ(xj ) p j exp exp Φ(x ) j) RT e RT e x ϕ j(x k ) N j=0 p j x ϕ j(x k ) = x f h(x k ) 19 / 59

Well-balanced property Since x f h (x k ) = s h (x k ) at all the GLL nodes x k we can conclude that ( x f h, ϕ j ) h = (s h, ϕ j ) h, 0 j N = scheme is well-balanced for the momentum equation The proof for polytropic case is similar. 20 / 59

2-D Euler equations with gravity q t + f x + g y = s q = vector of conserved variables, (f, g) = flux vector and s = source term, given by ρ q = ρu ρv, f = E s = ρu p + ρu 2 ρuv (E + p)u 0 ρ Φ x ρ Φ y ( u Φ, g = ) x + v Φ y ρv ρuv p + ρv 2 (E + p)v 21 / 59

2-D hydrostatic solution: Isothermal case Momentum equation p e = ρ e Φ Assuming the ideal gas equation of state p = ρrt and a constant temperature T = T e = const, we get ( ) Φ(x, y) p e (x, y) exp = const (8) RT e We will exploit the above property of the hydrostatic state to construct the well-balanced scheme. 22 / 59

Mesh and basis functions A quadrilateral cell K and reference cell ˆK = [0, 1] [0, 1] y 1 4 K 2 3 T K η 4 ˆK 3 x 1 2 ξ 1-D GLL points ξ r [0, 1], 0 r N 23 / 59

Mesh and basis functions Tensor product of GLL points N = 1 N = 2 N = 3 Basis functions in cell K: i (r, s) ϕ K i (x, y) = l r (ξ)l s (η), (x, y) = T K (ξ, η) Computation of x f h requires derivatives of the basis functions x ϕk i (x, y) = l r(ξ)l s (η) ξ x + l r(ξ)l s(η) η x 24 / 59

DG scheme in 2-D Consider a single conservation law with source term Solution inside cell K q h (x, y, t) = q t + f x + g x = s M qi K (t)ϕ K i (x, y), M = (N + 1) 2 i=1 Approximate fluxes inside the cell by interpolation at the same GLL nodes f h (x, y) = M f(q h (x i, y i ))ϕ K i (x, y) = i=1 M f i ϕ K i (x, y) i=1 g h (x, y) = M g(q h (x i, y i ))ϕ K i (x, y) = i=1 M g i ϕ K i (x, y) i=1 25 / 59

DG scheme in 2-D Quadrature on element K using GLL points (φ, ψ) K = N r=0 s=0 Quadrature on the faces of the cell K N φ(ξ r, ξ s )ψ(ξ r, ξ s )ω r ω s J K (ξ r, ξ s ) (φ, ψ) K = e K (φ, ψ) e where (, ) e are one dimensional quadrature rules using the subset of GLL nodes located on the boundary of the cell. 26 / 59

DG scheme in 2-D Semi-discrete DG scheme: For 1 i M d ( qh, ϕ K ) i dt K + ( x f h + y g h, ϕ K ) i K ( ) + ˆFh F h, ϕk i = ( s h, ϕ K i K ) (9) Numerical flux function ˆF h = ˆF (q h, q+ h, n), n = (n x, n y ), unit outward normal to K Trace of flux on K from cell K F h = f h n x + g h n y 27 / 59

Approximation of source term: Isothermal case Let T K = temperature corresponding to the cell average value in cell K Rewrite source term in the x momentum equation s = ρ Φ ( ) ( x = ρr T Φ K exp R T K x exp Φ ) R T K Approximation of source term for (x, y) K ( ) s h (x, y) = ρ h (x, y)r T Φ(x, y) K exp R T K x M j=1 ( exp Φ(x ) j, y j ) R T ϕ K j (x, y) K (10) 28 / 59

Well-balanced property Let the initial condition to the DG scheme (9), (10) be obtained by interpolating the isothermal/polytropic hydrostatic solution corresponding to a continuous gravitational potential Φ. Then the scheme preserves the initial condition under any time integration scheme. 29 / 59

Limiter TVB limiter of Cockburn-Shu How to preserve hydrostatic solution? If residual in cell K is zero, then dont apply limiter in that cell. 30 / 59

Time integration scheme: dq dt = R(t, q) Second order accurate SSP Runge-Kutta scheme q (1) = q n + tr(t n, q n ) q (2) = 1 2 qn + 1 2 [q(1) + tr(t n + t, q (1) )] q n+1 = q (2) Third order accurate SSP Runge-Kutta scheme q (1) = q n + tr(t n, q n ) q (2) = 3 4 qn + 1 4 [q(1) + tr(t n + t, q (1) )] q (3) = 1 3 qn + 2 3 [q(2) + tr(t n + t/2, q (2) )] q n+1 = q (3) 31 / 59

Numerical Results 32 / 59

1-D hydrostatic test: Well-balanced property Potential Initial state u = 0, Φ = x, Φ = sin(2πx) ρ = p = exp( Φ(x)) Mesh ρu ρ E 25x25 1.03822e-13 2.72604e-14 9.53913e-14 50x50 1.04783e-13 2.67559e-14 9.36725e-14 100x100 1.05019e-13 2.66323e-14 9.34503e-14 200x200 1.05088e-13 2.66601e-14 9.33861e-14 Table: Well-balanced test on Cartesian mesh using Q1 and potential Φ = y 33 / 59

1-D hydrostatic test: Well-balanced property Mesh ρu ρ E 25x25 1.04518e-13 2.7548e-14 9.64205e-14 50x50 1.04983e-13 2.69317e-14 9.43158e-14 100x100 1.05069e-13 2.69998e-14 9.39126e-14 200x200 1.05089e-13 2.68828e-14 9.462e-14 Table: Well-balanced test on Cartesian mesh using Q2 and potential Φ = x Mesh ρu ρ E 25x25 9.23424e-13 2.31405e-13 8.16645e-13 50x50 9.36459e-13 2.28315e-13 8.04602e-13 100x100 9.39613e-13 2.28001e-13 8.03005e-13 200x200 9.40422e-13 2.2792e-13 8.02653e-13 Table: Well-balanced test on Cartesian mesh using Q1 and Φ = sin(2πx) 34 / 59

1-D hydrostatic test: Well-balanced property Mesh ρu ρ E 25x25 9.34536e-13 2.35173e-13 8.30316e-13 50x50 9.39556e-13 2.29908e-13 8.10055e-13 100x100 9.40442e-13 2.28538e-13 8.04638e-13 200x200 9.40668e-13 2.28051e-13 8.0357e-13 Table: Well-balanced test on Cartesian mesh using Q2 and Φ = sin(2πx) 35 / 59

1-D hydrostatic test: Evolution of perturbations Potential Φ(x) = x Initial condition u = 0, ρ = exp( x), p = exp( x) + η exp( 100(x 1/2) 2 ) 36 / 59

1-D hydrostatic test: Evolution of perturbations 0.010 0.008 Initial 100 cells 1000 cells 0.010 0.008 Initial 50 cells 500 cells Pressure perturbation 0.006 0.004 0.002 Pressure perturbation 0.006 0.004 0.002 0.000 0.000 0.002 0.0 0.2 0.4 0.6 0.8 1.0 x (a) 0.002 0.0 0.2 0.4 0.6 0.8 1.0 x (b) Figure: Evolution of perturbations for η = 10 2 : (a) Q1 (b) Q2 37 / 59

1-D hydrostatic test: Evolution of perturbations 0.00010 0.00008 Initial 100 cells 1000 cells 0.00010 0.00008 Initial 50 cells 500 cells Pressure perturbation 0.00006 0.00004 0.00002 Pressure perturbation 0.00006 0.00004 0.00002 0.00000 0.00000 0.00002 0.0 0.2 0.4 0.6 0.8 1.0 x (a) 0.00002 0.0 0.2 0.4 0.6 0.8 1.0 x (b) Figure: Evolution of perturbations for η = 10 4 : (a) Q1 (b) Q2 38 / 59

Shock tube problem Potential Φ(x) = x and initial condition { (1, 0, 1) x < 1 (ρ, u, p) = 2 (0.125, 0, 0.1) x > 1 2 1.2 1.0 Q1, 100 cells Q2, 100 cells FVM, 2000 cells 1.2 1.0 Q1, 200 cells Q2, 200 cells FVM, 2000 cells 0.8 0.8 Density 0.6 Density 0.6 0.4 0.4 0.2 0.2 0.0 0.0 0.2 0.4 0.6 0.8 1.0 x 0.0 0.0 0.2 0.4 0.6 0.8 1.0 x 39 / 59

2-D hydrostatic test: Well-balanced test Potential Φ = x + y Hydrostatic solution is given by ( ρ = ρ 0 exp ρ ) ( 0g (x + y), p = p 0 exp ρ ) 0g (x + y), u = v = 0 p 0 p 0 ρu ρv ρ E Q1, 25 25 9.85926e-14 9.85855e-14 5.32357e-14 1.55361e-13 Q1, 50 50 9.94493e-14 9.94451e-14 5.37084e-14 1.56669e-13 Q1, 100 100 9.96481e-14 9.96474e-14 5.38404e-14 1.57062e-13 Q2, 25 25 9.9256e-14 9.92682e-14 5.39863e-14 1.57435e-13 Q2, 50 50 9.961e-14 9.96538e-14 5.41091e-14 1.57521e-13 Q2, 100 100 9.95889e-14 9.97907e-14 5.43145e-14 1.57728e-13 40 / 59

2-D hydrostatic test: Evolution of perturbation ( p = p 0 exp ρ ) ( 0g (x + y) + η exp 100 ρ ) 0g [(x 0.3) 2 + (y 0.3) 2 ] p 0 p 0 41 / 59

2-D hydrostatic test: Evolution of perturbation 0.8 0.8 0.6 0.6 y y 0.4 0.4 0.2 0.2 0 0 0.2 0.4 0.6 0.8 1 x (a) 0 0 0.2 0.4 0.6 0.8 1 x Figure: Pressure perturbation on 50 50 mesh at time t = 0.15 (a) Q 1 (b) Q 2. Showing 20 contours lines between 0.0002 to +0.0002 (b) 42 / 59

2-D hydrostatic test: Evolution of perturbation 0.8 0.8 0.6 0.6 y y 0.4 0.4 0.2 0.2 0 0 0.2 0.4 0.6 0.8 1 x (a) 0 0 0.2 0.4 0.6 0.8 1 x Figure: Pressure perturbation on 200 200 mesh at time t = 0.15 (a) Q 1 (b) Q 2. Showing 20 contours lines between 0.0002 to +0.0002 (b) 43 / 59

2-D hydrostatic test: Discontinuous density Potential Temperature is discontinuous T = Hydrostatic pressure and density p = Φ(x, y) = y { T l, y < 0 T u, y > 0 { p 0 e y/rt l, y 0 p 0 e y/rtu, y > 0, ρ = Density is discontinuous at y = 0. { p/rt l, y < 0 p/rt u, y > 0 44 / 59

2-D hydrostatic test: Discontinuous density Case 1, T l = 1, T u = 2 Q1, 25x100 5.13108e-13 1.10971e-13 2.56836e-13 8.91784e-13 Q1, 50x200 5.15744e-13 1.12234e-13 2.84309e-13 8.97389e-13 Q2, 25x100 5.15726e-13 1.1341e-13 3.22713e-13 9.01183e-13 Q2, 50x200 5.16397e-13 1.13707e-13 3.93623e-13 9.02503e-13 Table: Well-balanced test for Rayleigh-Taylor problem Case 2, T l = 2, T u = 1 Q1, 25x100 3.487e-13 1.0989e-13 1.98949e-13 7.42265e-13 Q1, 50x200 3.50153e-13 1.1121e-13 2.34991e-13 7.4747e-13 Q2, 25x100 3.50149e-13 1.12159e-13 2.80645e-13 7.5104e-13 Q2, 50x200 3.50548e-13 1.12533e-13 3.63806e-13 7.52151e-13 Table: Well-balanced test for Rayleigh-Taylor problem 45 / 59

2-D hydrostatic test: Discontinuous density Ligther fluid on top 46 / 59

2-D hydrostatic test: Discontinuous density Heavier fluid on top 47 / 59

Order of accuracy Exact solution of Euler equations with gravity given by (Xing & Shu) ρ = 1 + 0.2 sin(π(x + y t(u 0 + v 0 ))), u = u 0, v = v 0 p = p 0 + t(u 0 + v 0 ) x y + 0.2 cos(π(x + y t(u 0 + v 0 )))/π Compute solution error in L 2 norm at time t = 0.1 1/h ρu ρv ρ E Error Rate Error Rate Error Rate Error Rate 50 0.00134154 0.00134154 0.0012837 0.00161287 100 0.000335446 1.99 0.000335446 1.99 0.00032044 2.00 0.000411141 1.97 200 8.35627e-05 2.00 8.35627e-05 2.00 7.97842e-05 2.00 0.00010335 1.99 400 2.08348e-05 2.00 2.08348e-05 2.00 1.98754e-05 2.00 2.58109e-05 2.00 Table: Convergence of error for degree N = 1 1/h ρu ρv ρ E Error Rate Error Rate Error Rate Error Rate 25 7.7019e-05 7.7019e-05 7.80868e-05 9.32865e-05 50 9.68863e-06 2.99 9.68863e-06 2.99 9.76471e-06 2.99 1.16849e-05 2.99 100 1.21506e-06 2.99 1.21506e-06 2.99 1.22031e-06 3.00 1.46256e-06 2.99 200 1.52134e-07 2.99 1.52134e-07 2.99 1.52503e-07 3.00 1.8247e-07 3.00 Table: Convergence of error for degree N = 2 48 / 59

Radial Rayleigh-Taylor problem 30 30 cells 956 cells 49 / 59

Radial Rayleigh-Taylor problem: Well-balanced test Radial potential Hydrostatic solution Φ(x, y) = r = x 2 + y 2 ρ = p = exp( r) ρu ρv ρ E Q1, 30x30 6.08113e-13 6.06081e-13 2.11611e-14 4.13127e-14 Q1, 50x50 5.45634e-13 5.44973e-13 1.29319e-14 2.66376e-14 Q1, 100x100 5.4918e-13 5.49012e-13 9.63433e-15 2.11463e-14 Q2, 30x30 6.29776e-13 6.27278e-13 1.9777e-14 5.08689e-14 Q2, 50x50 5.5376e-13 5.52903e-13 1.5635e-14 3.85134e-14 Q2, 100x100 5.51645e-13 5.5142e-13 2.173e-14 5.25578e-14 Table: Well balanced test for radial Rayleigh-Taylor problem on Cartesian mesh 50 / 59

Radial Rayleigh-Taylor problem: Well-balanced test ρu ρv ρ E Q1, 956 3.03033e-16 3.23738e-16 6.66245e-16 2.11449e-16 Q1, 2037 5.20653e-16 5.10865e-16 9.82565e-16 4.06402e-16 Q1, 10710 2.00037e-15 1.57078e-15 2.21284e-15 4.66515e-15 Q2, 956 2.69429e-14 3.31591e-14 4.50499e-14 1.61455e-13 Q2, 2037 7.68549e-14 1.1834e-13 1.01632e-13 3.84886e-13 Q2, 10710 2.92633e-13 2.44323e-13 2.9449e-13 4.10069e-13 Table: Well balanced test for radial Rayleigh-Taylor problem on unstructured mesh 51 / 59

Radial Rayleigh-Taylor problem: Perturbations Initial pressure and density where { { e r r r 0 e r r r i p = e r α +r 0 (1 α), ρ = α r > r 0 r > r i 1 α e r α +r (1 α) 0 α r i = r 0 (1 + η cos(kθ)), α = exp( r 0 )/(exp( r 0 ) + ρ ) The density jumps by an amount ρ > 0 at the interface defined by r = r i whereas the pressure is continuous. Following [?], we take ρ = 0.1, η = 0.02, k = 20 52 / 59

Radial Rayleigh-Taylor problem: Perturbations Cartesian mesh of 240 240 and Q1 basis 53 / 59

Well-balanced versus non well-balanced (a) (b) (c) Well balanced test for radial Rayleigh-Taylor problem on 50 50 mesh. (a) Initial density, (b) well-balanced scheme, density at t = 1.5, (c) non well-balanced scheme, density at t = 1.5 54 / 59

Summary Well-balanced DG scheme for Euler with gravity Preserves isothermal hydrostatic solutions for ideal gas model Preserves polytropic hydrostatic solution Any numerical flux can be used Cartesian, unstructured meshes 55 / 59

Extensions Define variables v = [ρ/α, u, p/β] Interpolate v onto V h v h = Π h v(q h ) Source DG scheme in 1-D s h (x, t) = ρ h(x, t) p 0 α h (x) ρ 0 x d dt (q h, ϕ j ) h + ( x f h (v h ), ϕ j ) h N β j ϕ j (x) j=0 +[{ ˆf(q(v h ), q(v+ h )) f(q(v h ))}ϕ j ] i+ 1 2 [{ ˆf(q(v h ), q(v+ h )) f(q(v+ h ))}ϕ+ j ] i 1 2 = (s h (q h ), ϕ j ) h 56 / 59

Extensions GL nodes can be used Well-balanced for any equation of state Well-balanced on adaptive meshes with hanging nodes 57 / 59

Thank You 58 / 59

References 59 / 59