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

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

A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws

Divergence Formulation of Source Term

Implicit Solution of Viscous Aerodynamic Flows using the Discontinuous Galerkin Method

Physical Diffusion Cures the Carbuncle Phenomenon

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

AProofoftheStabilityoftheSpectral Difference Method For All Orders of Accuracy

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

First, Second, and Third Order Finite-Volume Schemes for Diffusion

Final abstract for ONERA Taylor-Green DG participation

The hybridized DG methods for WS1, WS2, and CS2 test cases

Active Flux for Advection Diffusion

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

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

Problem C3.5 Direct Numerical Simulation of the Taylor-Green Vortex at Re = 1600

An Introduction to the Discontinuous Galerkin Method

Well-balanced DG scheme for Euler equations with gravity

Continuous adjoint based error estimation and r-refinement for the active-flux method

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

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

Advection / Hyperbolic PDEs. PHY 604: Computational Methods in Physics and Astrophysics II

Numerical Solution Techniques in Mechanical and Aerospace Engineering

Well-balanced DG scheme for Euler equations with gravity

A Stable Spectral Difference Method for Triangles

Is My CFD Mesh Adequate? A Quantitative Answer

Finite Volume Schemes: an introduction

Numerical Solutions for Hyperbolic Systems of Conservation Laws: from Godunov Method to Adaptive Mesh Refinement

Chapter 1. Introduction

APPLICATION OF SPACE-TIME MAPPING ANALYSIS METHOD TO UNSTEADY NONLINEAR GUST-AIRFOIL INTERACTION PROBLEM

Solving the Euler Equations!

Extension to moving grids

2.2. Methods for Obtaining FD Expressions. There are several methods, and we will look at a few:

arxiv: v1 [math.na] 23 Jun 2017

Progress in Mesh-Adaptive Discontinuous Galerkin Methods for CFD

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

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

arxiv: v4 [physics.flu-dyn] 23 Mar 2019

WALL RESOLUTION STUDY FOR DIRECT NUMERICAL SIMULATION OF TURBULENT CHANNEL FLOW USING A MULTIDOMAIN CHEBYSHEV GRID

Angular momentum preserving CFD on general grids

Improvement of convergence to steady state solutions of Euler equations with. the WENO schemes. Abstract

A New Fourth-Order Non-Oscillatory Central Scheme For Hyperbolic Conservation Laws

Sub-Cell Shock Capturing for Discontinuous Galerkin Methods

Math 7824 Spring 2010 Numerical solution of partial differential equations Classroom notes and homework

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

Recent Developments in the Flux Reconstruction Method

5. FVM discretization and Solution Procedure

The RAMSES code and related techniques I. Hydro solvers

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

C e n t r u m v o o r W i s k u n d e e n I n f o r m a t i c a

A Comparison between the Two-fluid Plasma Model and Hall-MHD for Captured Physics and Computational Effort 1

Locally Linearized Euler Equations in Discontinuous Galerkin with Legendre Polynomials

A Multi-Dimensional Limiter for Hybrid Grid

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

Block-Structured Adaptive Mesh Refinement

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

Computational Fluid Dynamics-1(CFDI)

VISCOUS FLUX LIMITERS

Cavitation modeling using compressible Navier Stokes and Korteweg equations

arxiv: v1 [physics.comp-ph] 21 Nov 2018

Conservation Laws & Applications

Basic Aspects of Discretization

Affordable, entropy-consistent, Euler flux functions

Introduction to Finite Volume projection methods. On Interfaces with non-zero mass flux

DG Methods for Aerodynamic Flows: Higher Order, Error Estimation and Adaptive Mesh Refinement

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

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

Partial differential equations

Emerging Numerical Methods for Atmospheric Modeling

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

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

Space-time Discontinuous Galerkin Methods for Compressible Flows

Spatial and Modal Superconvergence of the Discontinuous Galerkin Method for Linear Equations

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

MULTIGRID CALCULATIONS FOB. CASCADES. Antony Jameson and Feng Liu Princeton University, Princeton, NJ 08544

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

A Scalable, Parallel Implementation of Weighted, Non-Linear Compact Schemes

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

Positivity-preserving high order schemes for convection dominated equations

A Finite Volume Code for 1D Gas Dynamics

Assessment of Implicit Implementation of the AUSM + Method and the SST Model for Viscous High Speed Flow

AN OPTIMALLY ACCURATE SPECTRAL VOLUME FORMULATION WITH SYMMETRY PRESERVATION

Numerical Methods for Conservation Laws WPI, January 2006 C. Ringhofer C2 b 2

The one-dimensional equations for the fluid dynamics of a gas can be written in conservation form as follows:

