Hydrodynamics of stellar explosions



Similar documents
ME6130 An introduction to CFD 1-1

Express Introductory Training in ANSYS Fluent Lecture 1 Introduction to the CFD Methodology

Advanced CFD Methods 1

Interactive simulation of an ash cloud of the volcano Grímsvötn

Performance Comparison and Analysis of Different Schemes and Limiters

Introduction to CFD Analysis

Numerical Analysis of the Jeans Instability

Introduction to CFD Analysis

Sound. References: L.D. Landau & E.M. Lifshitz: Fluid Mechanics, Chapter VIII F. Shu: The Physics of Astrophysics, Vol. 2, Gas Dynamics, Chapter 8

TFAWS AUGUST 2003 VULCAN CFD CODE OVERVIEW / DEMO. Jeffery A. White. Hypersonic Airbreathing Propulsion Branch

Model of a flow in intersecting microchannels. Denis Semyonov

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

Customer Training Material. Lecture 2. Introduction to. Methodology ANSYS FLUENT. ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.

CFD Based Air Flow and Contamination Modeling of Subway Stations

Part II: Finite Difference/Volume Discretisation for CFD

Lecture 3 Fluid Dynamics and Balance Equa6ons for Reac6ng Flows

The HLLC Riemann Solver

Simulation of magneto-hydrodynamic (MHD) flows: electric potential formulation

Computational Fluid Dynamics (CFD) and Multiphase Flow Modelling. Associate Professor Britt M. Halvorsen (Dr. Ing) Amaranath S.

Lecture 16 - Free Surface Flows. Applied Computational Fluid Dynamics

Solar Ast ro p h y s ics

Introduction to CFD Basics

Graduate Certificate Program in Energy Conversion & Transport Offered by the Department of Mechanical and Aerospace Engineering

MEL 807 Computational Heat Transfer (2-0-4) Dr. Prabal Talukdar Assistant Professor Department of Mechanical Engineering IIT Delhi

Heating & Cooling in Molecular Clouds

ρe tot ρu ρv ρw ρ q = ρh tot v ρuv f y = ρv 2 + P ρwv ρv

Ravi Kumar Singh*, K. B. Sahu**, Thakur Debasis Mishra***

OpenFOAM Optimization Tools

NUMERICAL SIMULATION OF REGULAR WAVES RUN-UP OVER SLOPPING BEACH BY OPEN FOAM

INTRODUCTION TO FLUID MECHANICS

11 Navier-Stokes equations and turbulence

Hardware-Aware Analysis and. Presentation Date: Sep 15 th 2009 Chrissie C. Cui

4 Microscopic dynamics

Basic Equations, Boundary Conditions and Dimensionless Parameters

Numerical Methods for Differential Equations

Contents. Microfluidics - Jens Ducrée Physics: Navier-Stokes Equation 1

CFD modelling of floating body response to regular waves

Course Outline for the Masters Programme in Computational Engineering

Dimensionless form of equations

A CODE VERIFICATION EXERCISE FOR THE UNSTRUCTURED FINITE-VOLUME CFD SOLVER ISIS-CFD

Modelling and Computation of Compressible Liquid Flows with Phase Transition

Grid adaptivity for systems of conservation laws

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

FLOODING AND DRYING IN DISCONTINUOUS GALERKIN DISCRETIZATIONS OF SHALLOW WATER EQUATIONS

Extension of the OpenFOAM CFD tool set for modelling multiphase flow

ABSTRACT FOR THE 1ST INTERNATIONAL WORKSHOP ON HIGH ORDER CFD METHODS

(Toward) Radiative transfer on AMR with GPUs. Dominique Aubert Université de Strasbourg Austin, TX,

TECHNICAL BRIEF: Selected Benchmarks from Commercial CFD Codes

Computational fluid dynamics (CFD) 9 th SIMLAB Course

亞 太 風 險 管 理 與 安 全 研 討 會

Customer Training Material. Lecture 5. Solver Settings ANSYS FLUENT. ANSYS, Inc. Proprietary 2010 ANSYS, Inc. All rights reserved.

Advanced Computational Fluid Dynamics AA215A Lecture 5

NUMERICAL ANALYSIS OF THE EFFECTS OF WIND ON BUILDING STRUCTURES

Module 6 Case Studies

Free Convection Film Flows and Heat Transfer

CFD and wave and current induced loads on offshore wind turbines

Introduction to Computational Fluid Dynamics

Optimization of Supply Chain Networks

Real Time Simulation of Power Plants

