Numerical Simulations. Duncan Christie

Size: px
Start display at page:

Download "Numerical Simulations. Duncan Christie"

Transcription

1 Numerical Simulations Duncan Christie

2 Motivation There isn t enough time to derive the necessary methods to do numerical simulations, but there is enough time to survey what methods and codes are available and when they are used. If you now what is available and possible, you can go in search of more information Types of Simulations Outline N-Body Simulations Fluid Simulations Other Interesting Methods

3 Problems Non-linear (magneto-)hydrodynamics simulations Star formation Cosmological simulations of galaxies and cosmological structure Accretion Disks Exoplanetary atmospheres Stellar structure N-body Simulations Dark Matter Stellar clusters In the absence of gas Coupled to hydrodynamic simulations Planetary dynamics

4 N-Body Simulations The goal of an n-body simulation is to evolve a system of particles under influence of a force (usually gravity). This gives a deceptively simple system of equations: a i = dv i dt = a i G NX j=1,j6=i dx i dt = v i m j x j x i x j x i 3 Although simple, it is surprisingly difficult to maintain stability and energyconservation Codes: NBODY6 (Pure N-Body), GADGET (N-Body + SPH)

5 N-Body Example: The Millennium Simulation The Millennium project used 10 billion particles to simulation the evolution of dark matter in a box 2 light years on a side.

6 From N-Body to Hydrodynamics Why can t fluid dynamics be done in the same way? Consider two packets of gas moving towards each other in the absence of gravity: Fluids interact via pressure (collisions on the microscopic scale). Without it, the fluid packets pass through each other without interacting. How do we capture this?

7 From N-Body to Hydrodynamics Why can t fluid dynamics be done in the same way? Consider two packets of gas moving towards each other in the absence of gravity: Fluids interact via pressure (collisions on the microscopic scale). Without it, the fluid packets pass through each other without interacting. How do we capture this? Option 1: Model pressure interactions between gas particles using smooth particle hydrodynamics. Option 2: Treat particles as representative of actual particles and model interactions as collisions using direct simulation Monte Carlo (DSMC). Option 3: Give up on thinking about particles and think about density and velocity fields living on a grid instead.

8 From N-Body to Hydrodynamics Why can t fluid dynamics be done in the same way? Consider two packets of gas moving towards each other in the absence of gravity: Fluids interact via pressure (collisions on the microscopic scale). Without it, the fluid packets pass through each other without interacting. How do we capture this? Option 1: Model pressure interactions between gas particles using smooth particle hydrodynamics. Too expensive in most cases! Option 2: Treat particles as representative of actual particles and model interactions as collisions using direct simulation Monte Carlo (DSMC). Option 3: Give up on thinking about particles and think about density and velocity fields living on a grid instead.

9 Equations of (Magneto-)Hydrodynamics Continuity Equation Momentum Equation Conservation + r ( v) =0 Energy Equation + r ( vv) = rp + g (r B) B Energy Update: How the gas heats + r [(E + p? ) v B (B v)] = v g + Induction Equation Poisson equation Magnetic r 2 r (v B) =0 Gravitational Field =4 G Flux Freezing

10 Smoothed-Particle Hydrodynamics In SPH, the fluid is modeled as a system of particles. It is different from n-body simulations in that there are interactions with other particles taken into account to model things like pressure. A smoothing kernel is applied which weights closer neighbors more heavily. The kernel has a characteristic length h, and particles outside a few h are safely ignored.

11 Smoothed-Particle Hydrodynamics In SPH, the fluid is modeled as a system of particles. It is different from n-body simulations in that there are interactions with other particles taken into account to model things like pressure. A smoothing kernel is applied which weights closer neighbors more heavily. The kernel has a characteristic length h, and particles outside a few h are safely ignored. h Close Neighbor Weighted Heavily

12 Smoothed-Particle Hydrodynamics In SPH, the fluid is modeled as a system of particles. It is different from n-body simulations in that there are interactions with other particles taken into account to model things like pressure. A smoothing kernel is applied which weights closer neighbors more heavily. The kernel has a characteristic length h, and particles outside a few h are safely ignored. h 2h Close Neighbor Weighted Heavily Included in the calculation, but with a smaller weight

13 Smoothed-Particle Hydrodynamics In SPH, the fluid is modeled as a system of particles. It is different from n-body simulations in that there are interactions with other particles taken into account to model things like pressure. A smoothing kernel is applied which weights closer neighbors more heavily. The kernel has a characteristic length h, and particles outside a few h are safely ignored. h 2h Close Neighbor Weighted Heavily Included in the calculation, but with a smaller weight Too far away, so safely ignored.

14 Smoothed-Particle Hydrodynamics Advantages SPH particles naturally accumulate where resolution is needed (resolution is limited by the smoothing length and the number of particles) Fairly simple to implement Disadvantages Additional physics can be difficult to add to SPH compared to grid-based codes (although it can be done). Not great at resolving shocks, although this is improving. Common SPH Codes GADGET (and it s derivatives) HYDRA GASOLINE NDSPMHD (David Price s SPH MHD code has some interesting features but a terrible name)

15 Grid-based Codes Grid-based codes work by discretizing the field variables and placing them on a grid. Grid with all variables cell-centered Ignoring source terms (gravity, etc.), the hydrodynamic equations can be + r F =0 i-1,j,k,v1,v,b1,b2,e i,j,k i+1,j,k where q is the fluid variable and F is the associated flux. In 1-d, we can discretize this as Grid with vector components staggered r F = 1 x F i+1/2,j,k F i 1,j,k The time derivative also needs to be = 1 t q n+1 q n i-1,j,k i,j,k v2,b2 i+1,j,k

16 Grid-based Codes Combining all of these results, we get q n+1 i,j,k = qn i,j,k + t x F n+1/2 i+1,j,k F n+1/2 i 1,j,k Thus, to advance from t n to t n+1 we need to specify how we get the timecentered/time-averaged fluxes F from the fluid variables at time n (q n ). The prescription that gives you the fluxes depends on the solver and will impact how accurate the solution is. Godunov Scheme: Reconstruct the fields (as constants, linear functions, second order functions, etc.) to get values on the boundaries. This yields a discontinuous interface and initial values for the Riemann Problem. Solving the Riemann problem yields the fluxes.