Chapter 2 Finite-Difference Discretization of the Advection-Diffusion Equation

Multi-D MHD and B = 0

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

Numerical Solutions to Partial Differential Equations

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

High-Order Methods for Diffusion Equation with Energy Stable Flux Reconstruction Scheme

HIGH ORDER LAX-WENDROFF-TYPE SCHEMES FOR LINEAR WAVE PROPAGATION

The Center for Astrophysical Thermonuclear Flashes. FLASH Hydrodynamics

An Improved Non-linear Weights for Seventh-Order WENO Scheme

Finite volume method on unstructured grids

Direct Numerical Simulations of a Two-dimensional Viscous Flow in a Shocktube using a Kinetic Energy Preserving Scheme

A STUDY OF MULTIGRID SMOOTHERS USED IN COMPRESSIBLE CFD BASED ON THE CONVECTION DIFFUSION EQUATION

Fourier analysis for discontinuous Galerkin and related methods. Abstract

Chapter 1. Introduction and Background. 1.1 Introduction

3. FORMS OF GOVERNING EQUATIONS IN CFD

Chapter 1. Introduction to Nonlinear Space Plasma Physics

An Efficient Low Memory Implicit DG Algorithm for Time Dependent Problems

Transcription:

A recovery-assisted DG code for the compressible Navier-Stokes equations January 6 th, 217 5 th International Workshop on High-Order CFD Methods Kissimmee, Florida Philip E. Johnson & Eric Johnsen Scientific Computing and Flow Physics Laboratory Mechanical Engineering Department University of Michigan, Ann Arbor

Code Overview Basic Features: Spatial Discretization: Discontinuous Galerkin, nodal basis Time Integration: Explicit Runge-Kutta (4 th order and 8 th order available) Riemann solver: Roe, SLAU2 Quadrature: One quadrature point per basis function Non-Standard Features: Discontinuity Sensor: Detects shock/contact discontinuities, tags troubled elements ICB reconstruction: compact technique, adjusts Riemann solver arguments Compact Gradient Recovery (CGR): Mixes Recovery with traditional mixed formulation for viscous terms Shock Capturing: PDE-based artificial dissipation inspired by C-method of Reisner et al. 1 Kitamura & Shima, JCP 213 Reisner et al., JCP 213

Shock Capturing for Euler Equations Approach: Store and evolve artificial dissipation coefficients (C x, C y ) as extra flow variables t ρ ρu ρv E C x C y = x ρu ρu 2 + p ρuv u E + p + y ρv ρuv ρv 2 + p v E + p + Euler equations x κ x ρ, x κ x ρu, x κ x ρv, x κ x E, x μ S C,x x + y κ y ρ, y κ y ρu, y κ y ρv, y κ y E, y μ s C,y y + G x Cx ε G y Cy ε Artificial dissipation + C-diffusion Source/Sink term for C variable 2

Shock Capturing for Euler Equations Approach: Store and evolve artificial dissipation coefficients (C x, C y ) as extra flow variables κ x ~C x, κ y ~C y element width ε = h = p poloynomial order G x, G y = in non-troubled elements (known from sensor) In troubled elements: G x ~ u x, Gy ~ v y x κ x ρ, x κ x ρu, x κ x ρv, x κ x E, x μ S C,x x + y κ y ρ, y κ y ρu, y κ y ρv, y κ y E, y μ s C,y y + G x Cx ε G y Cy ε Artificial dissipation + C-diffusion Source/Sink term for C variable 3

Recovery Demonstration: p = 3 Ω A Ω B 4

Recovery Demonstration: p = 3 Recovered solution (degree 2p + 1 = 7 polynomial) more accurate at interface Ω A Ω B 4

Recovery Demonstration: p = 3 ICB reconstructions (degree p + 2 = 4) equal at closest quadrature points Ω A Ω B 4

Our Approach vs. Conventional DG For diffusive fluxes: CGR maintains compact stencil, offers advantages over BR2 Larger allowable explicit timestep size Improved wavenumber resolution For advection problems: DG weak form: Must calculate flux along interfaces Conventional approach (upwind DG): plug in left/right values of DG solution Conventional approach: Our approach: ICB reconstruction scheme Replace left/right solution values with ICB reconstruction: 5 Johnson & Johnsen, AIAA Aviation 217 Khieu & Johnsen, AIAA Aviation 214

Vortex Transport Case (VI1) Setup 1: p = 1, RK4, SLAU Riemann solver Setup 2: p = 3, RK8 (13 stages), SLAU Riemann solver ICB usage: Apply ICB on Cartesian meshes, conventional DG otherwise EQ: Global L 2 error of v: E v = Ω v v 2 dv Ω dv Convergence: order 2p + 2 on Cartesian mesh, order 2p on perturbed quad mesh 6 Cash & Karp, ACMTMS 199