How To Know If A Solution Of The Navier-Stokes Equations Is Smooth

Multiphase Flow - Appendices

Lecturer, Department of Engineering, Lecturer, Department of Mathematics,

POLITECNICO DI MILANO Department of Energy

Finite Difference Approach to Option Pricing

CCTech TM. ICEM-CFD & FLUENT Software Training. Course Brochure. Simulation is The Future

Chapter 9 Summary and outlook

Lecture 4 Classification of Flows. Applied Computational Fluid Dynamics

Modeling and Simulations of Cavitating and Bubbly Flows

An Introduction to Hydrocode Modeling. Gareth S. Collins

Iterative Solvers for Linear Systems

A COMPUTATIONAL FLUID DYNAMICS STUDY ON THE ACCURACY OF HEAT TRANSFER FROM A HORIZONTAL CYLINDER INTO QUIESCENT WATER

Reading: Ryden chs. 3 & 4, Shu chs. 15 & 16. For the enthusiasts, Shu chs. 13 & 14.

CFD Applications using CFD++ Paul Batten & Vedat Akdag

Monifysikaalisten ongelmien simulointi Elmer-ohjelmistolla. Simulation of Multiphysical Problems with Elmer Software

Effect of Aspect Ratio on Laminar Natural Convection in Partially Heated Enclosure

Multigrid preconditioning for nonlinear (degenerate) parabolic equations with application to monument degradation

Fundamentals of Fluid Mechanics

APPENDIX 3 CFD CODE - PHOENICS

Gravitational instabilities in protostellar discs and the formation of planetesimals

Chapter 2. Derivation of the Equations of Open Channel Flow. 2.1 General Considerations

Modeling of Earth Surface Dynamics and Related Problems Using OpenFOAM

Introduction to Computational Fluid Dynamics (CFD) for Combustion. (801)

Coupling micro-scale CFD simulations to meso-scale models

CFD Application on Food Industry; Energy Saving on the Bread Oven

A subgrid-scale model for the scalar dissipation rate in nonpremixed combustion

Modeling Rotor Wakes with a Hybrid OVERFLOW-Vortex Method on a GPU Cluster

High Speed Aerodynamics Prof. K. P. Sinhamahapatra Department of Aerospace Engineering Indian Institute of Technology, Kharagpur

Three-dimensional Simulation of Magnetized Cloud Fragmentation Induced by Nonlinear Flows and Ambipolar Diffusion

Lecture 14. Introduction to the Sun

Harvesting-Combine-Flow Simulation Technique

Perfect Fluidity in Cold Atomic Gases?

TWO-DIMENSIONAL FINITE ELEMENT ANALYSIS OF FORCED CONVECTION FLOW AND HEAT TRANSFER IN A LAMINAR CHANNEL FLOW

Dimensional Analysis

AN EFFECT OF GRID QUALITY ON THE RESULTS OF NUMERICAL SIMULATIONS OF THE FLUID FLOW FIELD IN AN AGITATED VESSEL

Kinetic effects in the turbulent solar wind: capturing ion physics with a Vlasov code

Fluid Dynamics and the Navier-Stokes Equation

OpenFOAM Opensource and CFD

Comparison of flow regime transitions with interfacial wave transitions

ATM 316: Dynamic Meteorology I Final Review, December 2014

Transcription:

Some basic hydrodynamics The art of CFD Hydrodynamic challenges in stellar explosions Hydrodynamics of stellar explosions

General: Literature L.D.Landau & E.M.Lifshitz, Fluid Mechanics, Pergamon (1959) R.J.LeVeque, D.Mihalas, E.A.Dorfi & E.Müller, Computational Methods for Astrophysical Fluid Flow, Saas Fee Advanced Course 27, Springer (1998) E.Müller, Fundamentals of Gas Dynamical Simulations, in Galactic Dynamics and N Body Simulations, eds. G.Cantopoulos, N.K.Spyrou & L.Vlahos, LNP 433, p.313 364 (1994) C.B.Laney, Computational Gasdynamics, Cambridge Univ.Press (1998) E.F.Toro, Riemann Solvers and Numerical Methods for Fluid Dynamics: A Practical Introduction, Springer (1997) Specific topics: T.Plewa & E.Müller, The Consistent Multi Fluid Method, A&A 342, 179 (1999) T.Plewa & E.Müller, AMRA: An Adaptive Mesh Refinement Hydrodynamic Code, CPC 138, 101 (2001)

