The Moving Thermocline Inside a Hot-Water Tank
Follow the boundary between hot stored water and the cold water replacing it. Change the draw-off, mixing and heat loss to see when the outlet turns cold.
The tank begins uniformly hot. Cold replacement water has not yet displaced any stored heat.
Three independent checks
Integrated Q/A travel against displaced volume ÷ tank area
Stored-energy change against inlet, outlet and shell losses
Numerical no-flow cooling against exponential theory
Run the tank, then measure the 10–90% temperature transition and compare it with the diffusion-only prediction.
04 The science+
Governing model
The tank is represented as a vertical column divided into 64 equal-volume cells. Temperature is advanced with a conservative, one-dimensional advection–dispersion equation:
Here u = Q/A is the upward replacement-water velocity, D is effective axial dispersion, and λ = UA/(ρcₚV) represents heat loss to the room.
Reference values and scale
- Water density: ρ = 997 kg/m³ (textbook approximation)
- Water heat capacity: cₚ = 4,180 J/(kg·K) (textbook approximation)
- Ambient temperature: Tₐ = 20 °C (illustrative)
- Tank volume: V = 180 L (illustrative)
- Tank height: H = 1.18 m (scaled geometry)
- Grid: 128 cells; time step: 0.25 s (illustrative)
These are reference values for the model, not measurements of a particular installation.
What is simplified
The model assumes constant density, constant flow, a fixed tank volume and a one-dimensional vertical temperature field. A finite-volume upwind flux handles advection; centred diffusive fluxes handle axial dispersion. A fixed 0.25 s integration step is used regardless of display frame rate.
The bottom inlet jet, baffles, recirculation, wall conduction and radial temperature differences are not resolved individually. Their combined vertical mixing effect is represented by the adjustable effective dispersion coefficient.
What is illustrative
The vessel drawing is a scaled cutaway, and the dispersion and heat-loss settings are user-controlled illustrative operating conditions. The model is useful for understanding trends and energy accounting; it is not a design tool or a prediction for a specific manufacturer's cylinder.
Thermocline height is the location where water temperature crosses the midpoint between the inlet and initial hot-water temperatures.