Shock-Vortex Interaction (CI2) Configurations: Cartesian (p = 1), Cartesian (p = 3), Irregular Simplex p = 1 Setup: RK4 time integration, SLAU (Cartesian) and Roe (Simplex) Riemann solvers Shock Capturing: PDE-based artificial dissipation ICB usage: Only on Cartesian grids Quad p = 1 Ny = 3 Quad p = 3 Ny = 3 Simplex p = 1 Ny = 3 7

Taylor-Green Test (WS1) Code setup: p2 elements, uniform hex mesh (27 DOF/element), RK4 time integration Reference result taken from HiOCFD3 workshop Our approach allows larger stable time step ICB+CGR: 2.5 CPU-hours Conventional: 9.2 CPU-Hours ICB+CGR: 75 CPU-hours Conventional: 34 CPU-Hours 8

Conclusions Were the verification cases helpful and which ones were used? Vortex transport: Shows that ICB is implemented properly TGV: demonstrates value of ICB+CGR for nonlinear problem What improvements are needed to the test case? Meshes for vortex transport problem are tough to work with (GMSH input file preferred) Shock-Vortex interaction: No improvement, test case is perfect TGV: Standardize energy spectrum calculation and make reference data more easily accessible Did the test case prompt you to improve your methods/solver Yes: added shock capturing on non-cartesian elements 9

Conclusions What worked well with your method/solver? Feature resolution on Cartesian meshes (ICB very helpful) What improvements are necessary to your method/solver? Implicit/Explicit time integration for advection-diffusion Recovery troublesome on non-cartesian elements Parallel efficiency with solution-adaptive approach Curved elements SciTech Talk Title: A Compact Discontinuous Galerkin Method for Advection-Diffusion Problems Session: FD-33, High-Order CFD Methods 1 Setting: Sun 2, January 1, 9:3 AM Acknowledgements Computing resources were provided by the NSF via grant 1531752 MRI: Acquisition of Conflux, A Novel Platform for Data-Driven Computational Physics (Tech. Monitor: Ed Walker). 1

References Kitamura, K. & Shima, E., Towards shock-stable and accurate hypersonic heating computations: A new pressure flux for AUSM-family schemes, Journal of Computational Physics, Vol. 245, 213. Reisner, J., Serensca, J., Shkoller, S., A space-time smooth artificial viscosity method for nonlinear conservation laws, Journal of Computational Physics, Vol. 235, 213. Johnson, P.E. & Johnsen, E., A New Family of Discontinuous Galerkin Schemes for Diffusion Problems, 23 rd AIAA Computational Fluid Dynamics Conference, 217. Khieu, L.H. & Johnsen, E., Analysis of Improved Advection Schemes for Discontinuous Galerkin Methods, 7 th AIAA Theoretical Fluid Dynamics Conference, 211. Cash, J.R. & Karp, A.H., A Variable Order Runge-Kutta Method for Initial Value Problems with Rapidly Varying Right-Hand Sides, ACM Transactions on Mathematical Software, Vol. 16, No. 3, 199.

Spare Slides

CGR = Mixed Formulation + Recovery Gradient approximation in Ω e : Weak equivalence with U: Integrate by parts for σ weak form: Must choose interface U approximation from available data BR2: Take average of left/right solutions at the interface Compact Gradient Recovery (CGR): U = recovered solution Interface gradient: CGR formulated to maintain compact stencil 5

The Recovery Concept Recovery: reconstruction technique introduced by Van Leer and Nomura in 25 Recovered solution (f AB ) and DG solution (U h ) are equal in the weak sense Generalizes to 3D hex elements via tensor product basis Recovered Solution for : K R = 2p + 2 constraints for f AB : Ω A Ω B Interface Solution along : r Representations of U x = sin 3 (x π 3 ) Van Leer & Nomura, AIAA Conf. 25

Exact Distribution U Recovery DG DG solution: U h A, U h B Recovered solution: f AB Ω A Ω A Ω A Ω B Ω B Ω B U = x + y + sin 2πxy Recovered solution is continuous across the interface, uniquely defines (U, U) Conventional DG approaches for Navier-Stokes lack this property Van Leer & Nomura, AIAA Conf. 25 Schematic from [Johnson & Johnsen, APS DFD 215]

Recovery Demonstration: All Solutions

