Hot water enters at the top and pushes the cooler layer down. A narrow thermocline keeps the two useful temperature zones distinct.
Start with a sharp hot–cold interface, let the current flow move it, then compare its measured speed with the plug-flow prediction.
∑The scienceEquations, assumptions and what the model leaves out⌄
Governing model
The tank is represented as a vertical column. Temperature is transported by the imposed through-flow, spread by an effective vertical diffusivity, and pulled toward ambient temperature by wall losses:
u = Q/A is the signed mean velocity; charging sends hot water downward, while drawing sends cold water upward. k = UA/(ρ cp V) distributes the surface heat loss through the tank volume.
Checks and constants
- Textbook water properties: density ρ = 997 kg/m³ and specific heat cp = 4180 J/(kg·K), representative near room temperature.
- Scaled numerical grid: 72 vertical cells and a fixed 0.2 s integration step. The explicit upwind-advection and centred-diffusion update is kept inside its stability limits at every control extreme.
- Textbook comparisons: cylinder volume, the exact first diffusion eigenmode, and a running first-law energy balance.
What is simplified
The model assumes a cylindrical tank, constant water properties, one-dimensional vertical flow, and uniform heat transfer over the tank surface. The effective mixing slider represents unresolved vertical spreading; it is not a measured property of a particular installation.
Real inlet diffusers, coils, wall conduction, buoyancy-driven circulation, radial gradients, fittings and draw-off plumbing can create three-dimensional effects that this model does not resolve. The ambient reference is an illustrative 20 °C.
How to interpret it
The colour field is a temperature map: blue is cooler water, amber is warmer water. The narrow transition between them is the thermocline. A thin thermocline preserves a large hot layer above a cool layer; strong mixing broadens the transition and reduces the volume above the illustrative 50 °C threshold.
Simulation time is accelerated for exploration. Displayed settings and model outputs are illustrative; physical constants and analytic reference solutions are labelled textbook.
An educational model of thermal storage, not a performance prediction for a specific commercial tank.