High-order, conservative, finite difference schemes for computational MHD

Similar documents
High-Order Finite Difference Schemes for computational MHD

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

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

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

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

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

CS205b/CME306. Lecture 9

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

Computational Astrophysics 5 Higher-order and AMR schemes

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

I/O Optimization Strategies in the PLUTO Code

The Immersed Interface Method

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

Advective and conservative semi-lagrangian schemes on uniform and non-uniform grids

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

New formulations of the semi-lagrangian method for Vlasov-type equations

arxiv: v1 [astro-ph] 11 Dec 2008 PIERNIK MHD CODE A MULTI FLUID, NON IDEAL EXTENSION OF THE RELAXING TVD SCHEME (I)

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

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

Numerical Methods for Hyperbolic and Kinetic Equations

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

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

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

Lagrangian methods and Smoothed Particle Hydrodynamics (SPH) Computation in Astrophysics Seminar (Spring 2006) L. J. Dursi

Lecture 1: Finite Volume WENO Schemes Chi-Wang Shu

CONSERVATIVE AND NON-CONSERVATIVE METHODS BASED ON HERMITE WEIGHTED ESSENTIALLY-NON-OSCILLATORY RECONSTRUCTION FOR VLASOV EQUATIONS

Parallel Adaptive Tsunami Modelling with Triangular Discontinuous Galerkin Schemes

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

Outline. Level Set Methods. For Inverse Obstacle Problems 4. Introduction. Introduction. Martin Burger

Numerical Methods for (Time-Dependent) HJ PDEs

Moving Interface Problems: Methods & Applications Tutorial Lecture II

SPH: Why and what for?

Semi-Conservative Schemes for Conservation Laws

A-posteriori Diffusion Analysis of Numerical Schemes in Wavenumber Domain

Vector Image Polygon (VIP) limiters in ALE Hydrodynamics

Module 1: Introduction to Finite Difference Method and Fundamentals of CFD Lecture 13: The Lecture deals with:

Partial Differential Equations

On the high order FV schemes for compressible flows

COMPARISON OF FINITE VOLUME HIGH-ORDER SCHEMES FOR THE TWO-DIMENSIONAL EULER EQUATIONS

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

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

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

Third Order WENO Scheme on Three Dimensional Tetrahedral Meshes

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

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

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

ALE and AMR Mesh Refinement Techniques for Multi-material Hydrodynamics Problems

Metafor FE Software. 2. Operator split. 4. Rezoning methods 5. Contact with friction

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

A Parallel Explicit/Implicit Time Stepping Scheme on Block-Adaptive Grids

Imagery for 3D geometry design: application to fluid flows.

The Development of a Volume-of-Fluid Interface Tracking Method for Modeling Problems in Mantle Convection

Discontinuous Fluctuation Distribution

Simulation in Computer Graphics. Particles. Matthias Teschner. Computer Science Department University of Freiburg

High-Order Central ENO Finite-Volume Scheme for Ideal MHD

Fluent User Services Center

Simulation gyrocinétique des plasmas de fusion magnétique

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

A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws

A TSTT integrated FronTier code and its applications in computational fluid physics

Radial Basis Function-Generated Finite Differences (RBF-FD): New Opportunities for Applications in Scientific Computing

Modeling External Compressible Flow

Computer Project 3. AA Computational Fluid Dyanmics University of Washington. Mishaal Aleem March 17, 2015

Hierarchical Reconstruction for Spectral Volume Method on Unstructured Grids

Table of contents for: Waves and Mean Flows by Oliver Bühler Cambridge University Press 2009 Monographs on Mechanics. Contents.

A brief description of the particle finite element method (PFEM2). Extensions to free surface

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

Georgia Institute of Technology An attempt at the classification of energy-decaying schemes for structural and multibody dynamics

Literature Report. Daniël Pols. 23 May 2018

Parallel Algorithms: Adaptive Mesh Refinement (AMR) method and its implementation

Limiters for Unstructured Higher-Order Accurate Solutions of the Euler Equations

A Higher-Order Accurate Unstructured Finite Volume Newton-Krylov Algorithm for Inviscid Compressible Flows

Computing Nearly Singular Solutions Using Pseudo-Spectral Methods

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

On the thickness of discontinuities computed by THINC and RK schemes

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

Level Set Methods and Fast Marching Methods

Computational Eulerian Hydrodynamics and Galilean Invariance

BIRS Workshop 11w Advancing numerical methods for viscosity solutions and applications

Parallelization study of a VOF/Navier-Stokes model for 3D unstructured staggered meshes

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

Downloaded 10/27/17 to Redistribution subject to SIAM license or copyright; see

Long time integrations of a convective PDE on the sphere by RBF collocation

multi-moments moments or multi-moment moment constraints:

Moment of fluid method for multimaterial flows

A methodology for the rigorous verification of plasma simulation codes

Non-Oscillatory Hierarchical Reconstruction for Central and Finite Volume Schemes

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

Modeling Unsteady Compressible Flow

This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and

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

Non-Newtonian Transitional Flow in an Eccentric Annulus

A robust reconstruction for unstructured WENO schemes 1

Modeling Skills Thermal Analysis J.E. Akin, Rice University

Shallow Water Simulations on Graphics Hardware

NON-OSCILLATORY HIERARCHICAL RECONSTRUCTION FOR CENTRAL AND FINITE VOLUME SCHEMES

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

A Toolbox of Level Set Methods

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

Numerical Investigation of Transonic Shock Oscillations on Stationary Aerofoils

Transcription:

High-order, conservative, finite difference schemes for computational MHD A. Mignone 1, P. Tzeferacos 1 and G. Bodo 2 [1] Dipartimento di Fisica Generale, Turin University, ITALY [2] INAF Astronomic Observatory of Turin, ITALY Advanced MHD, Leiden, 12/04/2011

Outline Motivations for high-order cell-centered schemes Selected formulation GLM-MHD equations Finite Difference framework: Numerical Formulation Third & Fifth order reconstruction techniques Numerical Results Conclusion & Future Developments

Motivations Why High order? Reduce intrinsic numerical dissipation Achieve the same accuracy with fewer points More practical for large scale simulations: Complex flow / multiple waves interactions Long time evolution Steady state applications Why Cell centered? Conceptually easier Facilitate extension to AMR Adaptation to more complex physics

Motivations TVD schemes may introduce excessive numerical dissipation: Low accuracy (2nd), smearing, clipping, squaring limits the largest achievable Reynolds numbers

High Order: Finite Volume vs. Finite Difference FV: Evolve average values multi-d interpolation/ multiple Riemann problem solutions [CS98][TT04][F06][B09] Complex to code/cpu-expensive General meshes Solve Riemann Problem [CS98]:Cockburn & Shu JCP (1998) 141,199 [TT04]:Titarev & Toro JCP (2004) 201,238 [F06]:Fromang et al. A&A (2006) 457, 371 [B09]:Balsara et al. JCP (2009) 228, 2480

High Order: Finite Volume vs. Finite Difference FV: Evolve average values multi-d interpolation/ multiple Riemann problem solutions [CS98][TT04][F06][B09] Complex to code/cpu-expensive General meshes FD: Evolve point-values 1-D stencils Easy and faster to code Limited to uniform meshes Solve Riemann Problem [CS98]:Cockburn & Shu JCP (1998) 141,199 [TT04]:Titarev & Toro JCP (2004) 201,238 [F06]:Fromang et al. A&A (2006) 457, 371 [B09]:Balsara et al. JCP (2009) 228, 2480

Cell-Centered GLM-MHD Equations In [D02] the B=0 constraint is enforced by introducing a new scalar field function or Generalized Lagrange Multiplier (GLM): D (ψ) is a differential operator: D (ψ) = 0: Elliptic Correction D (ψ) = ψ/c 2 p : Parabolic Correction (errors decay in time) D (ψ) = t ψ/c 2 h : Hyperbolic correction (errors propagate at max admissible speed) [D02]: Dedner et al., Hyperbolic Divergence Cleaning for the MHD equations, JCP (2002) 175, 645

