OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::inlet::Geom Struct Reference

Street / channel geometry seen by one inlet, in INTERNAL units. More...

#include <Inlet.hpp>

Collaboration diagram for openswmm::inlet::Geom:

Public Attributes

double sx = 0.01
 Street cross slope (fraction)
 
double sl = 0.0
 Conduit longitudinal slope (fraction)
 
double sw = 0.01
 Gutter + cross slope.
 
double a = 0.0
 Gutter depression (ft)
 
double w = 0.0
 Gutter width (ft)
 
double t = 0.0
 Top width of flow spread (ft) — set by getFlowSpread.
 
double n = 0.016
 Manning's roughness.
 
int nsides = 1
 1- or 2-sided street
 
double t_crown = 100.0
 Distance from curb to crown (ft)
 
double beta = 0.0
 1.486·√SL / n
 
double qfactor = 0.0
 Izzard's f in Q = f·T^2.67.
 
const XSectParamsxs = nullptr
 

Detailed Description

Street / channel geometry seen by one inlet, in INTERNAL units.

Mirrors the file-scope block of legacy inlet.c (Sx, SL, Sw, a, W, T, n, Nsides, Tcrown, Beta, Qfactor, xsect) that getConduitGeometry() (inlet.c:1147-1196) fills. t (the flow spread) is an output of getFlowSpread() that later kernels read, exactly as legacy's shared T is.

Member Data Documentation

◆ a

double openswmm::inlet::Geom::a = 0.0

Gutter depression (ft)

◆ beta

double openswmm::inlet::Geom::beta = 0.0

1.486·√SL / n

◆ n

double openswmm::inlet::Geom::n = 0.016

Manning's roughness.

◆ nsides

int openswmm::inlet::Geom::nsides = 1

1- or 2-sided street

◆ qfactor

double openswmm::inlet::Geom::qfactor = 0.0

Izzard's f in Q = f·T^2.67.

◆ sl

double openswmm::inlet::Geom::sl = 0.0

Conduit longitudinal slope (fraction)

◆ sw

double openswmm::inlet::Geom::sw = 0.01

Gutter + cross slope.

◆ sx

double openswmm::inlet::Geom::sx = 0.01

Street cross slope (fraction)

◆ t

double openswmm::inlet::Geom::t = 0.0

Top width of flow spread (ft) — set by getFlowSpread.

◆ t_crown

double openswmm::inlet::Geom::t_crown = 100.0

Distance from curb to crown (ft)

◆ w

double openswmm::inlet::Geom::w = 0.0

Gutter width (ft)

◆ xs

const XSectParams* openswmm::inlet::Geom::xs = nullptr

Host conduit cross-section — non-null only for the DROP_* (channel) designs, whose grate kernel needs A(S)/Y(A)/W(Y) of the channel.


The documentation for this struct was generated from the following file: