An Efficient Low Memory Implicit DG Algorithm for Time Dependent Problems

Similar documents
Implicit Solution of Viscous Aerodynamic Flows using the Discontinuous Galerkin Method

An Efficient Low Memory Implicit DG Algorithm for Time Dependent Problems

NEWTON-GMRES PRECONDITIONING FOR DISCONTINUOUS GALERKIN DISCRETIZATIONS OF THE NAVIER-STOKES EQUATIONS

High Order Discontinuous Galerkin Methods for Aerodynamics

A Linear Multigrid Preconditioner for the solution of the Navier-Stokes Equations using a Discontinuous Galerkin Discretization. Laslo Tibor Diosady

An Introduction to the Discontinuous Galerkin Method

Multigrid Algorithms for High-Order Discontinuous Galerkin Discretizations of the Compressible Navier-Stokes Equations

arxiv: v1 [math.na] 25 Jan 2017

Optimizing Runge-Kutta smoothers for unsteady flow problems

Linear Solvers. Andrew Hazel

RANS Solutions Using High Order Discontinuous Galerkin Methods

Performance tuning of Newton-GMRES methods for discontinuous Galerkin discretizations of the Navier-Stokes equations

1. Fast Iterative Solvers of SLE

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

A Robust Preconditioned Iterative Method for the Navier-Stokes Equations with High Reynolds Numbers

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

Stabilization and Acceleration of Algebraic Multigrid Method

Multigrid Methods and their application in CFD

Preface to the Second Edition. Preface to the First Edition

Lecture 8: Fast Linear Solvers (Part 7)

Compressible Navier-Stokes (Euler) Solver based on Deal.II Library

Jacobian-Free Newton Krylov Discontinuous Galerkin Method and Physics-Based Preconditioning for Nuclear Reactor Simulations

Nonlinear iterative solvers for unsteady Navier-Stokes equations

Implementation and Comparisons of Parallel Implicit Solvers for Hypersonic Flow Computations on Unstructured Meshes

9.1 Preconditioned Krylov Subspace Methods

Solving Large Nonlinear Sparse Systems

Chapter 7 Iterative Techniques in Matrix Algebra

Iterative Methods and Multigrid

Indefinite and physics-based preconditioning

Is My CFD Mesh Adequate? A Quantitative Answer

Parallel Discontinuous Galerkin Method

Chapter 1. High-Order Discontinuous Galerkin Methods for CFD

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

PALADINS: Scalable Time-Adaptive Algebraic Splitting and Preconditioners for the Navier-Stokes Equations

Contents. Preface... xi. Introduction...

An advanced ILU preconditioner for the incompressible Navier-Stokes equations

Efficient FEM-multigrid solver for granular material

High Performance Nonlinear Solvers

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

Adaptive algebraic multigrid methods in lattice computations

Newton s Method and Efficient, Robust Variants

Iterative methods for Linear System of Equations. Joint Advanced Student School (JASS-2009)

Lecture 18 Classical Iterative Methods

Elmer. Introduction into Elmer multiphysics. Thomas Zwinger. CSC Tieteen tietotekniikan keskus Oy CSC IT Center for Science Ltd.

Higher Order Time Integration Schemes for the Unsteady Navier-Stokes Equations on Unstructured Meshes

Multigrid solvers for equations arising in implicit MHD simulations

Fourth-Order Implicit Runge-Kutta Time Marching Using A Newton-Krylov Algorithm. Sammy Isono

Multigrid absolute value preconditioning

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

Some notes about PDEs. -Bill Green Nov. 2015

Computational Linear Algebra

Preconditioning for modal discontinuous Galerkin methods for unsteady 3D Navier-Stokes equations

M.A. Botchev. September 5, 2014

Newton-Multigrid Least-Squares FEM for S-V-P Formulation of the Navier-Stokes Equations

Multigrid Approaches to Non-linear Diffusion Problems on Unstructured Meshes

Nonlinear Iterative Solution of the Neutron Transport Equation

Approximate tensor-product preconditioners for very high order discontinuous Galerkin methods

Algebraic Multigrid as Solvers and as Preconditioner

Toward Practical Aerodynamic Design Through Numerical Optimization

A Non-Intrusive Polynomial Chaos Method For Uncertainty Propagation in CFD Simulations

The solution of the discretized incompressible Navier-Stokes equations with iterative methods

A THEORETICAL INTRODUCTION TO NUMERICAL ANALYSIS

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Divergence Formulation of Source Term

Modeling Unsteady Flow in Turbomachinery Using a Harmonic Balance Technique

OUTLINE ffl CFD: elliptic pde's! Ax = b ffl Basic iterative methods ffl Krylov subspace methods ffl Preconditioning techniques: Iterative methods ILU

Unsteady Incompressible Flow Simulation Using Galerkin Finite Elements with Spatial/Temporal Adaptation

Application of Dual Time Stepping to Fully Implicit Runge Kutta Schemes for Unsteady Flow Calculations

Department of Computer Science, University of Illinois at Urbana-Champaign

Finding Rightmost Eigenvalues of Large, Sparse, Nonsymmetric Parameterized Eigenvalue Problems

Derivatives for Time-Spectral Computational Fluid Dynamics using an Automatic Differentiation Adjoint

Space-time Discontinuous Galerkin Methods for Compressible Flows

C1.2 Ringleb flow. 2nd International Workshop on High-Order CFD Methods. D. C. Del Rey Ferna ndez1, P.D. Boom1, and D. W. Zingg1, and J. E.

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

The Conjugate Gradient Method

Preconditioning for Nonsymmetry and Time-dependence

arxiv: v1 [math.na] 14 May 2016

Lecture 17: Iterative Methods and Sparse Linear Algebra

Courant Institute of Mathematical Sciences, New York University, New York, NY 10012,

FEniCS Course. Lecture 0: Introduction to FEM. Contributors Anders Logg, Kent-Andre Mardal

Fast Iterative Solution of Saddle Point Problems

FOR many computational fluid dynamics (CFD) applications, engineers require information about multiple solution

Interior penalty tensor-product preconditioners for high-order discontinuous Galerkin discretizations

Lab 1: Iterative Methods for Solving Linear Systems

Output-Based Error Estimation and Mesh Adaptation in Computational Fluid Dynamics: Overview and Recent Results

Solving Ax = b, an overview. Program

A Stable Spectral Difference Method for Triangles

Multipole-Based Preconditioners for Sparse Linear Systems.

Preconditioners for the incompressible Navier Stokes equations

A comparison of Rosenbrock and ESDIRK methods combined with iterative solvers for unsteady compressible

Preconditioned Smoothers for the Full Approximation Scheme for the RANS Equations

Progress in Mesh-Adaptive Discontinuous Galerkin Methods for CFD

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

ITERATIVE METHODS FOR SPARSE LINEAR SYSTEMS

Iterative Methods for Incompressible Flow

A new class of preconditioners for discontinuous Galerkin methods for unsteady 3D Navier-Stokes equations: ROBO-SGS

AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 23: GMRES and Other Krylov Subspace Methods; Preconditioning

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

Partial Differential Equations

Course Notes: Week 1

Transcription:

An Efficient Low Memory Implicit DG Algorithm for Time Dependent Problems P.-O. Persson and J. Peraire Massachusetts Institute of Technology 2006 AIAA Aerospace Sciences Meeting, Reno, Nevada January 9, 2006 1

Background High-order Discontinuous Galerkin methods have many attractive features However: Very stiff systems for practical applications High computational cost and storage requirements Objective: Identify effective solution strategy for implicit solution of realistic problems Experiment with several approaches Identify optimal strategy 2

Equations and Discretization We consider the time-dependent compressible Navier-Stokes equations: u t + F i(u) F v (u, u) = 0 Discretization in space using DG gives system of ODEs: M U = F v (U) F i (U) R(U) Discretization by BDF-k in time leads to nonlinear system R BDF (U n ) M k i=0 α i U n i tr(u n ) = 0 with mass-matrix M and residual R(U n ) 3

Equations and Discretization Newton s method requires solving U (j+1) n = U (j) n + β U (j) n with the Jacobian J(U n ) = dr BDF du n = α 0 M t dr du n α 0 M tk α 0 1 for k = 0,..., 4 Study the solution of A = M tk using iterative techniques 4

Matrix Structure First-Order Systems DG discretization of first-order equations connects elements with neighboring face nodes Can be stored with compact dense block storage Separate treatment of diagonal blocks and off-diagonal connections Mesh Jacobian 4 1 2 3 5

Matrix Structure Viscous Terms The LDG method introduces additional variables q = u Resulting system can be written: K v = F v U + F v Q M 1 C where each matrix in the RHS has first-order structure (only neighbors) Multiplication connects neighbors neighbors = Wide stencil Proposed representation: Keep factors, store in structured format = 6

Test Problem - Flow over Duct Inviscid flow Structured, almost uniform mesh, 384 elements, p = 4 7

Test Problem - Flat Plate Boundary Layer Reynolds number 50,000 Structured, graded mesh, 224 elements, stretching 20, p = 4 8

Test Problem - Flow around NACA Wing Reynolds number 1000 Unstructured, graded but isotropic mesh, 735 elements, p = 4 9

Iterative Solvers for Linear Systems Block-Jacobi Simple, but can be efficient for certain problems Convergence depends only weekly on approximation order p Asymptotically poor convergence for viscous model problems Krylov subspace methods Generally better convergence, in particular for model problems Can be improved by preconditioning For unsymmetric matrices: GMRES, GMRES(k), QMR, CGS, etc Computational cost for high-order discretizations dominated by matrix-vector products and preconditioning Except possibly GMRES for large number of iterations 10

