Skip to main content
QUICK REVIEW

[Paper Review] Sphenix: Smoothed Particle Hydrodynamics for the next generation of galaxy formation simulations

Josh Borrow, Matthieu Schaller|Durham Research Online (Durham University)|Dec 7, 2020
Fluid Dynamics Simulations and InteractionsEngineering2 references8 citations
TL;DR

Sphenix is a next-generation Smoothed Particle Hydrodynamics (SPH) scheme designed for galaxy formation simulations, using a Density-Energy equation of motion with variable artificial viscosity and conduction, including a novel limiter that suppresses conduction across shocks. It achieves stable, convergent results across key hydrodynamics tests and is production-ready in the Swift code, enabling accurate feedback modeling while maintaining low computational cost.

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 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.

Motivation & Objective

  • To develop an SPH scheme that works robustly with sub-grid feedback models that inject energy into the interstellar medium.
  • To ensure high computational efficiency in both memory and compute usage for large-scale cosmological simulations.
  • To maintain a fully Lagrangian framework for seamless coupling with gravity solvers in N-body simulations.
  • To resolve longstanding SPH issues such as artificial surface tension, poor vorticity conservation, and spurious thermal conduction.
  • To produce a scheme that is stable, convergent, and production-ready with minimal tuning across diverse astrophysical test problems.

Proposed method

  • The scheme uses a Density-Energy formulation of SPH, solving for particle density and internal energy as primary variables.
  • It implements variable artificial viscosity using the Balsara (1989) switch, with a limiter to prevent over-activation in smooth flows.
  • Artificial conduction is included to reduce errors at contact discontinuities and promote phase mixing, with a novel limiter that suppresses conduction across shocks.
  • The artificial viscosity and conduction coefficients are calibrated using the Sod shock tube test and kept fixed across all other tests.
  • The scheme is integrated into the Swift cosmological simulation code, using the FMM gravity solver and open-source distribution.
  • Kernel reconstruction uses improved smoothing kernels with extended 'wings' to enhance gradient accuracy and reduce numerical noise.

Experimental results

Research questions

  • RQ1Can a single, fixed set of SPH parameters produce stable and convergent results across diverse hydrodynamics test problems?
  • RQ2Does the inclusion of artificial conduction with a shock-blocking limiter prevent spurious energy losses during feedback events?
  • RQ3How well does Sphenix perform in capturing shocks, vortices, and contact discontinuities compared to standard SPH schemes?
  • RQ4Can Sphenix maintain accuracy and convergence in complex, multi-phase flows such as the nIFTy cluster and Evrard collapse?
  • RQ5To what extent does artificial conduction improve phase mixing and entropy core formation in galaxy cluster simulations?

Key findings

  • Sphenix demonstrates convergent behavior across all seven hydrodynamics tests, including the Sod shock tube, Gresho vortex, and Kelvin-Helmholtz instability.
  • The novel conduction limiter successfully prevents artificial energy loss across shocks, enabling stable feedback injection without unphysical cooling.
  • The scheme achieves stable vortex evolution with faster convergence than the Cullen & Dehnen (2010) scheme, even with fixed parameters.
  • In the nIFTy cluster test, Sphenix produces a cored entropy profile due to effective phase mixing from artificial conduction, matching physical expectations.
  • The Evrard collapse test shows that Sphenix maintains accurate shock structure and energy conservation, with no spurious heating or cooling.
  • Sphenix is now the default SPH scheme in Swift, with open-source availability and low computational cost per particle, enabling scalable galaxy formation simulations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.