Smoothed-particle hydrodynamics (SPH) is a computational method used for simulating
fluid flows. It was developed by Gingold and Monaghan (1977) and Lucy (1977) initially for astrophysical problems. It has been used in many fields of research, including
astrophysics,
ballistics,
volcanology, and
oceanography. It is a mesh-free Lagrangian method (where the coordinates move with the fluid), and the resolution of the method can easily be adjusted with respect to variables such as the
density.