Convergence of Iterative Solvers Convergence of various solvers with block-diagonal preconditioner GMRES/GMRES(20)/CGS comparable cost, QMR about twice as much Block Jacobi great when it works, but unreliable From now on, focus on GMRES(20) for studying preconditioners Error 10 8 10 7 10 6 10 5 NACA, t=10 3 Error 10 8 10 7 10 6 10 5 10 4 NACA, t=10 1 Block Jacobi QMR CGS GMRES(20) GMRES 10 4 0 0 30 40 50 60 # Matrix Vector products 0 50 100 150 200 250 300 350 400 450 500 # Matrix Vector products 11

Preconditioners for Krylov Methods Performance of Krylov methods greatly improved by preconditioning Essentially find approximate solver for Au = b Various methods: Simple matrix-based, e.g. block-diagonal A blockdiag(a) Complex matrix-based, e.g. block-incomplete LU A LŨ Physics-based, e.g. multi-scale or low-degree preconditioner We are only interested in low-memory methods (storage A itself): Block-ILU(0) Gaussian elimination without fill-in Cost of factorization similar to inverting block diagonal Cost of back-solves similar to matrix-vector product Ignore neighbors neighbors in LDG discretization Coarse-scale Precondition with p = 1 discretization 12

Block-ILU(0) Smoothing for p = 1 Preconditioner In multigrid applications it it well-known ILU can be an effective smoother (it reduces high frequency errors) We have found that pre-smoothing a low-degree preconditioner for DG systems with Block-ILU(0) gives a remarkably effective method: 1. Solve LŨu = b with block ILU(0) factorization A LŨ 2. Compute the residual r = b Au 3. Compute p = 1 projection r L of r using the Koornwinder basis 4. Solve exactly (e.g. with direct solver) A L e L = r, with A L projected from A 5. Compute prolongation e from e L 6. Add correction u = u + e 7. Compute u by applying a Jacobi step to u 13

Convergence with Preconditioners Convergence of GMRES(20) for various preconditioners p1 preconditioning with Jacobi smoothing better than Block-ILU(0) (but likely more expensive) p1-ilu(0) excellent performance, in particular for low Mach 10 6 10 5 10 4 NACA, M=0.2, t=1.0 10 7 10 6 10 5 NACA, M=0.01, t=1.0 Block diagonal ILU(0) p1 correction p1 ILU(0) Error Error 10 4 10 0 10 1 0 20 40 60 80 100 120 140 160 180 200 # GMRES Iterations 10 0 0 50 100 150 200 250 300 350 400 # GMRES Iterations 14

Timestep Dependence - Duct Problem #GMRES iterations as function of timestep t for various preconditioners Performances scale similarly for wide range of t, except for low Mach Also need very large timesteps to beat explicit techniques (dashed line), because of uniform mesh and no viscosity Duct, M=0.2 Duct, M=0.01 # GMRES Iterations 10 0 10 6 10 4 10 2 10 0 10 4 10 6 Timestep # GMRES Iterations 10 0 10 6 10 4 10 2 10 0 10 4 10 6 Timestep Explicit Block diagonal ILU(0) p1 correction p1 ILU(0) 15

Timestep Dependence - Boundary Layer Problem Results similar to before, but implicit methods more favorable than explicit because of viscosity and mesh grading Boundary layer, M=0.2 Boundary layer, M=0.01 # GMRES Iterations 10 0 10 6 10 4 10 2 10 0 10 4 10 6 Timestep # GMRES Iterations 10 0 10 6 10 4 10 2 10 0 10 4 10 6 Timestep Explicit Block diagonal ILU(0) p1 correction p1 ILU(0) 16

Timestep Dependence - NACA Problem Again similar to before, but p1 with Jacobi now better than ILU(0), likely because of higher viscosity and/or less graded mesh NACA, M=0.2 NACA, M=0.01 # GMRES Iterations 10 0 10 6 10 4 10 2 10 0 10 4 10 6 Timestep # GMRES Iterations 10 0 10 6 10 4 10 2 10 0 10 4 10 6 Timestep Explicit Block diagonal ILU(0) p1 correction p1 ILU(0) 17

Mach Number Dependence (NACA Problem) Most methods perform very poor on low Mach problems However, the p1-ilu(0) preconditioner appears to make convergence almost independent of Mach number NACA, t=1.0 # GMRES Iterations 10 0 10 3 10 2 10 1 10 0 Mach Number Block diagonal ILU(0) p1 correction p1 ILU(0) 18

Conclusions Efficient implicit timestepping of high-order DG problems Total memory requirement of same order as Jacobian matrices Wide stencil of LDG circumvented by structured block storage and ILU preconditioning of compact stencil Block-ILU(0) smoothing for low-degree preconditioner ( p1-ilu(0) ) a promising scheme Great performance and low cost Handles low Mach numbers remarkably well Future work includes further verification of the performance of p1-ilu(0) (3-D problems, higher Reynolds, turbulence modeling, etc) 19