![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Phase H1 body — LEGACY CSTR temperature transport. More...
#include "HeatLegacy.hpp"#include <algorithm>#include <cmath>#include <vector>#include "../../../core/SimulationContext.hpp"#include "../../InitialQualitySeeds.hpp"#include "../HeatFluxModules/HeatFluxes.hpp"Namespaces | |
| namespace | openswmm |
| namespace | openswmm::transport |
Functions | |
| void | openswmm::transport::routeLegacyHeat (SimulationContext &ctx, double dt) |
Phase H1 body — LEGACY CSTR temperature transport.
Formula provenance is the pollutant path in QualityRouting.cpp, by way of the A1b age mirror: accumulateLinkLoads (rate convention q·value), mixAtNodes ((v_old·T_old + mass_in) / (v_old + v_in)), updateLinkQuality (STEADY / no-flow / zero-volume / volume-balance branches with the DW q_in correction). Differences from the age mirror are enumerated in the header; the load-bearing one is that nothing here is floored at zero.