This guide provides a comprehensive overview of Smoothed Particle Hydrodynamics (SPH), a powerful computational method used for simulating fluid dynamics. Unlike traditional grid-based methods, SPH is Lagrangian and mesh-free, meaning it tracks the fluid as a collection of moving particles. This fundamental difference gives SPH significant advantages, particularly for problems involving complex free surfaces, large deformations, and fluid-structure interactions, such as waves crashing, dam breaks, and astrophysical phenomena. In this section, we introduce the motivation behind SPH and its place within the broader landscape of computational fluid dynamics (CFD).
What is SPH?
SPH is a numerical method that discretizes a continuous fluid domain into a set of particles. Each particle carries physical properties like mass, density, pressure, and velocity. The behavior of the fluid is then determined by the interactions of these particles, governed by smoothed-out versions of the fundamental fluid dynamics equations. The "smoothing" is achieved through a kernel function, which averages the properties of nearby particles to approximate the continuous fluid field at any given point.
Why Use SPH?
- Mesh-Free Nature: Eliminates the need for complex and time-consuming mesh generation, especially for intricate or moving geometries.
- Natural Handling of Free Surfaces: The particle-based approach inherently tracks fluid boundaries and interfaces without requiring specialized algorithms.
- Intuitive and Adaptable: The Lagrangian framework is conceptually straightforward and can be easily adapted to include additional physics, such as heat transfer or chemical reactions.