Home▸Fluid Dynamics & Aerodynamics▸Whirlpool Simulator (2D)

Whirlpool Simulator (2D)

A Rankine combined vortex — solid-body rotation in the core, a 1/r free vortex outside it — drives the drain's spiral flow and the funnel depth you can read off live.

Fluid Dynamics & Aerodynamics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-whirlpool-simulator ↗ Open standalone

This 2D companion swaps the 3D scene for a plain top-down canvas driven by the same Rankine combined vortex: a solid-body core surrounded by a 1/r free vortex, plus a radial drain inflow that spirals particles toward the plughole while the free surface dips into a funnel you can read straight off the readout panel.

⚙ Under the hood

2D Rankine combined-vortex model: tangential speed, drain inflow and free-surface funnel depth all update live from the same closed-form equations as the 3D scene.

Whirlpool DynamicsAngular MomentumFluid RotationRankine Vortex

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

What did you find?

Add reproduction steps (optional)