Abstract
Smoothed Particle Hydrodynamics (SPH) is a powerful tool for fluid animation but faces persistent challenges: particle deficiency at free surfaces and clumping instabilities. This paper introduces a variational staggered particle framework that addresses these issues through an approximate projection method. By decoupling pressure and velocity and employing semi-analytical boundary conditions, the proposed solver achieves stability under both compressive and tensile stress without iterative density corrections. Furthermore, an iterative particle shifting algorithm derived from Helmholtz free energy enables high-fidelity simulation of complex phenomena like the "milk crown" splash and thin liquid sheets.
Introduction
In computer graphics, SPH is favored for its ability to handle complex topological changes in fluids. However, two primary numerical difficulties often degrade simulation quality. First, particle deficiency occurs near free surfaces where the lack of neighboring particles leads to inaccurate gradient calculations, often causing unrealistic "explosions." Second, particle clumping (or pairing instability) causes particles to cluster unnaturally, leading to poor stability. Previous solutions, such as "ghost particles," are computationally expensive or fail to capture subtle physical effects like viscous fingering.
Methodology
Staggered Discretization
The core innovation of this work is the transition from local variables to a staggered framework. Inspired by the staggered MAC grids used in grid-based fluid solvers, the authors decouple pressure and velocity.
By defining mass and velocity as "nonlocal" variables between pairs of particles, the framework effectively suppresses the "zero-energy mode"—a common numerical glitch where the pressure field oscillates wildly without physical cause.
Semi-Analytical Boundary Conditions and Shifting
To solve the particle deficiency problem without the overhead of ghost particles, the framework categorizes fluid particles into four subsets: Interior, Air-boundary, Solid-boundary, and Mixed. Free surface boundary conditions are then analytically imposed on the Laplacian operator and the pressure equation's source term.
To address clumping, the authors introduce an Iterative Particle Shifting algorithm. Unlike standard shifting methods used purely for regularization, this approach is derived from the Helmholtz free energy functional. By adding a "squared gradient energy" term, the shifting algorithm physically models surface tension, which is crucial for capturing the fragmentation of liquid jets.
Key Results
The variational staggered framework demonstrates exceptional stability and visual fidelity across various benchmarks, including hydrostatic tests and rotating square patches. Most notably, the method excels in high-complexity scenarios that involve thin liquid features.
As shown in the milk crown example, the solver remains stable under tensile stress, allowing for the formation of delicate "fingering" structures. Unlike previous approximate projection methods, this approach does not require iterative density corrections to maintain stability, significantly improving performance. For a standard 2D dambreak scenario, visually acceptable results are achieved in as few as 15 iterations of the Conjugate Gradient solver.
Conclusion
By combining a staggered discretization with a physically-motivated shifting algorithm, this framework provides a robust solution to the long-standing stability and accuracy issues in SPH. While the current model is first-order accurate and has minor momentum conservation issues, it represents a significant step forward in simulating high-fidelity, incompressible free-surface flows with complex topological details.
Summary updated