What is being solved
The tank is represented by a vertical column of well-mixed cells. Temperature and a passive cold-water tracer are transported upward by the draw flow and spread by molecular plus jet-induced diffusion.
∂T/∂t + u ∂T/∂z = ∂/∂z [K(z) ∂T/∂z] − UA(T̄ − Tₐ)/(ρcₚV)
∂C/∂t + u ∂C/∂z = ∂/∂z [K(z) ∂C/∂z]
u = Q/A, A = V/H, Fr = vⱼ / √(g′d), g′ = gβΔT
The inlet-jet closure is illustrative: K(z) = α + Kⱼe−z/Lⱼ, with Kⱼ = 0.012 vⱼd/(1 + Ri) and Ri = 1/Fr². It captures the trend that a narrow, fast jet mixes more strongly; it is not a universal diffuser correlation.
Reference constants
- Water density: 997 kg/m³ textbook near room temperature.
- Water heat capacity: 4,180 J/(kg·K) textbook.
- Water thermal diffusivity: 1.43 × 10⁻⁷ m²/s textbook near 20 °C.
- Gravity: 9.81 m/s² textbook; thermal expansion coefficient: 2.1 × 10⁻⁴ K⁻¹ textbook near 20 °C.
- Initial water temperature: 60 °C; tank height: 1.2 m; cell count: 48; time step: 0.5 s — all illustrative or scaled.
What is simplified
The model is one-dimensional and assumes incompressible water, a fixed tank volume, a uniform inlet temperature, and a lumped heat-loss coefficient. It omits detailed three-dimensional jet geometry, wall conduction, internal coils, pipe losses, re-heating, and temperature-dependent water properties. The numerical checks compare the discretised energy and tracer ledgers with independent state integrals, and compare tank geometry with its closed form. The plug-flow front is a textbook reference, not a claim that a real diffuser produces a sharp front.
Every slider setting and displayed live result is illustrative; reference material properties are labelled textbook. The model is an educational approximation, not a sizing tool for a real installation.