Governing equation
The one-dimensional advection–diffusion equation is
∂T/∂t + u ∂T/∂z = αeff ∂²T/∂z²
Here, u is the ideal plug-flow speed, positive upward for draw and negative downward for charge. The interface follows zf = z0 + u t, with u = ±Q/A.
Exact interface solution
T(z,t) = Tc + (Th − Tc) · ½ erfc[(zf − z)/(2√(αeffτ))]
The initial smooth interface is represented by an equivalent diffusion age τ0. Then τ = τ0 + t, and its 10–90% width uses the textbook coefficient 3.6248: 3.6248√(αeffτ). This is the exact error-function solution for a translating step in an unbounded medium.
Energy and textbook constants
Useful sensible heat above the cold baseline is E = ρcpA ∫(T − Tc) dz. The calculation uses water density ρ = 998 kg/m³ and specific heat cp = 4,182 J/(kg·K), both textbook approximations near room temperature.
What is simplified
- The tank is represented by one vertical temperature column with constant cross-section.
- The layer temperatures remain fixed; heat exchange with the room, pipe losses, buoyant overturning and wall conduction are omitted.
- Flow is ideal plug flow. The inlet-jet preset raises effective axial diffusivity to represent extra mixing; it does not resolve a turbulent jet.
- Finite-wall effects are omitted. The simulation stops broadening the interface when its 10–90% width reaches one quarter of the tank height, and limits the front to an illustrative central 20–80% of the column.
- All operating values and tank dimensions are illustrative, not a specification or prediction for a real installation. The drawing is scaled for clarity.
An educational model; not affiliated with any equipment manufacturer.