The ICB reconstruction Each interface gets a pair of ICB reconstructions, one for each element: Example: p = 1 (2 DOF/element) U = e x sin( 3πx 4 ) K ICB = p + 2 coefficients per element: Ω A Ω B r Constraints for U A ICB : (Similar for U B ICB ) k {,1, p} Choice of Θ B affects behavior of ICB scheme Illustration uses Θ B = 1

The Θ Function: ICB-Modal vs. ICB-Nodal ICB-Modal (original): Θ A = Θ B = 1 is lowest mode in each element s solution ICB-Nodal (new approach): Θ is degree p Lagrange interpolant Use Gauss-Legendre quadrature nodes as interpolation points Take Θ nonzero at closest quadrature point Sample Θ choice for p = 3: Each Θ is unity at quadrature point nearest interface

The Θ Function: ICB-Modal vs. ICB-Nodal ICB-Modal: Each U ICB matches the average of U h in neighboring cell ICB-Nodal: Each U ICB matches U h at near quadrature point

Fourier analysis performed on 2 configurations: Conventional: Upwind DG + BR2 New: ICB-Nodal + CGR 1) Linear advection-diffusion, 1D: Fourier Analysis Analysis Procedure : Scheme F U udg + BR2 ICB + CGR 2) Define element Peclet number: 3) Set Initial condition: 4) Cast numerical scheme in matrix-vector form: Watkins et al., Computers & Fluids 216

5) Diagonalize the update matrix: 6) Calculate initial expansion weights, β: Fourier Analysis Watkins et al. derived estimate for initial error growth: λ n = n th eigenvalue of Eigenvalue corresponding to exact solution: Eigenvalue Example: ICB+CGR, p = 2, PE h = 1, λ ex = i 1ω ω 2 Watkins et al., Computers & Fluids 216

Wavenumber Resolution To calculate wavenumber resolution: 1) Define some error tolerance(ε) and Peclet number (PE h ) 2) Identify cutoff wavenumber, ω f according to: 3) Calculate resolving efficiency: Watkins et al., Computers & Fluids 216

Scheme Comparison: PE h = 1 Fourier analysis, Linear advection-diffusion Resolving efficiency measures effectiveness of update scheme s consistent eigenvalue P Conventional ICB + CGR 1.296.113 2.531.776 3.844.1113 4.122.1225 5.1196.134 P Conventional ICB + CGR 1.94.2389 2.12.1793 3.1451.1755 4.1677.2628 5.1743.1874

Compact Gradient Recovery (CGR) Approach Similar to BR2: Manage flow of information by altering gradient reconstruction 1D Case shown for simplicity: Let g A, g B be gradient reconstructions in Ω A, Ω B Perform Recovery over g A, g B for σ on the shared interface Ω A Ω B

The ICB Approach (Specifically, ICBp[]) Recovery is applicable ONLY for viscous terms; unstable for advection terms. Interface-Centered Binary (ICB) reconstruction scheme modifies Recovery approach for hyperbolic PDE. Example with p1 elements: Representations of U x = sin 3 x + x2 2 Process Description: 1. Start with the DG polynomials U A h in Ω A and U b h in Ω B. Ω A Ω B

The ICB Approach (Specifically, ICBp[]) Process Description: 1. Start with the DG polynomials U A h in Ω A and U b h in Ω B. 2. Obtain reconstructed solution U A ICB in Ω A, containing p + 2 DOF. Example with p1 elements: Representations of U x = sin 3 x + x2 2 U ICB A φ k dx = U h A φ k dx Ω A Ω A U ICB A dx = U h B dx Ω B Ω B k {1.. K} Ω A Ω B

The ICB Approach (Specifically, ICBp[]) Process Description: 1. Start with the DG polynomials U A h in Ω A and U b h in Ω B. 2. Obtain reconstructed solution U A ICB in Ω A, containing p + 2 DOF. Example with p1 elements: Representations of U x = sin 3 x + x2 2 U ICB A φ k dx = U h A φ k dx Ω A Ω A U ICB A dx = U h B dx Ω B Ω B k {1.. K} 3. Perform similar operation for U B ICB 4. Use ICB solutions as inputs to H conv (U +, U ) ICB Method achieves 2p + 2 order of accuracy Generalizes to 2D via tensor-product basis Ω A Ω B

Discontinuity Sensor Approach: Check cell averages for severe density/pressure jumps across element interfaces 1) Calculate U=cell average for each element 2) At each interface, use sensor of Lombardini to check for shock wave: i. If Lax entropy condition satisfied (hat denotes Roe average at interface): ii. Check pressure jump: iii. If Φ >.1, tag both elements as troubled 3) At each interface, check for contact discontinuity i. Calculate wave strength propagating the density jump: ii. iii. Check relative strength: If Ξ >.1, tag both elements as troubled