MercurySPH: Design and implementation of an open-source smoothed particle hydrodynamics framework

Published: 1 December 2026| Version 1 | DOI: 10.17632/79f59b45pc.1
Contributors:
,
, Luca Orefice, Jan-Willem Bisschop,
,
,

Description

We present MercurySPH, a new Smoothed Particle Hydrodynamics (SPH) module implementing a weakly compressible SPH formulation. The module is integrated into the open-source MercuryDPM framework for discrete particle simulations. The broader MercuryDPM ecosystem also includes MercuryCG for coarse-graining and supports coupling to the continuum solver oomph-lib. The implementation is written in modern C++, released under a BSD 3-clause licence, and distributed with comprehensive documentation, examples, and tutorials. The modular architecture supports interchangeable kernel functions, multiple SPH formulations (including density summation, a continuity-based scheme, δ-SPH, and artificial viscosity), selectable equations of state, and viscoplastic rheological models such as Bingham and Herschel-Bulkley fluids with established regularisation schemes. Robust ghost-particle boundary conditions enable accurate treatment of no-slip, slip, and dynamic walls. The framework is validated using a range of benchmark problems, including canonical free-surface flows, rheometric configurations, Couette flow, and engineering-relevant concrete flow benchmarks such as the Slumpcone and VFunnel. These examples demonstrate the accuracy, robustness, and flexibility of the implementation across different flow regimes and material behaviours. This unified MercurySPH framework thus provides a flexible, extensible, and open platform for fluid and granular flow simulations, and establishes a foundation for future coupled SPH–DEM simulations of complex fluid–granular systems.

Files

Categories

Computational Physics, Smooth Particle Hydrodynamics, Numerical Modeling

Licence