Cell-Centered GLM-MHD Equations Mixed hyperbolic/parabolic correction: Offers propagation and dissipation of divergence errors; Avoid accumulation at stagnation points; preserve full conservation Explicit scheme no need for iterative solvers The system has 9 real eigenvalues where c h : is chosen to be the maximum compatible speed: See MT09 for an unsplit 2nd order implementation [MT09]: Mignone & Tzeferacos, A 2nd-order unsplit Godunov Scheme for cell-centered MHD: the CTU-GLM scheme, JCP (2010) 229, 2117

Finite Difference Formulation Method of lines, RK time stepping:

Finite Difference Formulation Method of lines, RK time stepping: Identify point values of as cell averages of : H(x) is the primitive function:

Finite Difference Formulation Method of lines, RK time stepping: Identify point values of as cell averages of : H(x) is the primitive function: Differentiation leads to unsplit!

Finite Difference Formulation Method of lines, RK time stepping: Identify point values of as cell averages of : H(x) is the primitive function: Differentiation leads to unsplit! Problem: find high-order interface values knowing undivided differences of primitive function ΔH Same as F.V. reconstructions

Finite difference schemes Reconstruction step better carried using characteristic variables to ensure robustness and oscillation-free results Split the flux into negative and positive contributions: Reconstruct each characteristic field On 1-D stencils, Bx and ψ decouple from the remaining equations and can be solved preliminary; Use the 7x7 standard MHD wave decomposition; FD formulation available in the current release of the PLUTO code [M07]. [M07]: Mignone et al., PLUTO:A numerical code fo computational Astrophysics, ApJS (2007), 170,228

3 rd and 5 th -order Accurate Schemes Third-order: based on a 3 point local stencil: WENO+3: 3rd order WENO with new weights [YC] providing faster convergence and improved accuracy near critical points, LimO3: New third-order limited polynomial reconstruction by Cada Torrilhon [CT] based on nonlinear functions Fifth-order: based on a 5 point local stencil: WENO-Z: 5th order WENO with improved weights [BCCD] providing less dissipation and higher resolution than the classical 5th order method; MP5: Monotonicity Preserving (MP) fifth-order scheme of Suresh-Huynh [SH]: interface value must lie in a certain interval to preserve monotonicity near discontinuities and accuracy in smooth regions; [YC]: Yamaleev & Carpenter, Third-order energy stable WENO scheme, JCP (2009), 228, 3025 [CT]: Cada & Torrilhon, Compact third-order limiter functions for finite volume methods, JCP (2009), 228, 4118 [BCCD]: Borges, Carmona, Costa & Don, An improved WENO scheme for hyperbolic conservation laws, JCP (2008), 227, 3191 [SH]: Suresh & Huynh, Accurate Monotonicity Preserving Schemes with Runge-Kutta Time Stepping, JCP (1997),136, 83

PLUTO code PLUTO is a finite volume, (and now finite difference) shock-capturing, fluid dynamical code designed to integrate conservation laws (HD, MHD, RHD, RMHD) Written in C with a C++ extension for its AMR library Publicly available at http://plutocode.ph.unito.it

Circularly Polarized Alfvén Waves CP Alfvén waves propagate oscillations of the transverse components of velocity vector and magnetic induction CP waves are exact nonlinear solutions of the MHD equations Useful benchmark in 1, 2 and 3D using rotated configurations

Circularly Polarized Alfvén Waves 3D Propagation [GS08] 3 rd order k y / k x = k z / k x = 2 ability to retain planar sym Order of accuracy L1 norm error N -2 5 th order N -3 N -5 Scatter plot: B 2 (i,j,k)[x 1 (i,j,k)] [GS08]: Gardiner & Stone, An unsplit Godunov method for ideal MHD via constrained transport in 3D, JCP (2008), 227, 4123

Dissipation & Long Term Decay in 2D Long term propagation (100 wave periods) in a 2D domain small inclination angle, tan α = 6 [B04] dissipation mechanism is solely numerical in nature direct measure of numerical resistivity [RJF95] 5 th order 3 rd order 2 nd order [B04]: Balsara, Second-order-accurate schemes for MHD with divergence-free reconstruction, ApJ (2004), 151,149 [RJF95]: Ryu, Jones & Frank, Numerical MHD in Astrophysics: algorithm and tests for multi-d flows, ApJ (1995), 452:785

