Governing equation
The tank is represented as a one-dimensional vertical water column. Height z is measured upward from the outlet; the inlet is at the top. Temperature follows an advection–diffusion equation with distributed wall exchange:
∂T/∂t + u ∂T/∂z = Deff ∂²T/∂z² − λ(T − Tamb)
The superficial velocity is u = −Q/A, where the negative sign represents downward charging flow. The wall-loss rate is λ = U As /(ρ cp V).
What sets the mixing?
Water's molecular thermal diffusivity is calculated from α = k/(ρcp). Inlet-jet mixing is represented by an illustrative axial-dispersion closure:
Deff = α + Cd vj dj
vj = |u|/r, dj = Dtank√r
Here r is the diffuser open-area fraction and Cd = 0.008 is an illustrative, dimensionless dispersion coefficient. It is a teaching closure, not a universal diffuser correlation.
Numerical method and constants
The illustrative numerical grid uses 80 finite-volume cells. Face fluxes use first-order upwind advection and centred diffusion. An illustrative fixed 0.5 s Heun (explicit trapezoidal / RK2) step advances the temperature field. The time step is comfortably below the advection and diffusion stability limits over the available controls.
Textbook water properties: density 997 kg/m³, specific heat capacity 4182 J/(kg·K), thermal conductivity 0.60 W/(m·K). These are representative values near room temperature; real properties vary with temperature.
Simplifications and interpretation
The model assumes a constant cross-section, incompressible water, one-dimensional vertical transport, a fixed inlet temperature, and a well-mixed outlet face. It does not resolve the three-dimensional inlet plume, buoyancy-driven recirculation, tank fittings, temperature-dependent properties, or detailed wall layers. The initial smooth temperature boundary and the jet-dispersion coefficient are illustrative.
Consequently, use the model to explore mechanisms and compare regimes, not to size a real hot-water store. The displayed heat is sensible energy above the initial cold-water baseline; it is not a measure of system efficiency or deliverable heat at a specified load temperature.