Governing model
The tank is represented as vertical, well-mixed control volumes. With height coordinate z, cross-sectional area A, signed volume flow Q, and temperature T:
ρcpA ∂T/∂t = −∂/∂z (ρcpQT − keffA ∂T/∂z) − U P (T − Ta)
Here P is the tank perimeter, U the overall surface heat-loss coefficient, and Ta the room temperature. The effective diffusivity is αeff = keff/(ρcp).
Numerical method
Conservative finite-volume fluxes are evaluated at cell faces. Advection uses first-order upwinding; vertical diffusion uses centred face gradients; ambient loss is applied to each cell. The explicit update uses an illustrative fixed 0.25 s time step. The selected ranges keep the diffusion and advection Courant limits below their stability bounds.
Reference properties and geometry
Textbook water properties near room temperature: density 997 kg/m³, specific heat capacity 4182 J/(kg·K), thermal conductivity 0.60 W/(m·K). Molecular thermal diffusivity follows from α = k/(ρcp), approximately 0.144 mm²/s.
Illustrative geometry: vertical cylinder, 1.20 m high and 0.44 m in diameter. The initial lower and upper layers are 18 °C and 58 °C. These are teaching values, not a specification for a commercial cylinder.
What is simplified
The model assumes constant water properties, a fixed cylindrical volume, a uniform temperature across each horizontal slice, and a single effective vertical diffusivity. It does not resolve inlet jets, coil geometry, buoyancy-driven turbulence, wall conduction, pipework, thermostat logic, or temperature-dependent density. The effective diffusivity is an adjustable representation of mixing and should not be mistaken for a measured property of a real tank.
Heat loss is represented by a uniform sidewall coefficient; top and base end losses are omitted. The visual water colours are a scaled temperature map; the tank rendering is schematic. The ideal draw-off experiment assumes plug flow and constant volume flow, while the simulated result includes numerical spreading, mixing and heat loss.