![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Plan H6b — implementation. See BedExchange.hpp for the derivation. More...
#include "BedExchange.hpp"#include "../../../data/ChannelThermalData.hpp"#include <cmath>#include <cstddef>#include "HeatOverrides.hpp"#include "SurfaceExchange.hpp"#include "../../../core/SimulationContext.hpp"#include "../../../data/TableData.hpp"#include "../../../hydraulics/XSectBatch.hpp"#include "../../../hydraulics/Link.hpp"Namespaces | |
| namespace | openswmm |
| namespace | openswmm::transport |
| namespace | openswmm::transport::heat |
Functions | |
| PairStep | openswmm::transport::heat::relaxPair (const BedCoupling &g, double t_w, double t_b, double j0, double j1, double h, double area_m2, double dt) noexcept |
| One exact step of the coupled (water, bed) pair. | |
| SolutePairStep | openswmm::transport::heat::exchangePair (double c_w, double c_b, double vol_w, double vol_b, double q_exch, double dt) noexcept |
| One exact step of the two-body solute exchange. | |
| bool | openswmm::transport::heat::bedExchangeEnabled (const SimulationContext &ctx) noexcept |
| Test current native finite-bed heat family process enable. | |
| double | openswmm::transport::heat::groundTemperature (SimulationContext &ctx) noexcept |
| Sample the global held deep-ground temperature at native absolute model time. | |
| double | openswmm::transport::heat::linkBedAreaM2 (const SimulationContext &ctx, int link) noexcept |
| Compute wetted conduit bed contact area from native geometry. | |
| double | openswmm::transport::heat::linkFreeSurfaceFt2 (const SimulationContext &ctx, int link) noexcept |
| Compute native open-conduit free surface for heat/evaporation binding. | |
| double | openswmm::transport::heat::bedExchangeQ (const SedimentConfig &cfg, double bed_m2) noexcept |
| Compute total finite-bed solute exchange rate from diffusion and hyporheic velocity. | |
| double | openswmm::transport::heat::groundTempFor (const SimulationContext &ctx, const SedimentConfig &sc, double t_gr_global) noexcept |
| Choose one element's held deep-ground constant or globally sampled series temperature. | |
| void | openswmm::transport::heat::fillChannelThermalGeometry (const SimulationContext &ctx, ChannelThermalRegion ®ion) noexcept |
| Publish native conduit thermal region geometry in SI. | |
| BedCoupling | openswmm::transport::heat::bedCouplingFromContact (const SimulationContext &ctx, const SedimentConfig &sc, double bed_m2, double vol_ft3, double t_gr) noexcept |
| Construct finite water/bed conductance and capacity from one SI contact footprint. | |
| BedCoupling | openswmm::transport::heat::bedCouplingForLink (const SimulationContext &ctx, int link, double vol_ft3, double t_gr) noexcept |
| Build a conduit finite-bed pair from current wet perimeter and resolved element material. | |
| void | openswmm::transport::heat::seedBedTemperature (SimulationContext &ctx) |
| Size and seed native link bed temperatures at their initial owner phase. | |
| void | openswmm::transport::heat::applyBedSoluteExchange (SimulationContext &ctx, double *link_conc, int n_arr, int offset, int n_total, double dt) |
Step every conduit's bed/channel solute exchange for one dt. | |
Plan H6b — implementation. See BedExchange.hpp for the derivation.