Computational ThermoFluids Lab

Make a splash

Press and hold anywhere in the tank: water gathers at the pointer and drips off whenever the drop gets big enough. Move while holding to throw the drops; let go to drop what is left. Press inside the water to grow air bubbles the same way. The tank is closed, so no water gets out.

Press and hold

A real two-phase flow solve, not an animation, running in your browser: water and the air above it on a grid, the interface tracked with a geometric volume-of-fluid method and its curvature fitted for surface tension, following the scheme of our open-source code NGA2. New drops are dyed red so you can watch them mix into the pool; the dye fades back over a few seconds. The tank is 10 cm tall and plays in slow motion; the readout shows how much slower than real time your device can run it. Viscosity and surface tension start from water’s values and scale with the sliders.