![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Street inlet capture — numerically identical to legacy inlet.c. More...
#include "Inlet.hpp"#include "Link.hpp"#include "XSectBatch.hpp"#include "../core/Constants.hpp"#include "../core/SimulationContext.hpp"#include "../core/UnitConversion.hpp"#include "../data/InfraData.hpp"#include "../data/TableData.hpp"#include <algorithm>#include <cmath>#include <string>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::inlet |
Functions | |
| double | openswmm::inlet::getEo (double sr, double ts, double w) |
| HEC-22 Eq(4-4) solved for Eo with Ts/w substituted for (T/w)−1 (inlet.c:1248). | |
| double | openswmm::inlet::getFlowSpread (const Geom &g, double Q) |
| Width of flow spread, HEC-22 Eq(4-2)/(4-6) (inlet.c:1200). | |
| double | openswmm::inlet::getGutterFlowRatio (const Geom &g, double w) |
Ratio of the flow over width w to the total street flow, Eq(4-16) (inlet.c:1518). | |
| double | openswmm::inlet::getGutterAreaRatio (const Geom &g, double Wg, double A) |
| double | openswmm::inlet::getSplashOverVelocity (int grate_type, double L) |
| double | openswmm::inlet::getGrateInletCapture (const Design &d, Geom &g, double Q) |
| double | openswmm::inlet::getCurbInletCapture (const Geom &g, double Q, double opening_length) |
| On-grade curb-opening capture, Eq(4-22a)/(4-23)/(4-24) (inlet.c:1477). | |
| double | openswmm::inlet::getOnGradeInletCapture (const Design &d, Geom &g, double Q, double depth) |
| Capture of a single on-grade inlet — type dispatch + COMBO sweeper (inlet.c:1325). | |
| double | openswmm::inlet::getOnGradeCapturedFlow (const Design &d, const UsageParams &u, Geom &g, double q, double depth) |
Total capture of an on-grade usage: num_inlets in series, both sides (inlet.c:1267). | |
| void | openswmm::inlet::findOnSagGrateFlows (const Design &d, const Geom &g, double depth, double *weir_flow, double *orifice_flow) |
| On-sag grate weir/orifice flows, Eq(4-26)/(4-27) (inlet.c:1644). | |
| double | openswmm::inlet::getCurbOrificeFlow (double flow_depth, double opening_height, double opening_length, int throat_angle) |
| Curb-opening orifice flow with the throat-angle head, Eq(4-31a) (inlet.c:1764). | |
| void | openswmm::inlet::findOnSagCurbFlows (const Design &d, const Geom &g, double depth, double L, double *Qw, double *Qo) |
| double | openswmm::inlet::getOnSagSlottedFlow (const Design &d, double depth) |
| On-sag slotted drain flow, Eq(4-32)/(4-33) (inlet.c:1785). | |
| double | openswmm::inlet::getOnSagInletCapture (const Design &d, const Geom &g, double depth) |
| Capture of a single on-sag inlet (inlet.c:1610). | |
| double | openswmm::inlet::getOnSagCapturedFlow (const Design &d, const UsageParams &u, const Geom &g, double depth) |
Total capture of an on-sag usage: single inlet × nsides · num_inlets (inlet.c:1574). | |
| double | openswmm::inlet::getCustomCapturedFlow (const UsageParams &u, const Geom &g, const Table &curve, int curve_kind, double q, double depth, double ucf_flow, double ucf_len) |
| Capture of a CUSTOM inlet from its diversion / rating curve (inlet.c:1902). | |
| double | openswmm::inlet::getInletArea (const Design &d, const UsageParams &u) |
| Unclogged open area of one usage (ft²) — legacy getInletArea (inlet.c:1870). | |
Street inlet capture — numerically identical to legacy inlet.c.