Smoothed Particle Hydrodynamics in pkdgrav3 for Shock Physics Simulations. I. Hydrodynamics
Abstract We present pkdgrav3 , a high-performance, fully parallel tree smoothed particle hydrodynamics (SPH) code designed for large-scale hydrodynamic simulations including self-gravity. Building upon the long development history of pkdgrav , the code combines an efficient hierarchical tree algorithm for gravity and neighbor finding with a modern implementation of SPH optimized for massively parallel hybrid CPU/GPU architectures. Its hybrid shared/distributed memory model, combined with an asynchronous communication scheme, allows pkdgrav3 to scale efficiently to thousands of CPU cores and GPUs. We validate the numerical accuracy of pkdgrav3 using a suite of standard tests, demonstrating excellent agreement with analytic or reference solutions. The code was already used in several peer-reviewed publications to model planetary-scale impacts, where SPH’s Lagrangian nature allows for accurate tracking of material origin and thermodynamic evolution. These examples highlight pkdgrav3 ’s robustness and efficiency in simulating highly dynamical, self-gravitating systems. pkdgrav3 thus provides a powerful, flexible, and scalable platform for astrophysical and planetary applications, capable of exploiting the full potential of modern heterogeneous high-performance computing systems.
Authors
- Joachim Stadel (ORCID: https://orcid.org/0000-0001-7565-8622)
- Christian Reinhardt (ORCID: https://orcid.org/0000-0002-4535-3956)
- Thomas Meier (ORCID: https://orcid.org/0000-0001-9682-8563)
- D. Potter (ORCID: https://orcid.org/0000-0002-0757-5195)
Institutions
- University of Bern (CH)
- ZHAW Zurich University of Applied Sciences (CH)
- University of Zurich (CH)
Publication Details
- Journal
- The Astrophysical Journal
- Published
- 2026-03-27
- DOI
- https://doi.org/10.3847/1538-4357/ae4e29
- Primary Topic
- Fluid Dynamics Simulations and Interactions
- Type
- article
- Field-Weighted Citation Impact
- 0.00