FPS: 0
About this simulation
Heated fluid expands and becomes less dense, so buoyancy makes it rise while cooler, denser fluid sinks to take its place. This circulation carries heat through liquids and gases and is called convection.
What you're seeing
- A box of fluid coloured by temperature: blue is 0 °C, green 50 °C and red 100 °C.
- The top surface keeps losing heat, so warm fluid that reaches it cools and sinks again, setting up convection currents.
- Moving fluid carries heat around without creating or destroying it, so the average temperature only changes when you, or the cold surface, add or remove heat.
Things to try
- Heat a spot near the bottom and watch a warm plume rise and spread out under the surface.
- Switch the fluid to honey: its high viscosity makes the currents slow and smooth.
- Set surface cooling to 0 % and heat the bottom: with nowhere to escape, the heat mixes through the whole box and the average temperature stays up.
How to interact
Press and drag in the fluid to heat it, or pick Cool below the simulation to cool it instead (with a mouse, right-click or Shift+click also cools). opens the settings and goes fullscreen.
Under the hood: a simplified Navier–Stokes solver for an incompressible fluid, with buoyancy proportional to how much warmer or cooler each region is than the average (the Boussinesq approximation).