Home▸Fluid Dynamics & Aerodynamics▸SPH Dam Break Simulation (2D)

💧 SPH Dam Break Simulation (2D)

A 2D Smoothed Particle Hydrodynamics dam-break simulation: a column of water particles collapses under gravity and splashes across a tank floor. Real SPH density, pressure and viscosity forces, tuned live with sliders.

Fluid Dynamics & Aerodynamics2DModerate60 FPS📱 Mobile-adapted💧 Water⇄ 3D version
2d-sph-dam-break ↗ Open standalone
⚙ Under the hood

A 2D Smoothed Particle Hydrodynamics simulation of a dam break: a column of water particles collapses under gravity, splashes across the tank floor, and settles. Real poly6 density kernel, spiky-gradient pressure force, and viscosity Laplacian drive the motion — adjust particle count, viscosity, and pressure stiffness to explore free-surface fluid behaviour in real time.

SPHsmoothed particle hydrodynamicsdam breakfluid simulationviscosityfree surface

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)