High-Order Finite Difference Schemes for computational MHD

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

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

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

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

Computational Astrophysics 5 Higher-order and AMR 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

CS205b/CME306. Lecture 9

The Immersed Interface Method

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

I/O Optimization Strategies in the PLUTO Code

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

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

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

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

Numerical Methods for Hyperbolic and Kinetic Equations

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

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

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

Semi-Conservative Schemes for Conservation Laws

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

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

Partial Differential Equations

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

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

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

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

SPH: Why and what for?

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

Moving Interface Problems: Methods & Applications Tutorial Lecture II

Numerical Methods for (Time-Dependent) HJ PDEs

Lecture 1: Finite Volume WENO Schemes Chi-Wang Shu

Vector Image Polygon (VIP) limiters in ALE Hydrodynamics

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

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.

On the high order FV schemes for compressible flows

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

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

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

A-posteriori Diffusion Analysis of Numerical Schemes in Wavenumber Domain

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

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

Parallel Adaptive Tsunami Modelling with Triangular Discontinuous Galerkin Schemes

Fluent User Services Center

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

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

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

Discontinuous Fluctuation Distribution

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

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

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

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

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

About Phoenix FD PLUGIN FOR 3DS MAX AND MAYA. SIMULATING AND RENDERING BOTH LIQUIDS AND FIRE/SMOKE. USED IN MOVIES, GAMES AND COMMERCIALS.

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

Simulation gyrocinétique des plasmas de fusion magnétique

Modeling External Compressible Flow

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

Third Order WENO Scheme on Three Dimensional Tetrahedral Meshes

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

A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws

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

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

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

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

A mass-conservative version of the semi- Lagrangian semi-implicit HIRLAM using Lagrangian vertical coordinates

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

Non-Oscillatory Hierarchical Reconstruction for Central and Finite Volume Schemes

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

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

Accurate Monotonicity-Preserving Schemes with Runge Kutta Time Stepping

NON-OSCILLATORY HIERARCHICAL RECONSTRUCTION FOR CENTRAL AND FINITE VOLUME SCHEMES

The Emergence, Motion, and Disappearance of Magnetic Null Points

A Toolbox of Level Set Methods

Shallow Water Simulations on Graphics Hardware

J. Vira, M. Sofiev SILAM winter school, February 2013, FMI

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

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

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

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

Cloth Simulation. COMP 768 Presentation Zhen Wei

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

On the thickness of discontinuities computed by THINC and RK schemes

c 2005 Society for Industrial and Applied Mathematics

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

Computational Eulerian Hydrodynamics and Galilean Invariance

Level Set Methods and Fast Marching Methods

Discontinuous Galerkin Sparse Grid method for Maxwell s equations

ATM 298, Spring 2013 Lecture 4 Numerical Methods: Horizontal DiscreDzaDons April 10, Paul A. Ullrich (HH 251)

An Introduction to Flow Visualization (1) Christoph Garth

GENUINELY MULTIDIMENSIONAL NON-DISSIPATIVE FINITE VOLUME SCHEMES FOR TRANSPORT

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

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

Horizontal Mixing in the WRF-ARW Model. Russ Schumacher AT April 2006

A methodology for the rigorous verification of plasma simulation codes

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

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

Transcription:

High-Order 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

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

Motivations Why High order? reduce intrinsical numerical dissipation Achieving the same accuracy with fewer number of 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 intoduce excessive numerical dissipation: Low accuracy (2nd), smearing, clipping,squaring limit the largest achievable Reynold numbers

High Order: Finite Volume vs Finite Difference FV: Evolve average values multi-d interpolation/ / multiple Riemann problem solutions Complex to code/cpu-expensive General meshes Solve Riemann Problem

High Order: Finite Volume vs Finite Difference FV: FD: Evolve average values multi-d interpolation/ / multiple Riemann problem solutions Complex to code/cpu-expensive General meshes Evolve point-values 1-D stencils Easy and faster to code Limited to uniform meshes Solve Riemann Problem

Cell-Centered GLM-MHD Equations In [D2] 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 the max admissible speed) [D2]: Dedner et al., Hyperbolic Divergence Cleaning for the MHD equations, JCP (2002) 175, 645

Cell-Centered GLM-MHD Equations Mixed hyperbolic/parabolic 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, sub. JCP

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

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 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 s to ensure robustness and oscillation-free results Split the flux into negative and positive contributions: Reconstruct each characteristic field On 1-D 1 stencils, Bx and decouple from the remaining equations and can be solved preliminary; Use the 7x7 standard MHD wave decomposition; FD formulation available in future releases 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 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 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

Circularly Polarized Alfven Waves CP Alfven 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 Alfven Waves 3D Propagation [GS08] 3 rd rd order k y / k x = k z / k x = 2 ability to retain planar sym Order of accuracy L1 norm error 5 th 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 th order 3 rd rd order 2 nd order nd order 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;

3D Field Loop Advection 3D oblique propagation,, res = 128x128x256 grid points

Kelvin-Helmholtz Unstable Flow Single magnetized planar velocity shear layer [J97]; 2.5 Dimensions; B +U/2 M s = 1, M A = 20, = /3; Scheme & Resolution study: 64x128 128x256 256x512 -U/2 [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 Field amplification proceed faster for smaller numerical resistivity For t > 8 tearing mode instabilities lead to reconnection event prevent field amplification Growth rate computed as v y = (v( y,max related to poloidal field amplification )/2, max -v y,min )/2

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 order TVD/PPM schemes

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 effective,, easy to incorporate additional physics (e.g. viscosity) More convenient in terms of accuracy vs. CPU time, specially for 3D problems; Comparison with F.V. schemes Extension to higher accuracy in time Applications to turbulence (Molecular cloud fragmentation,, MRI, etc ) Available in next releases of the PLUTO code.

THANK YOU

Kelvin-Helmholtz Unstable Flow

Kelvin-Helmholtz Unstable Flow

Kelvin-Helmholtz Unstable Flow

Kelvin-Helmholtz Unstable Flow

Divergence of B In time for KH? For ST? As integral average?

Third-order accurate schemes 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 the accuracy and shape-preserving preserving third-order limiter [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

Fifth-order accurate schemes Based on a 5 point local stencil: WENO-Z: 5th order WENO [JS] with improved weights [BCCD] providing faster convergence and improved accuracy near critical points, 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: [JS]: Jiang, Wu, Efficient Implementation of WENO schemes, JCP (1996), 126, 202 [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