17 Time stepping and the Courant Condition In advancing the solution from step n to step n+1, how large can t n+1 -t n be? In general, when you have a wave with a specified signal speed (like the speed of sound), the solution can be advanced more than the signal crossing time of a single zone, t< x c s The Courant number is the scaling that determines the actual time step C = c s t x A typical value of C is 0.3 to 0.5 which is chosen ensure that the time step isn t too large.

18 Time stepping and the Courant Condition Diffusive processes complicate measures as they don t have a finite signal speed. The stability condition is t<(constants) x 2 where the constants depend on the physical process in question. This is a rather strict requirement and becomes costly when attempting highresolution simulations.

19 Adaptive Mesh Refinement (AMR) It may be expensive to use a fine grid to resolve the entire simulation domain. Most grid-based codes allow for finer grids to overlay coarser grids, allowing for objects of interest to be targeted. Coarse Grid Conditions can be chosen to add additional grids to resolve specific length scales. Truelove (1998) asserts that the Jeans length must be resolved by at least 4 zones.

20 Adaptive Mesh Refinement (AMR) It may be expensive to use a fine grid to resolve the entire simulation domain. Most grid-based codes allow for finer grids to overlay coarser grids, allowing for objects of interest to be targeted. Coarse Grid + 1 Level of AMR Conditions can be chosen to add additional grids to resolve specific length scales. Truelove (1998) asserts that the Jeans length must be resolved by at least 4 zones.

21 Adaptive Mesh Refinement (AMR) It may be expensive to use a fine grid to resolve the entire simulation domain. Most grid-based codes allow for finer grids to overlay coarser grids, allowing for objects of interest to be targeted. Coarse Grid + 2 Levels of AMR Conditions can be chosen to add additional grids to resolve specific length scales. Truelove (1998) asserts that the Jeans length must be resolved by at least 4 zones.

22 Resolving Relevant Physical Scales Here are two simulations of protoplanetary disks. Due to the lack of resolution, unstable modes are stabilized, preventing fragmentation. Low Resolution High Resolution

23 Resolving Relevant Physical Scales Here are two simulations of protoplanetary disks. Due to the lack of resolution, unstable modes are stabilized, preventing fragmentation. Takeaway: Be aware of the implications of unresolved length scales. Low Resolution High Resolution

24 Common Grid-based Codes ZEUS: A grid based code originally developed in It has been through many iterations (ZEUS-2D, ZEUS-3D, ZEUS-MP, ZEUS-MP/2, etc.). It is fast and easy to use; however, it doesn t support AMR and is very diffusive. ENZO and RAMSES: Two modern codes. Enzo is used by a number of people in the department (myself included). FLASH: Developed by the Flash Center for Computational Science. Has been used for simulations of everything from laser experiments to star formation in the ISM. ATHENA: Developed to be a successor to ZEUS.

25 A Random Selection of Other Methods

26 Direct Simulation Monte Carlo (DSMC) Although particle approaches to fluid dynamics a prohibitive, there are times when they are necessary, specifically when the mean free path is comparable to or larger than the relevant scales in the problem or when the particles don t obey a Boltzmann distribution. The Knudsen number is the ratio of the mean free path to the relevant length scale. Kn = When Kn is larger than of approaches 1, fluid approximations break down. Discrete Simulation Monte Carlo (DSMC) is a method for simulation collisional fluids using pseudo-particles. It is very expensive but it is the only way to capture gas behavior when the fluid approximation breaks down. An astrophysical application: Modeling the upper atmospheres of planetary bodies like Pluto and Titan. Both are losing their atmospheres but the atmospheres are diffuse enough that the upper atmospheres can t be treated like fluids. mfp L

27 Particle-In-Cell The MHD equations are formulated assuming the gas obeys a Boltzmann distributions. Particle-in-cell codes sample the underlying distribution (Boltzmann, for example) then updates the particle positions and velocities. The new distribution is then determined from the updated particle velocities.

CHAPTER 4. Basics of Fluid Dynamics

