◒MYSIMULATOR
ENERGY SYSTEMS · INTERACTIVE FIELD NOTE
THERMAL STORAGE LAB / FLUIDS & HEAT

The Hot-Water Thermocline

A tank can hold hot and cold water at once. Watch the invisible boundary move.

THE QUESTIONHow long does the tap stay hot when cold water enters?
LIVE CUTAWAYStratified storage vessel
RUNNING
HOT LAYER
COLD INFLOW
DRAG TO PAN · NOT TO SCALE
TAP OUTLET65.0 °Cillustrative model
HOT RESERVE— Labove 40°C · illustrative
THERMOCLINE WIDTH— cm10–90% span · illustrative
WALL HEAT FLOW0 Wpositive = loss, negative = gain · illustrative
i

The tank begins hot throughout. Cold replacement water enters gently at the base while hot water leaves at the top.

MODEL NOTESThe scienceEquations, assumptions & limits +

Governing model

The tank is treated as a vertical, one-dimensional column. Temperature is transported upward with the replacement-water velocity, spread by an effective axial dispersion, and relaxed toward room temperature by wall heat loss:

∂T/∂t + u ∂T/∂z = Deff ∂²T/∂z² − λ(T − Ta)

Continuity: A = V/H and u = Q/A. Dispersion: Deff = α + 0.025 m · u · mmix, where mmix is the diffuser-mixing fraction. Wall loss: λ = U As/(ρcpV).

The temperature field is advanced with a fixed illustrative 0.4 s RK4 step. The plotted thermocline is the vertical distance between the illustrative 10% and 90% temperature-rise crossings.

What is simplified

  • The tank is a straight cylinder with a fixed illustrative height of 1.5 m and an illustrative ambient temperature of 20 °C.
  • Radial temperature gradients, coil geometry, pipe heat capacity, and detailed inlet-jet flow are omitted.
  • Diffuser behaviour is represented by an illustrative effective-dispersion coefficient, not a CFD calculation.
  • Stable hot-over-cold layering is assumed; overturning convection is not solved.
  • Water properties are held constant: textbook approximations ρ = 997 kg/m³, cp = 4180 J/(kg·K), and α = 1.43 × 10⁻⁷ m²/s.

The 40 °C hot-reserve threshold, geometry, slider ranges, and presets are illustrative teaching choices, not design specifications or temperature-safety advice.

Independent numerical checks

Continuity: u × (V/Q) = H0.000% diff
RK4 cooling vs exact exponentialchecking…
Live tank energy balance0.000% diff

Each comparison is recalculated from the current settings or live state. Percent difference is shown against the stated reference.

Made with 🤖 ChatGPT