hydrodynamic equations are derivable from microscopic kinetic equations (Liouville, Boltzmann) under two assumptions (i) microscopic behaviour of single particles can be neglected (λ << L) Some basic hydrodynamics (ii) forces between particles saturate (short range forces!)

Some basic hydrodynamics E t

Some basic hydrodynamics hydrodynamic approximation holds --> set of conservation laws simplest case: single, ideal, non-magnetic fluid; no external forces mass: t v = 0 momentum: energy: v t v v pi = 0 E E p v = 0 t hyperbolic system of PDEs

hydrodynamic approximation holds --> general case: additional equations and/or additional source terms Some basic hydrodynamics describe effects due to viscosity, reactions, transport, radiation, magnetic fields, self-gravity, relativity, etc

Some basic hydrodynamics eg., viscous, self-gravitating flow mass: momentum: energy: Poisson eq.: v = 0 t v v v p I π t E E p v h π v t Φ = 4πG = Φ = v Φ

Astropysical applications: - viscosity & heat conduction often negligibly small (except in shock waves) --> inviscous Euler eqs. instead of viscous Navier-Stokes eqs. are solved Some basic hydrodynamics - numerical methods posses numerical viscosity (depending on grid resolution) --> strange situation: One tries to solve inviscous Euler eqs, but instead solves a viscous variant, different from NS eqs!!

hydrodynamic equations are incomplete (closure relation missing) --> equation of state required to close system p = p(,t), ɛ = ɛ(,t) Some basic hydrodynamics discontinuous solutions of Euler eqs. exist (weak solutions: shocks, contact discont.) --> conservation laws in integral form jump conditions (Rankine-Hugoniot)

Some basic hydrodynamics flows characterizable by dimensionless numbers Reynolds number: Re = ul/ν (ν: kinematic viscosity) measures relative strength of inertia & dissipation; often very large in astrophysics (>10 10 ) For all flows there exists a critical Reynolds number, above which the flow becomes turbulent! Prandtl number: Pr = ν κ (κ: conductivity) measures relative strength of dissipation & conduction

evolution equations: Set of 1 st order PDEs one way to solve equations: discretization in space & time, i.e. PDEs --> set of coupled algebraic eqs --> introduces unavoidable errors --> It is crucial to use methods, which minimize the errors! The art of CFD

The art of CFD numerical diffusion numerical dispersion

The art of CFD High Resolution Shock Capturing Schemes (HRSC) (most appropriate for supersonic flows) Methods for hyperbolic system of conservation laws Upwind methods (along characteristics) Enforcing conservation ensures correct dynamics of discontinuities High order spatial accuracy in smooth regions of the flow reduces to first order at discontinuities

hydrodynamic equations: The art of CFD - quasi-linear hyperbolic system of conservation laws U x, t t F U x, t x =0 - can be rewritten using the Jacobian of the flux vector F(U) 1 U t F U U x =0 - integration over finite (control) volume: x 1, x 2 t 1, t 2 x1 U x, t 2 dx= x1 U x, t 1 t1 x 2 x 2 t 2 F U x 1, t dt t1 t 2 F U x 2, t dt

Finite Volume Formulation Differential form assume smoothness of solution No viscous terms Euler equations allow discontinuous solutions integral form of equations Euler equations in Conservative form (from G.Bodo)

Multidimensional Strang Splitting Multidimensional integration is achieved by solving 1 D sub problem: Alternating directions gurantees O( t 3 ), e.g., in 2D: (from G.Bodo)

Handling discontinuities p1 p2 x Example of a problem with discontinous initial conditions (from G.Bodo)

numerical derived local The art of CFD U i n 1 = U i n t x F xi 1 2 F xi 1 2 fluxes are 1 from solution of Riemann problems ---> requires: complete spectral information!

Godunov Method Building 1 D block: In Hyperbolic systems information propagate along characteristics, at finite speed; we need a numerical flux function: U(x i+1/2,t) is the solution of the Riemann Problem: Ui 1 Ui Ui+ (from G.Bodo) xi 3/2 xi 1/2 Xi+1/2 1 Xi+3/2

Higher order extension Interpolation inside cells Use slope limiters to enforce monotonicity (avoid appearance of new maxima) Higher order interpolation PPM (Piecewise Parabolic Method) uses parabolic interpolation + monotonicity constraints + other controls of discontinuities (from G.Bodo)

The art of CFD diffusivity of various finite volume methods

The art of CFD simple test problem more difficult test problem

The art of CFD test problem which cannot be handled by linearized Riemann solver proposed by Roe

