![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Classes | |
| struct | GradientFit |
| struct | Tensor |
Functions | |
| Tensor | tensor (double vx, double vy, double longitudinal, double transverse, double molecular) |
| Form the velocity-aligned mechanical-plus-molecular dispersion tensor. | |
| double | faceFlux (Tensor a, Tensor b, double nx, double ny, double dl, double dr, std::array< double, 2 > armL, std::array< double, 2 > armR, std::array< double, 2 > gradL, std::array< double, 2 > gradR, double left, double right, double width) |
| Evaluate a harmonic-normal dispersive exchange with deferred nonorthogonal correction. | |
|
inline |
Evaluate a harmonic-normal dispersive exchange with deferred nonorthogonal correction.
| [in] | a | Left dispersion tensor multiplied by left water cross-section per edge width (theta*thickness), m3/s. |
| [in] | b | Corresponding right weighted tensor, m3/s. |
| [in] | nx | Finite X component of the unit left-to-right face normal. |
| [in] | ny | Finite Y component of the same normal. |
| [in] | dl | Positive left centroid-to-face normal distance, m. |
| [in] | dr | Positive right centroid-to-face normal distance, m. |
| [in] | armL | Value-owned left centroid-to-face XY displacement, m. |
| [in] | armR | Value-owned right centroid-to-face XY displacement, m. |
| [in] | gradL | Value-owned left concentration gradient, native concentration per m. |
| [in] | gradR | Corresponding right gradient. |
| [in] | left | Finite left dissolved concentration in native species units. |
| [in] | right | Finite right dissolved concentration in the same units. |
| [in] | width | Finite nonnegative shared edge length, m. |
|
inline |
Form the velocity-aligned mechanical-plus-molecular dispersion tensor.
| [in] | vx | Finite porewater X velocity, m/s. |
| [in] | vy | Finite porewater Y velocity, m/s. |
| [in] | longitudinal | Finite nonnegative longitudinal dispersivity, m. |
| [in] | transverse | Finite nonnegative transverse dispersivity, m. |
| [in] | molecular | Finite nonnegative molecular diffusion coefficient, m2/s. |