![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Force main friction — numerically identical to legacy forcmain.c. More...
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::forcemain |
Functions | |
| double | openswmm::forcemain::getFricSlope_HW (double velocity, double hyd_rad, double c_hw) |
| Compute friction slope for Hazen-Williams. | |
| double | openswmm::forcemain::getFricSlope_DW (double velocity, double hyd_rad, double roughness) |
| Compute friction slope for Darcy-Weisbach. | |
| double | openswmm::forcemain::getFricFactor (double r_bot, double hrad, double re) |
| Compute friction factor f (Darcy-Weisbach) for fully-turbulent flow. | |
| double | openswmm::forcemain::getEquivN (FrictionModel model, double r_bot, double y_full, double slope, double n_raw) |
| Compute equivalent Manning's n for a force main (Gap #22). | |
| double | openswmm::forcemain::getRoughFactor (FrictionModel model, double r_bot, double length_factor) |
| Compute roughness adjustment factor for a force main (Gap #22). | |
| void | openswmm::forcemain::batchFricSlope (const double *velocity, const double *hyd_rad, const double *param, double *fric_slope, FrictionModel model, int count) |
| Batch compute friction slopes for all force mains — VECTORISABLE. | |
Force main friction — numerically identical to legacy forcmain.c.