← index

SPH Fluid

A 2D smoothed-particle-hydrodynamics fluid (Müller's method) on the GPU: each substep computes Poly6 density and equation-of-state pressure, then Spiky pressure gradients and viscosity forces, integrated with wall collisions — a dam break that splashes and settles.

interactive