Governing model
The vertical temperature field follows a one-dimensional advection–diffusion–loss equation:
∂T/∂t + u ∂T/∂z = Deff ∂²T/∂z² − λ(T − Ta)
u = ±Q/A is the signed mean vertical velocity; A = πDtank²/4. Positive velocity is upward. Deff is an effective axial dispersion coefficient.
λ = U P / (ρ cp A) = 4U / (ρ cp Dtank)
Water properties are textbook reference values: ρ = 997 kg/m³ and cp = 4,182 J/(kg·K); g = 9.81 m/s² is stated for context but buoyancy is represented through the stable hot-over-cold arrangement, not solved as a flow field.
Numerical method
A 121-cell vertical finite-difference grid uses first-order upwind advection, centred diffusion and a fixed 0.5 s time step. Wall cooling is applied with the exact exponential factor for each step. The selected parameter ranges keep the explicit transport update inside its stability limit.
What is simplified
This is a one-dimensional tank-average model. It does not resolve inlet diffuser geometry, radial circulation, turbulence, temperature-dependent water properties, moving interfaces, or a detailed wall construction. Effective dispersion stands in for unresolved mixing. The tank height (1.8 m), ambient temperature (20 °C), initial hot/cold reference temperatures (72/15 °C) and slider ranges are illustrative unless explicitly identified as textbook water properties.
How to interpret it
Low dispersion preserves a sharp thermocline. Higher dispersion broadens the transition and reduces the volume that remains distinctly hot or cold. Flow moves the transition at approximately Q/A; wall heat transfer gradually reduces stored sensible energy.
An educational physical model; not a design tool or performance guarantee for a real storage installation.