![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Link hydraulics — numerically identical to legacy link.c. More...
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::link |
Functions | |
| double | openswmm::link::getVelocity (const XSectParams &xs, double flow, double depth, int barrels=1) |
| Compute flow velocity from flow and depth. | |
| double | openswmm::link::getFroude (const XSectParams &xs, double v, double y) |
| Compute Froude number from velocity and depth. | |
| void | openswmm::link::computeConveyance (double roughness, double slope, double s_full, double &beta, double &rough_factor, double &q_full) |
| Compute Manning conveyance coefficients for a conduit. | |
| double | openswmm::link::getDepthFromFlow (const XSectParams &xs, double beta, double q) |
| Compute normal-flow depth from flow rate (inverse Manning). | |
| double | openswmm::link::getCapacity (const XSectParams &xs, double depth) |
| Compute the capacity fraction (depth / full depth for conduits, setting for other links). | |
| void | openswmm::link::computeVelocities (const LinkData &links, double *velocity) |
| Compute velocity for all links in batch. | |
| void | openswmm::link::computeFroude (const LinkData &links, const double *velocity, double *froude) |
| Compute Froude numbers for all conduit links. | |
| void | openswmm::link::computeAllConveyance (LinkData &links) |
| Compute Manning conveyance for all conduit links. | |
Link hydraulics — numerically identical to legacy link.c.