Rotated Shock Tubes Riemann problem involving propagation of discontinuities, [GS08]; [GS08]: Gardiner & Stone, An unsplit Godunov method for ideal MHD via constrained transport in 3D, JCP (2008), 227, 4123

Field Loop Advection Advection of a weakly magnetized field loop traversing the computational domain diagonally [GS05, LD09]; For β >> 1 equivalent to advection of a passive scalar; Check the correct discretization of multi-d term in the numerical method; I.C. [GS05]: Gardiner & Stone, An unsplit Godunov method for ideal MHD via constrained transport, JCP (2005), 205,509 [LD09]: Lee & Deane, An unsplit staggered mesh scheme for multidimensional MHD, JCP (2009), 228, 952

Field Loop Advection Results at t=2 (two loop periods) for 128x64 grid points; Third-order schemes show more dissipation; All reconstruction preserve the circular shape of the loop; 5 th order 3 rd order

3D Field Loop Advection 3D oblique propagation, res = 128x128x256 grid points 5 th order 2 nd nd order* order* 3 rd order * [MT09]

Kelvin-Helmholtz Unstable Flow Single magnetized planar velocity shear layer [J97]; 2.5 Dimensions; I.C. : θ B + Μ/2 Single mode perturbation: - Μ/2 Scheme & Resolution study: 64x128 128x256 256x512 [J97]: Jones et al, MHD KH Instability. II. The roles of a weak and oblique fields in planar flows, ApJ (1997), 482:230

Kelvin-Helmholtz Unstable Flow

Kelvin-Helmholtz Unstable Flow

Kelvin-Helmholtz Unstable Flow

Kelvin-Helmholtz Unstable Flow

Kelvin-Helmholtz Unstable Flow Field amplification proceeds faster for smaller numerical resistivity For t > 8 tearing mode instabilities lead to reconnection events prevent field amplification Growth rate computed as Δv y = (v y,max -v y,min )/2, related to poloidal field amplification

CPU cost WENO+3 LimO3 WENO-Z MP5 PPM-CT KH (256x128) 3.09 2.89 3.83 3.44 - CP3D (128x64 2 ) 2.26 2.04 2.70 2.30 - OT3D (48 3 ) 3.02 2.92 4.08 3.58 1.49 WENO-Z most expensive Small additional cost ( 10-20 %) when moving from 3 rd 5 th order Better off going to higher order! FD schemes are 2.4-3 slower than second-order TVD/PPM schemes...

CPU cost L1 norm error CPA 3D test problem N -2 N -3 N -5

CPU cost L1 norm error CPA 3D test problem MP5 has approximately the same order of accuracy as PPM-CT with only 1/8 of the points 32 256

CPU cost L1 norm error CPA 3D test problem MP5 has approximately the same order of accuracy as PPM-CT with only 1/8 of the points avg. comp. time / step 0.221 (x5/3)sec 38.4 sec Total Runtime for L1~10-4 : - PPM-CT: 2h 42min 50s - MP5: 15s (x5/3) 32 256 High order methods are extremely cost effective!

Conclusions & Perspectives FD, Cell-centered schemes offer simplicity and ease of implementation; Results show high level of accuracy for both smooth and discontinuous flow features Preferred Scheme: MP5 More accurate and less dissipative than traditional 2nd order Godunov schemes; Cost-effective, easy to incorporate additional physics (e.g. viscosity) More convenient in terms of accuracy vs. CPU time, especially for 3D problems; Comparison with F.V. schemes Extension to CT Extension to higher accuracy in time Applications to turbulence (Molecular cloud fragmentation, MRI 1, etc ) Available in the current release of the PLUTO code (3.1.1)! [ 1 ]: Bodo et al, Symmetries, scaling laws and convergence in shearing-box simulations of MRI driven turbulence, Submitted to ApJ

/* *** THANK YOU!!! *** */ Mignone, Tzeferacos & Bodo JCP (2010) 229, 5896