[Paper Review] An improved SPH scheme for cosmological simulations
This paper presents an advanced smoothed particle hydrodynamics (SPH) scheme for cosmological simulations that improves accuracy and stability by integrating Wendland kernel functions, time-dependent artificial viscosity with high-order gradients and shear limiting, particle wake-up time-step limiting, and a novel time-dependent artificial conduction model. The implementation significantly reduces numerical noise, enhances mixing of entropy across fluid phases, and produces more realistic galaxy and cluster structures—such as colder, more extended galactic disks and entropy cores in clusters—outperforming standard GADGET-SPH in all hydrodynamic tests.
We present an implementation of smoothed particle hydrodynamics (SPH) with improved accuracy for simulations of galaxies and the large-scale structure. In particular, we combine, implement, modify and test a vast majority of SPH improvement techniques in the latest instalment of the GADGET code. We use the Wendland kernel functions, a particle wake-up time-step limiting mechanism and a time-dependent scheme for artificial viscosity, which includes a high-order gradient computation and shear flow limiter. Additionally, we include a novel prescription for time-dependent artificial conduction, which corrects for gravitationally induced pressure gradients and largely improves the SPH performance in capturing the development of gas-dynamical instabilities. We extensively test our new implementation in a wide range of hydrodynamical standard tests including weak and strong shocks as well as shear flows, turbulent spectra, gas mixing, hydrostatic equilibria and self-gravitating gas clouds. We jointly employ all modifications; however, when necessary we study the performance of individual code modules. We approximate hydrodynamical states more accurately and with significantly less noise than standard SPH. Furthermore, the new implementation promotes the mixing of entropy between different fluid phases, also within cosmological simulations. Finally, we study the performance of the hydrodynamical solver in the context of radiative galaxy formation and non-radiative galaxy cluster formation. We find galactic disks to be colder, thinner and more extended and our results on galaxy clusters show entropy cores instead of steadily declining entropy profiles. In summary, we demonstrate that our improved SPH implementation overcomes most of the undesirable limitations of standard SPH, thus becoming the core of an efficient code for large cosmological simulations.
Motivation & Objective
- To address long-standing numerical issues in SPH, such as poor mixing at contact discontinuities and spurious surface tension, which lead to unphysical entropy profiles in cosmological simulations.
- To improve the resolution and accuracy of hydrodynamical simulations in galaxy and large-scale structure formation by reducing numerical noise and enhancing fluid mixing.
- To develop a robust, stable, and efficient SPH implementation that maintains conservation laws while accurately capturing shocks, shear flows, and turbulent instabilities.
- To validate the new scheme against standard SPH and Eulerian codes using a comprehensive suite of hydrodynamic and cosmological test problems.
- To enable more realistic simulations of galaxy formation with radiative cooling, star formation, and supernova feedback by providing a physically consistent hydrodynamical solver.
Proposed method
- Implementation of Wendland kernel functions to improve kernel interpolation accuracy and reduce noise in particle sampling.
- Adoption of a time-dependent artificial viscosity scheme with high-order gradient reconstruction and a shear flow limiter to suppress unphysical dissipation in smooth flows while capturing shocks.
- Introduction of a particle wake-up time-step limiting mechanism to prevent inactive particles from distorting fluid sampling and to improve temporal resolution in dynamic regions.
- Incorporation of a time-dependent artificial conduction model that corrects for gravitationally induced pressure gradients and enhances entropy mixing across fluid interfaces.
- Use of a pressure-based formulation of the equations of motion to properly treat contact discontinuities and improve stability in multi-phase flows.
- Integration of the improved SPH scheme into the GADGET-3 codebase, using the developer version to ensure full compatibility and reproducibility.
Experimental results
Research questions
- RQ1How does the new SPH scheme improve the resolution and accuracy of hydrodynamical instabilities such as Kelvin-Helmholtz and Rayleigh-Taylor instabilities?
- RQ2To what extent does the time-dependent artificial conduction model enhance entropy mixing between different fluid phases in cosmological simulations?
- RQ3How does the particle wake-up time-step limiting mechanism reduce numerical distortions in fluid sampling during strong shocks and shear flows?
- RQ4How does the improved SPH scheme compare to standard GADGET-SPH and Eulerian codes in reproducing radial profiles of gas density, temperature, and entropy in galaxy clusters?
- RQ5What impact does the new SPH formulation have on the structural properties of simulated galaxies, such as disk temperature and scale length?
Key findings
- The improved SPH scheme reduces numerical noise and produces more accurate hydrodynamical states compared to standard GADGET-SPH, especially in weak and strong shock tests.
- The scheme successfully captures the development of gas-dynamical instabilities, such as Kelvin-Helmholtz and Rayleigh-Taylor, which are often suppressed in standard SPH.
- Entropy mixing between different fluid phases is significantly enhanced, leading to the formation of entropy cores in simulated galaxy clusters instead of steadily declining profiles.
- Galactic disks formed with the new scheme are colder and more extended, indicating improved thermal and dynamical stability.
- The implementation performs comparably to both Eulerian codes and modern SPH implementations in the nIFTy cosmology comparison project, showing excellent agreement in radial profiles of density, temperature, and entropy.
- The joint application of all improvements—kernel, viscosity, time-step control, and artificial conduction—results in a robust, stable, and physically consistent solver suitable for large-scale cosmological simulations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.