CHAPTER 4. Basics of Fluid Dynamics CHAPTER 4 Basics of Fluid Dynamics What is a fluid? A fluid is a substance that can flow, has no fixed shape, and offers little resistance to an external stress In a fluid the constituent particles (atoms,

More information

Towards Understanding Simulations of Galaxy Formation. Nigel Mitchell. On the Origin of Cores in Simulated Galaxy Clusters

Towards Understanding Simulations of Galaxy Formation. Nigel Mitchell. On the Origin of Cores in Simulated Galaxy Clusters Towards Understanding Simulations of Galaxy Formation Nigel Mitchell On the Origin of Cores in Simulated Galaxy Clusters Work published in the Monthly Notices of the Royal Astronomy Society Journal, 2009,

More information

NUMERICAL METHODS IN ASTROPHYSICS An Introduction

NUMERICAL METHODS IN ASTROPHYSICS An Introduction -1 Series in Astronomy and Astrophysics NUMERICAL METHODS IN ASTROPHYSICS An Introduction Peter Bodenheimer University of California Santa Cruz, USA Gregory P. Laughlin University of California Santa Cruz,

More information

Fluid Dynamics. Part 2. Massimo Ricotti. University of Maryland. Fluid Dynamics p.1/17

Fluid Dynamics. Part 2. Massimo Ricotti. University of Maryland. Fluid Dynamics p.1/17 Fluid Dynamics p.1/17 Fluid Dynamics Part 2 Massimo Ricotti ricotti@astro.umd.edu University of Maryland Fluid Dynamics p.2/17 Schemes Based on Flux-conservative Form By their very nature, the fluid equations

More information

The RAMSES code and related techniques 2- MHD solvers

The RAMSES code and related techniques 2- MHD solvers The RAMSES code and related techniques 2- MHD solvers Outline - The ideal MHD equations - Godunov method for 1D MHD equations - Ideal MHD in multiple dimensions - Cell-centered variables: divergence B

More information

High-resolution finite volume methods for hyperbolic PDEs on manifolds

High-resolution finite volume methods for hyperbolic PDEs on manifolds High-resolution finite volume methods for hyperbolic PDEs on manifolds Randall J. LeVeque Department of Applied Mathematics University of Washington Supported in part by NSF, DOE Overview High-resolution

More information

The RAMSES code and related techniques I. Hydro solvers

The RAMSES code and related techniques I. Hydro solvers The RAMSES code and related techniques I. Hydro solvers Outline - The Euler equations - Systems of conservation laws - The Riemann problem - The Godunov Method - Riemann solvers - 2D Godunov schemes -

More information

Computational Astrophysics 7 Hydrodynamics with source terms

Computational Astrophysics 7 Hydrodynamics with source terms Computational Astrophysics 7 Hydrodynamics with source terms Oscar Agertz Outline - Optically thin radiative hydrodynamics - Relaxation towards the diffusion limit - Hydrodynamics with gravity source term

More information

Fluid Dynamics. Massimo Ricotti. University of Maryland. Fluid Dynamics p.1/14

Fluid Dynamics. Massimo Ricotti. University of Maryland. Fluid Dynamics p.1/14 Fluid Dynamics p.1/14 Fluid Dynamics Massimo Ricotti ricotti@astro.umd.edu University of Maryland Fluid Dynamics p.2/14 The equations of fluid dynamics are coupled PDEs that form an IVP (hyperbolic). Use

More information

The RAMSES code and related techniques 4. Source terms

The RAMSES code and related techniques 4. Source terms The RAMSES code and related techniques 4. Source terms Outline - Optically thin radiative hydrodynamics - Relaxation towards the diffusion limit - Hydrodynamics with gravity source term - Relaxation towards

More information

Chapter 1 Direct Modeling for Computational Fluid Dynamics

Chapter 1 Direct Modeling for Computational Fluid Dynamics Chapter 1 Direct Modeling for Computational Fluid Dynamics Computational fluid dynamics (CFD) is a scientific discipline, which aims to capture fluid motion in a discretized space. The description of the

More information

Direct Modeling for Computational Fluid Dynamics

Direct Modeling for Computational Fluid Dynamics Direct Modeling for Computational Fluid Dynamics Kun Xu February 20, 2013 Computational fluid dynamics (CFD) is new emerging scientific discipline, and targets to simulate fluid motion in different scales.

More information

Outline of lectures. Adding more physics. Doing Better: source terms in CTU unsplit integrator

Outline of lectures. Adding more physics. Doing Better: source terms in CTU unsplit integrator Grid-based methods for hydrodynamics, MHD, and radiation hydrodynamics. Outline of lectures (Four lectures) Lecture 1. Introduction to physics and numerics Lecture 2. Operator split (ZEUS-like) methods

More information

Godunov methods in GANDALF

Godunov methods in GANDALF Godunov methods in GANDALF Stefan Heigl David Hubber Judith Ngoumou USM, LMU, München 28th October 2015 Why not just stick with SPH? SPH is perfectly adequate in many scenarios but can fail, or at least

More information

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

Numerical Solutions for Hyperbolic Systems of Conservation Laws: from Godunov Method to Adaptive Mesh Refinement Numerical Solutions for Hyperbolic Systems of Conservation Laws: from Godunov Method to Adaptive Mesh Refinement Romain Teyssier CEA Saclay Romain Teyssier 1 Outline - Euler equations, MHD, waves, hyperbolic

More information

The Initial Mass Function Elisa Chisari

The Initial Mass Function Elisa Chisari The Initial Mass Function AST 541 Dec 4 2012 Outline The form of the IMF Summary of observations Ingredients of a complete model A Press Schechter model Numerical simulations Conclusions The form of the

More information

Chapter 1. Introduction

Chapter 1. Introduction Chapter 1 Introduction Many astrophysical scenarios are modeled using the field equations of fluid dynamics. Fluids are generally challenging systems to describe analytically, as they form a nonlinear

More information

Cosmic Structure Formation on Supercomputers (and laptops)

Cosmic Structure Formation on Supercomputers (and laptops) Cosmic Structure Formation on Supercomputers (and laptops) Lecture 4: Smoothed particle hydrodynamics and baryonic sub-grid models Benjamin Moster! Ewald Puchwein 1 Outline of the lecture course Lecture

More information

The Evolution of SPH. J. J. Monaghan Monash University Australia

The Evolution of SPH. J. J. Monaghan Monash University Australia The Evolution of SPH J. J. Monaghan Monash University Australia planetary disks magnetic fields cosmology radiation star formation lava phase change dam break multiphase waves bodies in water fracture

More information

Gas Dynamics: Basic Equations, Waves and Shocks

Gas Dynamics: Basic Equations, Waves and Shocks Astrophysical Dynamics, VT 010 Gas Dynamics: Basic Equations, Waves and Shocks Susanne Höfner Susanne.Hoefner@fysast.uu.se Astrophysical Dynamics, VT 010 Gas Dynamics: Basic Equations, Waves and Shocks

More information

Dynamics of Galaxies: Basics. Frontiers in Numerical Gravitational Astrophysics July 3, 2008

Dynamics of Galaxies: Basics. Frontiers in Numerical Gravitational Astrophysics July 3, 2008 Dynamics of Galaxies: Basics Frontiers in Numerical Gravitational Astrophysics July 3, 2008 c = G = 1 h = 0 Outline (a) Galaxies as physical systems. (b) The Collisionless Boltzmann Equation. (c) N-body

More information

Moving mesh cosmology: The hydrodynamics of galaxy formation

Moving mesh cosmology: The hydrodynamics of galaxy formation Moving mesh cosmology: The hydrodynamics of galaxy formation arxiv:1109.3468 Debora Sijacki, Hubble Fellow, ITC together with: Mark Vogelsberger, Dusan Keres, Paul Torrey Shy Genel, Dylan Nelson Volker

More information

(Numerical) study of the collapse and of the fragmentation of prestellar dense core

(Numerical) study of the collapse and of the fragmentation of prestellar dense core (Numerical) study of the collapse and of the fragmentation of prestellar dense core Benoît Commerçon Supervisors: E. Audit, G. Chabrier and P. Hennebelle Collaborator: R. Teyssier (3D - AMR) CEA/DSM/IRFU/SAp

More information

Computational Astrophysics 1 Particle Mesh methods

Computational Astrophysics 1 Particle Mesh methods Computational Astrophysics 1 Particle Mesh methods Oscar Agertz Outline - The Vlassov-Poisson equation - The Particle-Mesh method in a nut shell - Symplectic Integrators - Mass assignment and force interpolation

More information

Challenges of Predictive 3D Astrophysical Simulations of Accreting Systems. John F. Hawley Department of Astronomy, University of Virginia

Challenges of Predictive 3D Astrophysical Simulations of Accreting Systems. John F. Hawley Department of Astronomy, University of Virginia Challenges of Predictive 3D Astrophysical Simulations of Accreting Systems John F. Hawley Department of Astronomy, University of Virginia Stellar Evolution: Astro Computing s Early Triumph Observed Properties

More information

TAU Extensions for High Enthalpy Flows. Sebastian Karl AS-RF

TAU Extensions for High Enthalpy Flows. Sebastian Karl AS-RF TAU Extensions for High Enthalpy Flows Sebastian Karl AS-RF Contents Motivation Extensions available in the current release: Numerical schemes for super- and hypersonic flow fields Models for gas mixtures,

More information

High performance computing and numerical modeling

High performance computing and numerical modeling High performance computing and numerical modeling Volker Springel Plan for my lectures Lecture 1: Collisional and collisionless N-body dynamics Lecture 2: Gravitational force calculation Lecture 3: Basic

More information

White dwarf dynamical interactions. Enrique García-Berro. Jornades de Recerca, Departament de Física

White dwarf dynamical interactions. Enrique García-Berro. Jornades de Recerca, Departament de Física White dwarf dynamical interactions Enrique García-Berro Jornades de Recerca, Departament de Física CONTENTS 1. Introduction 2. Smoothed Particle Hydrodynamics 3. White dwarf mergers 4. White dwarf collisions

More information

SW103: Lecture 2. Magnetohydrodynamics and MHD models

SW103: Lecture 2. Magnetohydrodynamics and MHD models SW103: Lecture 2 Magnetohydrodynamics and MHD models Scale sizes in the Solar Terrestrial System: or why we use MagnetoHydroDynamics Sun-Earth distance = 1 Astronomical Unit (AU) 200 R Sun 20,000 R E 1

More information

Collapse of magnetized dense cores. Is there a fragmentation crisis?

Collapse of magnetized dense cores. Is there a fragmentation crisis? Collapse of magnetized dense cores Is there a fragmentation crisis? Patrick Hennebelle (ENS-Observatoire de Paris) Collaborators: Benoît Commerçon, Andréa Ciardi, Sébastien Fromang, Romain Teyssier, Philippe

More information

Binary star formation

Binary star formation Binary star formation So far we have ignored binary stars. But, most stars are part of binary systems: Solar mass stars: about 2 / 3 are part of binaries Separations from: < 0.1 au > 10 3 au Wide range

More information

The Effects of Radiative Transfer on Low-Mass Star Formation

The Effects of Radiative Transfer on Low-Mass Star Formation The Effects of Radiative Transfer on Low-Mass Star Formation Stella Offner NSF Fellow, ITC Dense Cores in Dark Clouds Oct 23 2009 Collaborators: Chris McKee (UC Berkeley), Richard Klein (UC Berkeley; LLNL),

More information

N-body Cosmology: The billion-body problem. Brian O Shea Michigan State University

N-body Cosmology: The billion-body problem. Brian O Shea Michigan State University N-body Cosmology: The billion-body problem Brian O Shea (oshea@msu.edu) Michigan State University TIARA Winter School, Jan. 2011 This lecture Goals of cosmological N-body simulations Overview of an N-body

More information

Treecodes for Cosmology Thomas Quinn University of Washington N-Body Shop

Treecodes for Cosmology Thomas Quinn University of Washington N-Body Shop Treecodes for Cosmology Thomas Quinn University of Washington N-Body Shop Outline Motivation Multipole Expansions Tree Algorithms Periodic Boundaries Time integration Gravitational Softening SPH Parallel

More information

Superbubble Feedback in Galaxy Formation

Superbubble Feedback in Galaxy Formation Superbubble Feedback in Galaxy Formation Ben Keller (McMaster University) James Wadsley, Samantha Benincasa, Hugh Couchman Paper: astro-ph/1405.2625 (Accepted MNRAS) Keller, Wadsley, Benincasa & Couchman

More information

Brad Gibson Centre for Astrophysics & Supercomputing Swinburne University

Brad Gibson Centre for Astrophysics & Supercomputing Swinburne University N-body Simulations: Tree and Mesh Approaches Brad Gibson Centre for Astrophysics & Supercomputing Swinburne University Demystifying the Jargon Trees Collisionless Boltzmann Equation Symplectic Time Integration

More information

Sunrise: Patrik Jonsson. Panchromatic SED Models of Simulated Galaxies. Lecture 2: Working with Sunrise. Harvard-Smithsonian Center for Astrophysics

Sunrise: Patrik Jonsson. Panchromatic SED Models of Simulated Galaxies. Lecture 2: Working with Sunrise. Harvard-Smithsonian Center for Astrophysics Sunrise: Panchromatic SED Models of Simulated Galaxies Lecture 2: Working with Sunrise Patrik Jonsson Harvard-Smithsonian Center for Astrophysics Lecture outline Lecture 1: Why Sunrise? What does it do?

More information

Swift: task-based hydrodynamics at Durham s IPCC. Bower

Swift: task-based hydrodynamics at Durham s IPCC. Bower Swift: task-based hydrodynamics at Durham s IPCC Gonnet Schaller Chalk movie: Richard Bower (Durham) For the cosmological simulations of the formation of galaxies Bower Institute for Computational Cosmology

More information

Navier Stokes Solvers. Length (Log meters) Particle Methods. Density (Log n/n 0. Knudsen number =1/10 2. Dense Gas

Navier Stokes Solvers. Length (Log meters) Particle Methods. Density (Log n/n 0. Knudsen number =1/10 2. Dense Gas Mesh and Algorithm Reænement Alejandro L. Garcia Center for Comp. Sciences and Engineering Lawrence Berkeley National Laboratory and Dept. Physics, San Jose State University Collaborators: Berni Alder

More information

Gravitational heating, clumps, overheating. Yuval Birnboim (Harvard Smithsonian Center for Astrophysics) Avishai Dekel (Hebrew University)

Gravitational heating, clumps, overheating. Yuval Birnboim (Harvard Smithsonian Center for Astrophysics) Avishai Dekel (Hebrew University) Gravitational heating, clumps, overheating Yuval Birnboim (Harvard Smithsonian Center for Astrophysics) Avishai Dekel (Hebrew University) Basic idea: Cooling flow Clusters need additional energy to reduce

More information

Smoothed Particle Hydrodynamics (SPH) 4. May 2012

Smoothed Particle Hydrodynamics (SPH) 4. May 2012 Smoothed Particle Hydrodynamics (SPH) 4. May 2012 Calculating density SPH density estimator Weighted summation over nearby particles: ρ(r) = N neigh b=1 m bw (r r b, h) W weight function with dimension

More information

The Deflagration Phase of Type Ia SNe

The Deflagration Phase of Type Ia SNe The Center for Astrophysical Thermonuclear Flashes The Deflagration Phase of Type Ia SNe Alan Calder ASC FLASH Center Type Ia Supernova Team Type Ia Supernovae and Cosmology August 5, 2004 An Advanced

More information

Block-Structured Adaptive Mesh Refinement

Block-Structured Adaptive Mesh Refinement Block-Structured Adaptive Mesh Refinement Lecture 2 Incompressible Navier-Stokes Equations Fractional Step Scheme 1-D AMR for classical PDE s hyperbolic elliptic parabolic Accuracy considerations Bell

More information

Physics-Based Animation

Physics-Based Animation CSCI 5980/8980: Special Topics in Computer Science Physics-Based Animation 13 Fluid simulation with grids October 20, 2015 Today Presentation schedule Fluid simulation with grids Course feedback survey

More information

[Toward] Simulating Cosmological Reionization with Enzo

[Toward] Simulating Cosmological Reionization with Enzo [Toward] Simulating Cosmological Reionization with Enzo Texas Cosmology Network Meeting 2009 29 October 2009 Daniel R. Reynolds M.L. Norman, P. Paschos, G. So [UCSD] J.C. Hayes [LLNL] Sponsor: NSF Astronomy

More information

Pressure corrected SPH for fluid animation

Pressure corrected SPH for fluid animation Pressure corrected SPH for fluid animation Kai Bao, Hui Zhang, Lili Zheng and Enhua Wu Analyzed by Po-Ram Kim 2 March 2010 Abstract We present pressure scheme for the SPH for fluid animation In conventional

More information

Stellar-Dynamical Systems

Stellar-Dynamical Systems Chapter 8 Stellar-Dynamical Systems A wide range of self-gravitating systems may be idealized as configurations of point masses interacting through gravity. But in galaxies, the effects of interactions

More information

White dwarf collisions: a new pathway to type Ia supernovae. Enrique García-Berro & Pablo Lorén-Aguilar

White dwarf collisions: a new pathway to type Ia supernovae. Enrique García-Berro & Pablo Lorén-Aguilar White dwarf collisions: a new pathway to type Ia supernovae Enrique García-Berro & Pablo Lorén-Aguilar Supernovae, hypernovae and binary driven hypernovae An Adriatic Workshop Pescara 2016 CONTENTS 1.

More information

Cosmological simulations of our Universe Debora Sijacki IoA & KICC Cambridge

Cosmological simulations of our Universe Debora Sijacki IoA & KICC Cambridge Cosmological simulations of our Universe Debora Sijacki IoA & KICC Cambridge Cosmo 17 Paris August 30th 2017 Cosmological simulations of galaxy and structure formation 2 Cosmological simulations of galaxy

More information

Planet Formation. XIII Ciclo de Cursos Especiais

Planet Formation. XIII Ciclo de Cursos Especiais Planet Formation Outline 1. Observations of planetary systems 2. Protoplanetary disks 3. Formation of planetesimals (km-scale bodies) 4. Formation of terrestrial and giant planets 5. Evolution and stability

More information

Cosmic ray feedback in hydrodynamical simulations. simulations of galaxy and structure formation

Cosmic ray feedback in hydrodynamical simulations. simulations of galaxy and structure formation Cosmic ray feedback in hydrodynamical simulations of galaxy and structure formation Canadian Institute for Theoretical Astrophysics, Toronto April, 11 26 / Colloquium University of Victoria Outline 1 Cosmic

More information

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

Sound. References: L.D. Landau & E.M. Lifshitz: Fluid Mechanics, Chapter VIII F. Shu: The Physics of Astrophysics, Vol. 2, Gas Dynamics, Chapter 8 References: Sound L.D. Landau & E.M. Lifshitz: Fluid Mechanics, Chapter VIII F. Shu: The Physics of Astrophysics, Vol., Gas Dynamics, Chapter 8 1 Speed of sound The phenomenon of sound waves is one that

More information

Diffusion / Parabolic Equations. PHY 688: Numerical Methods for (Astro)Physics

Diffusion / Parabolic Equations. PHY 688: Numerical Methods for (Astro)Physics Diffusion / Parabolic Equations Summary of PDEs (so far...) Hyperbolic Think: advection Real, finite speed(s) at which information propagates carries changes in the solution Second-order explicit methods

More information

Smoothed Particle Hydrodynamics (SPH) a meshfree particle method for astrophysics *

Smoothed Particle Hydrodynamics (SPH) a meshfree particle method for astrophysics * Smoothed Particle Hydrodynamics (SPH) a meshfree particle method for astrophysics * Supplement 3: Example simulations using SPH and advanced graphics David Hobbs Lund Observatory ASTM17 Galaxy collision

More information

X i t react. ~min i max i. R ij smallest. X j. Physical processes by characteristic timescale. largest. t diff ~ L2 D. t sound. ~ L a. t flow.

X i t react. ~min i max i. R ij smallest. X j. Physical processes by characteristic timescale. largest. t diff ~ L2 D. t sound. ~ L a. t flow. Physical processes by characteristic timescale Diffusive timescale t diff ~ L2 D largest Sound crossing timescale t sound ~ L a Flow timescale t flow ~ L u Free fall timescale Cooling timescale Reaction

More information

Nucleosynthesis in white dwarf close encounters and collisions

Nucleosynthesis in white dwarf close encounters and collisions Nucleosynthesis in white dwarf close encounters and collisions Enrique García-Berro 1,2 Gabriela Aznar-Siguán 1,2 Pablo Lorén-Aguilar 1,2,3 Jordi José 1,2 Jordi Isern 2,4 1 Universitat Politècnica de Catalunya

More information

Multi-scale and multi-physics numerical models of galaxy formation

Multi-scale and multi-physics numerical models of galaxy formation Multi-scale and multi-physics numerical models of galaxy formation M. Rieder and RT, 2016, MNRAS, 457, 1722 J. Rosdahl, J. Schaye, RT and O. Agertz, 2015, MNRAS, 451, 34 RAMSES: parallel Adaptive Mesh

More information

PLASMA ASTROPHYSICS. ElisaBete M. de Gouveia Dal Pino IAG-USP. NOTES: (references therein)

PLASMA ASTROPHYSICS. ElisaBete M. de Gouveia Dal Pino IAG-USP. NOTES:  (references therein) PLASMA ASTROPHYSICS ElisaBete M. de Gouveia Dal Pino IAG-USP NOTES:http://www.astro.iag.usp.br/~dalpino (references therein) ICTP-SAIFR, October 7-18, 2013 Contents What is plasma? Why plasmas in astrophysics?

More information

Finite Volume Schemes: an introduction

Finite Volume Schemes: an introduction Finite Volume Schemes: an introduction First lecture Annamaria Mazzia Dipartimento di Metodi e Modelli Matematici per le Scienze Applicate Università di Padova mazzia@dmsa.unipd.it Scuola di dottorato

More information

PiTP Summer School 2009

PiTP Summer School 2009 PiTP Summer School 2009 Plan for my lectures Volker Springel Lecture 1 Basics of collisionless dynamics and the N-body approach Lecture 2 Gravitational solvers suitable for collisionless dynamics, parallelization

More information

Solving PDEs with Multigrid Methods p.1

Solving PDEs with Multigrid Methods p.1 Solving PDEs with Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department of Applied Mathematics, University of Colorado at Boulder Solving PDEs with Multigrid Methods p.1 Support and Collaboration

More information

Overview spherical accretion

Overview spherical accretion Spherical accretion - AGN generates energy by accretion, i.e., capture of ambient matter in gravitational potential of black hole -Potential energy can be released as radiation, and (some of) this can

More information

Core Collapse Supernovae An Emerging Picture Stephen W. Bruenn

Core Collapse Supernovae An Emerging Picture Stephen W. Bruenn Core Collapse Supernovae An Emerging Picture Stephen W. Bruenn 19th Rencontres de Blois Matter and Energy in the Universe: from nucleosynthesis to cosmology Collaborators Anthony Mezzacappa John M. Blondin

More information

RADMC-3D A publicly available radiative transfer program

RADMC-3D A publicly available radiative transfer program RADMC-3D A publicly available radiative transfer program C.P. Dullemond Institute for Theoretical Astrophysics (ITA/ZAH), University of Heidelberg With help from: R. Shetty, T. Peters, A. Juhasz, B. Commercon,

More information

2008 ASPEN WINTER WORKSHOP The first 2 billion years of Galaxy Formation. Gustavo Yepes Universidad Autónoma de Madrid

2008 ASPEN WINTER WORKSHOP The first 2 billion years of Galaxy Formation. Gustavo Yepes Universidad Autónoma de Madrid 2008 ASPEN WINTER WORKSHOP The first 2 billion years of Galaxy Formation Gustavo Yepes Universidad Autónoma de Madrid MNCP The MareNostrum Numerical Cosmology Project International collaboration to perform

More information

Magnetized Binary Neutron Stars with Whisky

Magnetized Binary Neutron Stars with Whisky Magnetized Binary Neutron Stars with Whisky Bruno Giacomazzo (AEI, Potsdam, Germany) in collaboration with Luca Baiotti (Tokyo) and Luciano Rezzolla (AEI) Plan of the Talk Introduction The Whisky(MHD)

More information

Stellar Birth. Stellar Formation. A. Interstellar Clouds. 1b. What is the stuff. Astrophysics: Stellar Evolution. A. Interstellar Clouds (Nebulae)

Stellar Birth. Stellar Formation. A. Interstellar Clouds. 1b. What is the stuff. Astrophysics: Stellar Evolution. A. Interstellar Clouds (Nebulae) Astrophysics: Stellar Evolution 1 Stellar Birth Stellar Formation A. Interstellar Clouds (Nebulae) B. Protostellar Clouds 2 C. Protostars Dr. Bill Pezzaglia Updated: 10/02/2006 A. Interstellar Clouds 1.

More information

Dynamics of Astrophysical Discs

Dynamics of Astrophysical Discs Dynamics of Astrophysical Discs 16 lectures, 3 example classes http://www.damtp.cam.ac.uk/user/hl278/dad.html Henrik Latter e-mail: hl278@cam.ac.uk 16 lectures Tu. Th. 10 Course Outline Office: F1.19 hl278@cam.

More information

Simulating the Universe

Simulating the Universe Simulating the Universe Christine Corbett Moran, Irshad Mohammed, Manuel Rabold, Davide Martizzi, Doug Potter, Aurel Schneider Oliver Hahn, Ben Moore, Joachim Stadel Outline - N-body codes: where do we

More information

The First Stars. Simone Ferraro Princeton University. Sept 25, 2012

The First Stars. Simone Ferraro Princeton University. Sept 25, 2012 The First Stars Simone Ferraro Princeton University Sept 25, 2012 Outline Star forming minihalos at high z Cooling physics and chemistry Gravitational Collapse and formation of protostar Magnetic fields

More information

Radiative MHD. in Massive Star Formation and Accretion Disks. Rolf Kuiper, Hubert Klahr, Mario Flock, Henrik Beuther, Thomas Henning

Radiative MHD. in Massive Star Formation and Accretion Disks. Rolf Kuiper, Hubert Klahr, Mario Flock, Henrik Beuther, Thomas Henning Radiative MHD in Massive Star Formation and Accretion Disks, Hubert Klahr, Mario Flock, Henrik Beuther, Thomas Henning, Radiative MHD with Makemake and Pluto : We developed a fast 3D frequency-dependent

More information

High Order Semi-Lagrangian WENO scheme for Vlasov Equations

High Order Semi-Lagrangian WENO scheme for Vlasov Equations High Order WENO scheme for Equations Department of Mathematical and Computer Science Colorado School of Mines joint work w/ Andrew Christlieb Supported by AFOSR. Computational Mathematics Seminar, UC Boulder

More information

Computational Astrophysics

Computational Astrophysics 16 th Chris Engelbrecht Summer School, January 2005 3: 1 Computational Astrophysics Lecture 3: Magnetic fields Paul Ricker University of Illinois at Urbana-Champaign National Center for Supercomputing

More information

Comparison of Numerical Solutions for the Boltzmann Equation and Different Moment Models

Comparison of Numerical Solutions for the Boltzmann Equation and Different Moment Models Comparison of Numerical Solutions for the Boltzmann Equation and Different Moment Models Julian Koellermeier, Manuel Torrilhon October 12th, 2015 Chinese Academy of Sciences, Beijing Julian Koellermeier,

More information

Cosmology Simulations with Enzo

Cosmology Simulations with Enzo Cosmology Simulations with Enzo John Wise (Georgia Tech) Enzo Workshop 17 May 2012 Outline Based on the simulation setup of Abel, Wise, & Bryan (2007), The HII Region of a Primordial Star Introduction

More information

Simulating Binary Star Systems. Kaitlin M. Kratter Hubble Fellow, JILA/ CU Boulder

Simulating Binary Star Systems. Kaitlin M. Kratter Hubble Fellow, JILA/ CU Boulder Simulating Binary Star Systems Kaitlin M. Kratter Hubble Fellow, JILA/ CU Boulder Outline Why bother with binaries? How do they form? What challenges do binaries pose from a numerical perspective? Example

More information

A Finite Volume Code for 1D Gas Dynamics

A Finite Volume Code for 1D Gas Dynamics A Finite Volume Code for 1D Gas Dynamics Michael Lavell Department of Applied Mathematics and Statistics 1 Introduction A finite volume code is constructed to solve conservative systems, such as Euler

More information

The Center for Astrophysical Thermonuclear Flashes. FLASH Hydrodynamics

The Center for Astrophysical Thermonuclear Flashes. FLASH Hydrodynamics The Center for Astrophysical Thermonuclear Flashes FLASH Hydrodynamics Jonathan Dursi (CITA), Alan Calder (FLASH) B. Fryxell, T. Linde, A. Mignone, G. Wiers Many others! Mar 23, 2005 An Advanced Simulation

More information

Numerical Cosmology & Galaxy Formation

Numerical Cosmology & Galaxy Formation Numerical Cosmology & Galaxy Formation Lecture 13: Example simulations Isolated galaxies, mergers & zooms Benjamin Moster 1 Outline of the lecture course Lecture 1: Motivation & Historical Overview Lecture

More information

Black Hole Formation in the Early Universe

Black Hole Formation in the Early Universe 1 Black Hole Formation in the Early Universe Luo Yang (Osaka University) XC30 2 1. Introduction Observations of high-redshift quasars reveal that some supermassive black holes (SMBH) with masses exceeding

More information

Filling the Cosmos with (Virtual) Stars. Mark Krumholz, UC Santa Cruz HiPACC Computational Astronomy Journalism Boot Camp, June 26, 2012

Filling the Cosmos with (Virtual) Stars. Mark Krumholz, UC Santa Cruz HiPACC Computational Astronomy Journalism Boot Camp, June 26, 2012 Filling the Cosmos with (Virtual) Stars Mark Krumholz, UC Santa Cruz HiPACC Computational Astronomy Journalism Boot Camp, June 26, 2012 Outline What is the interstellar medium, and how is it related to

More information

HPC in Physics. (particularly astrophysics) Reuben D. Budiardja Scientific Computing National Institute for Computational Sciences

HPC in Physics. (particularly astrophysics) Reuben D. Budiardja Scientific Computing National Institute for Computational Sciences HPC in Physics (particularly astrophysics) Reuben D. Budiardja Scientific Computing National Institute for Computational Sciences 1 Gravitational Wave Einstein s Unfinished Symphony Marcia Bartuciak Predicted

More information

Cosmological simulations of galaxy formation

Cosmological simulations of galaxy formation Cosmological simulations of galaxy formation Modern galaxy formation simulations Mock gri SDSS composite image with dust absorption based on Draine opacity model. NGC4622 as seen from HST Outline - Impact

More information

DSMC simulations of thermal escape

DSMC simulations of thermal escape DSMC simulations of thermal escape Alexey N. Volkov, R.E. Johnson, O.J. Tucker, J.T. Erwin Materials Science & Engineering University of Virginia, USA Financial support is provided by NASA through Planetary

More information

Introduction to Numerical Relativity I. Erik Schnetter, Pohang, July 2007

Introduction to Numerical Relativity I. Erik Schnetter, Pohang, July 2007 Introduction to Numerical Relativity I Erik Schnetter, Pohang, July 2007 Lectures Overview I. The Einstein Equations (Formulations and Gauge Conditions) II. Analysis Methods (Horizons and Gravitational

More information

3D simulations of supernova remnants evolution with particle acceleration

3D simulations of supernova remnants evolution with particle acceleration Supernova Remnants and Pulsar Wind Nebulae in the Chandra Era Boston, MA, 09/07/09 3D simulations of supernova remnants evolution with particle acceleration Gilles Ferrand (g.ferrand@cea.fr) and Anne Decourchelle

More information

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

Advection / Hyperbolic PDEs. PHY 604: Computational Methods in Physics and Astrophysics II Advection / Hyperbolic PDEs Notes In addition to the slides and code examples, my notes on PDEs with the finite-volume method are up online: https://github.com/open-astrophysics-bookshelf/numerical_exercises

More information

Hybrid modeling of plasmas

Hybrid modeling of plasmas Hybrid modeling of plasmas Mats Holmström Swedish Institute of Space Physics Kiruna, Sweden ENUMATH 2009 Uppsala, June 30 matsh@irf.se www.irf.se/~matsh/ Outline Background and motivation Space plasma

More information

Growing massive black holes via super-critical accretion on to stellar-mass seeds

Growing massive black holes via super-critical accretion on to stellar-mass seeds Growing massive black holes via super-critical accretion on to stellar-mass seeds Alessandro Lupi IAP (Paris) DARK ERC-2010 AdG_20100224 in collaboration with: F. Haardt, M. Dotti, M. Colpi, D. Fiacconi,

More information

Galaxies. Objectives. How did find out about other galaxies What are their characteristics How do galaxies evolve How does dark matter come into play?

Galaxies. Objectives. How did find out about other galaxies What are their characteristics How do galaxies evolve How does dark matter come into play? Galaxies Objectives How did find out about other galaxies What are their characteristics How do galaxies evolve How does dark matter come into play? Nebula Early astronomers saw lots of fuzzy things across

More information

Radiation-hydrodynamics from Mpc to sub-pc scales with RAMSES-RT

Radiation-hydrodynamics from Mpc to sub-pc scales with RAMSES-RT Radiation-hydrodynamics from Mpc to sub-pc scales with RAMSES-RT Joki Rosdahl Centre de Recherche Astrophysique de Lyon With Aubert, Blaizot, Bieri, Biernacki, Commercon, Costa, Dubois, Geen, Katz, Kimm,

More information

The Black Hole in the Galactic Center. Eliot Quataert (UC Berkeley)

The Black Hole in the Galactic Center. Eliot Quataert (UC Berkeley) The Black Hole in the Galactic Center Eliot Quataert (UC Berkeley) Why focus on the Galactic Center? The Best Evidence for a BH: M 3.6 10 6 M (M = mass of sun) It s s close! only ~ 10 55 Planck Lengths

More information

ASP2062 Introduction to Astrophysics

ASP2062 Introduction to Astrophysics School of Physics and Astronomy ASP2062 2015 ASP2062 Introduction to Astrophysics Star formation II Daniel Price Key revision points 1. Star formation is a competition between gravity and pressure 2. Timescale

More information

High-Resolution Finite Volume Methods and Adaptive Mesh Refinement

High-Resolution Finite Volume Methods and Adaptive Mesh Refinement High-Resolution Finite Volume Methods and Adaptive Mesh Refinement Randall J. LeVeque Department of Applied Mathematics University of Washington CLAWPACK and TsunamiClaw Software http://www.amath.washington.edu/~claw

More information

PHYS 420: Astrophysics & Cosmology

PHYS 420: Astrophysics & Cosmology PHYS 420: Astrophysics & Cosmology Dr Richard H. Cyburt Assistant Professor of Physics My office: 402c in the Science Building My phone: (304) 384-6006 My email: rcyburt@concord.edu My webpage: www.concord.edu/rcyburt

More information

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

The one-dimensional equations for the fluid dynamics of a gas can be written in conservation form as follows: Topic 7 Fluid Dynamics Lecture The Riemann Problem and Shock Tube Problem A simple one dimensional model of a gas was introduced by G.A. Sod, J. Computational Physics 7, 1 (1978), to test various algorithms

More information

Detailed Study of a Turbulent multiphase multicomponent ISM

Detailed Study of a Turbulent multiphase multicomponent ISM Detailed Study of a Turbulent multiphase multicomponent ISM Dieter Breitschwerdt Collaborators Miguel de Avillez (Evora, Portugal) Verena Baumgartner (Vienna, Austria) Jan Bolte (TU Berlin, Germany) Jenny

More information

The effect of magnetic fields on the formation of circumstellar discs around young stars

The effect of magnetic fields on the formation of circumstellar discs around young stars Astrophysics and Space Science DOI 10.1007/sXXXXX-XXX-XXXX-X The effect of magnetic fields on the formation of circumstellar discs around young stars Daniel J. Price and Matthew R. Bate c Springer-Verlag

More information

A Comparison of AMR and SPH cosmology codes

A Comparison of AMR and SPH cosmology codes Chapter 3 A Comparison of AMR and SPH cosmology codes 3.1 Summary We compare two cosmological hydrodynamic simulation codes in the context of hierarchical galaxy formation: the Lagrangian smoothed particle

More information

ASTRO 310: Galactic & Extragalactic Astronomy Prof. Jeff Kenney

ASTRO 310: Galactic & Extragalactic Astronomy Prof. Jeff Kenney ASTRO 310: Galactic & Extragalactic Astronomy Prof. Jeff Kenney Class 3 January 23, 2017 The Milky Way Galaxy: Vertical Distributions of Stars & the Stellar Disk disks exist in many astrophysical systems

More information