Choice of coordinate system when simulating multi-dimensional flow: - Lagrangian/comoving coordinates inappropriate shear flow and vortices --> grid tangling - Eulerian coordinates better choice if advection terms are discretized with 'minimal' numerical diffusion The art of CFD - SPH: free-lagrange method, but more diffusive

Methods widely used in astrophysics: - finite difference/volume schemes ~ 10 2 to 10 3 zones / dimension - smoothed particle hydrodynamics (SPH) ~ 10 4 to 10 7 particles The art of CFD

Computer - 3 10 10 10 ---> The art of CFD resources required: CPU time - 20 variables 1 3-10 8 zones (present record: 2048 3 ~ 8 10 9 ) 3-10 6 timesteps 2-10 3 Ops/zone/variable/timestep 10 10-10 18 operations / simulation

50 1 ---> 3D - ~ The art of CFD - present day computer Mflops (PC) [ ~ CRAY-1 in 1980! ] Tflop ( supercomputer, e.g. 512 PE IBM Power 4) 1 1D simulation: ~ minutes on PC simulation: ~ weeks on supercomputer output data: ~ Gbyte / model ---> data analysis Tbyte / simulation is non trivial!

Hydrodynamics of stellar explosions Numerical challenges (I): Extreme range of scales both in time & space has to be treated properly scale problem in TNSNe: 1 l burn ~ 10-3 cm l WD ~ 10 +8 cm τ burn ~ 10-11 s τ WD ~ 10 +0 s --> factor 10 11

Hydrodynamics of stellar explosions Numerical challenges (I): Extreme range of scales both in time & space has to be treated properly scale problem in CCSNe: 1 l NS ~ 10 +6 cm l star ~ 10 +13 cm τ NS ~ 10-3 s τ sh ~ 10 +4 s --> factor 10 7

Hydrodynamics of stellar explosions Numerical challenges (II): Proper treatment of hydrodynamic instabilities is important 1 Rayleigh Taylor instability causes mixing & clumping

Hydrodynamics of stellar explosions 2D Simulations FLASH Code Univ. Chicago Calder et al. 2002 Density ratio 2:1 Effective resolution 16384x4096 (from G.Bodo)

Hydrodynamics of stellar explosions Numerical challenges (II): Proper treatment of hydrodynamic instabilities is important 1 RTIs in CCSNe; Müller & Janka 1997 RTIs in TNSNe; Reinecke etal 2000

Numerical challenges (III): Nucleosynthesis - Common practice (in 1D) nowadays * online reaction networks (several 100 species) * reduced network for energy generation + 1 post processing (easy with Lagrangian codes) Hydrodynamics of stellar explosions - Multi-dimensional flows Lagrangian codes inappropriate --> Eulerian codes + marker particle method

Numerical challenges (III): Nucleosynthesis - Marker particle method A set of marker particles is distributed properly across regions expect to burn 1 and Hydrodynamics of stellar explosions advected with the flow and their T and ρ history is recorded for the post-processing

Hydrodynamics of stellar explosions Self-gravitating multi-dimensional multi-fluid flow v = 0 t 1 v t v v P Φ = 0 E t E P v v Φ = Q nuc X i X i v = X i, t i X i = 1

Hydrodynamics of stellar explosions Simulating multi-fluid flow - Non-linear discretization of advection terms --> i X i 1 - Consistent Multi-fluid Advection (Plewa & Müller '99) (a) renormalization of mass fraction fluxes (b) conservative species advection (c) contact steepening to reduce numerical diffusion

Hydrodynamics of stellar explosions.simulating CMAZ.multi-fluid flow (total flattening).. FMA (Fryxell, Müller & Arnett).Composition profiles.in the ejecta of a CMA.15 solar mass star (Plewa & Müller).at t =3s

Hydrodynamics of stellar explosions.simulating multi-fluid flow CMAZ CMA FMA.dependence of Ti44 production on grid resolution

Hydrodynamics of stellar explosions 1 Kifonidis 2000

Hydrodynamics of stellar explosions Ti44 1 Ni56 Kifonidis 2000

Additional numerical (& physical) challenges: - CCSNe parallelization of neutrino transport simulating magnetized cores (MHD, GRMHD) black hole formation & collapsars 1 - TNSNe Hydrodynamics of stellar explosions modelling flames & turbulent combustion (Niemeyer) simulating the pre-runaway stage (Podsiadlowski) spectral synthesis (Hauschildt, Mazzali)