A Prediction-Correction Approach for Stable SPH Fluid Simulation from Liquid to Rigid

Francois Dagenais, Jonathan Gagnon, Eric Paquette

The simulation of highly viscous fluids using an SPH (Smoothed Particle Hydrodynamics) approach is a tedious task. Since the equations are typically posed as stiff problems, simulating highly viscous fluids involves strong forces applied to the particles. With these strong forces, a very small time step is needed to keep the simulation stable and produce good results. The approach detailed in this paper uses an iterative prediction-correction scheme to optimize forces that act on the fluid, in order to produce a behavior that varies from liquid to solid. This approach significantly reduces the computation times when the fluid is very viscous and almost rigid. At every time step, each particle position is predicted. The deformation is then compared with a target deformation and forces are adjusted to counteract the deformation. In addition to requiring lengthy computation times and tedious adjustment of time step to maintain a stable simulation, typical SPH simulators make it difficult to achieve the desired behavior. This difficulty is caused by the highly non-linear effect that the viscosity has on the behavior of the fluid. Compared to the typical viscosity parameter which varies from zero to infinity, the proposed rigidity parameter is easier to control, providing an intuitive variation from 0 (liquid) to 1 (solid). Since simulating high viscosity fluids is subject to large computation times and instabilities, we complement the proposed model with some important improvements. Firstly, an improved time step adjustment is proposed that results in both reduced computation times and increased stability. Secondly, an implicit temperature diffusion provides stable melting and solidification, regardless of the size of the time step. Thirdly, a constraint propagation provides faster convergence of the rigid forces to visually realistic behaviors. Together, these improvements and the proposed model allow the simulation of fluids with viscous behaviors that were very difficult, if not impossible, to simulate with current SPH approaches.

A Prediction-Correction Approach for Stable SPH Fluid Simulation from Liquid to Rigid

(Comments are closed)