A tank can hold hot and cold water at once. Watch the invisible boundary move.
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:
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.
The 40 °C hot-reserve threshold, geometry, slider ranges, and presets are illustrative teaching choices, not design specifications or temperature-safety advice.
Each comparison is recalculated from the current settings or live state. Percent difference is shown against the stated reference.