![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Functions | |
| OPENSWMM_KERNEL_FN double | faceDischarge (double hf, double slope, double nf, double s_eps) noexcept |
| OPENSWMM_KERNEL_FN double | cellDiffusiveDt (double alpha, double lchar, double h, double n, double slope_abs, double s_eps) noexcept |
|
noexcept |
Explicit-diffusion step bound for a cell of characteristic length L, depth h, Manning n and the largest face slope |S| among its faces (floored at s_eps): Δt = α · L² · n · √S / (4 · h^{5/3}). Returns a huge value for a dry cell.
|
noexcept |
Manning quasi-steady face discharge (m²/s, positive L→R) for face depth hf, surface slope S = (η_R − η_L)·inv_dx (positive ⇒ flow R→L), face Manning n_f and slope floor s_eps.