SPHENIX: smoothed particle hydrodynamics for the next generation of galaxy formation simulations
Abstract
Smoothed particle hydrodynamics (SPH) is a ubiquitous numerical method for solving the fluid equations, and is prized for its conservation properties, natural adaptivity, and simplicity. We introduce the SPHENIX SPH scheme, which was designed with three key goals in mind: to work well with sub-grid physics modules that inject energy, be highly computationally efficient (both in terms of compute and memory), and to be Lagrangian. SPHENIX uses a Density-Energy equation of motion, along with a variable artificial viscosity and conduction, including limiters designed to work with common sub-grid models of galaxy formation. In particular, we present and test a novel limiter that prevents conduction across shocks, preventing spurious radiative losses in feedback events. SPHENIX is shown to solve many difficult test problems for traditional SPH, including fluid mixing and vorticity conservation, and it is shown to produce convergent behaviour in all tests where this is appropriate. Crucially, we use the same parameters within SPHENIX for the various switches throughout, to demonstrate the performance of the scheme as it would be used in production simulations. SPHENIX is the new default scheme in the SWIFT cosmological simulation code and is available open source.
- Publication:
-
Monthly Notices of the Royal Astronomical Society
- Pub Date:
- April 2022
- DOI:
- arXiv:
- arXiv:2012.03974
- Bibcode:
- 2022MNRAS.511.2367B
- Keywords:
-
- hydrodynamics;
- methods: numerical;
- galaxies: formation;
- galaxies: evolution;
- Astrophysics - Astrophysics of Galaxies;
- Astrophysics - Instrumentation and Methods for Astrophysics
- E-Print:
- Accepted for publication in MNRAS