Governing model
∂T/∂t + u ∂T/∂z = α ∂²T/∂z² − λ(T − Tₐ)
Here z is height above the tank floor. Charging has negative u because hot water enters at the top and displaces water downward. Drawing heat has positive u because cold make-up water enters at the bottom.
u = Q / A, λ = U Aₛ / (ρ cₚ V)
The thermocline midpoint and width are measured against the illustrative initial 18–70 °C reference interval. The model uses a conservative finite-volume update: upwind advection, centred axial diffusion and distributed Newton cooling. The fixed time step is 1 s; slider limits keep the advection and diffusion steps within their stability bounds.
Constants and assumptions
- Textbook constants: water density ρ = 997 kg/m³ and heat capacity cₚ = 4,180 J/(kg·K), treated as constant near room temperature.
- Illustrative geometry: a vertical cylindrical tank with a fixed cross-section and 48 equal-height water layers.
- Illustrative mixing: α is an effective vertical diffusivity. It includes unresolved inlet mixing; it is not a claim about pure-water molecular diffusivity.
- Illustrative heat loss: the total surface loss U Aₛ is spread uniformly through the water column. The shell, pipes and diffuser are drawn schematically.
What is simplified
This is a one-dimensional energy model, not computational fluid dynamics. It does not resolve radial circulation, buoyancy-driven turbulence, a real diffuser, temperature-dependent water properties, pump work, or the detailed construction of insulation. The model assumes the inlet is placed at the correct end and that the flow displaces the tank contents without short-circuiting.
The tank drawing is a scaled 2D cutaway. Its colours encode the calculated water temperature; the metal and glass effects are illustrative rather than material simulations.