![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Cross-section geometry and hydraulic property evaluation. More...
Classes | |
| struct | TXsectStar |
Macros | |
| #define | _CRT_SECURE_NO_DEPRECATE |
| #define | RECT_ALFMAX 0.97 |
| #define | RECT_TRIANG_ALFMAX 0.98 |
| #define | RECT_ROUND_ALFMAX 0.98 |
Functions | |
| int | xsect_isOpen (int type) |
| Determines if a xsection type is open or closed. | |
| int | xsect_setParams (TXsect *xsect, int type, double p[], double ucf) |
| Assigns parameters to a cross section's data structure. | |
| void | xsect_setIrregXsectParams (TXsect *xsect) |
| Assigns transect parameters to an irregular shaped cross section. | |
| void | xsect_setStreetXsectParams (TXsect *xsect) |
| Assigns transect parameters to a street cross section. | |
| void | xsect_setCustomXsectParams (TXsect *xsect) |
| Assigns parameters to a custom-shaped cross section. | |
| double | xsect_getAmax (TXsect *xsect) |
| Finds xsection area at maximum flow depth. | |
| double | xsect_getSofA (TXsect *xsect, double a) |
| Computes xsection's section factor at a given area. | |
| double | xsect_getYofA (TXsect *xsect, double a) |
| Computes xsection's depth at a given area. | |
| double | xsect_getAofY (TXsect *xsect, double y) |
| Computes xsection's area at a given depth. | |
| double | xsect_getWofY (TXsect *xsect, double y) |
| Computes xsection's top width at a given depth. | |
| double | xsect_getRofY (TXsect *xsect, double y) |
| Computes xsection's hydraulic radius at a given depth. | |
| double | xsect_getRofA (TXsect *xsect, double a) |
| Computes xsection's hydraulic radius at a given area. | |
| double | xsect_getAofS (TXsect *xsect, double s) |
| Computes xsection's area at a given section factor. | |
| double | xsect_getdSdA (TXsect *xsect, double a) |
| Computes xsection's derivative of its section factor with respect to area at a given area. | |
| double | xsect_getYcrit (TXsect *xsect, double q) |
| Computes critical depth at a specific flow rate. | |
Variables | |
| double | Amax [] |
Cross-section geometry and hydraulic property evaluation.
| #define _CRT_SECURE_NO_DEPRECATE |
| #define RECT_ALFMAX 0.97 |
| #define RECT_ROUND_ALFMAX 0.98 |
| #define RECT_TRIANG_ALFMAX 0.98 |
| double xsect_getAmax | ( | TXsect * | xsect | ) |
Finds xsection area at maximum flow depth.
| xsect | Ptr. to a cross section data structure. |
| double xsect_getAofS | ( | TXsect * | xsect, |
| double | s ) |
Computes xsection's area at a given section factor.
| xsect | Ptr. to a cross section data structure. | |
| [in] | s | Section factor (ft^(8/3)). |
| double xsect_getAofY | ( | TXsect * | xsect, |
| double | y ) |
Computes xsection's area at a given depth.
| xsect | Ptr. to a cross section data structure. | |
| [in] | y | Depth (ft). |
| double xsect_getdSdA | ( | TXsect * | xsect, |
| double | a ) |
Computes xsection's derivative of its section factor with respect to area at a given area.
| xsect | Ptr. to a cross section data structure. | |
| [in] | a | Area (ft2). |
| double xsect_getRofA | ( | TXsect * | xsect, |
| double | a ) |
Computes xsection's hydraulic radius at a given area.
| xsect | Ptr. to a cross section data structure. | |
| [in] | a | Area (ft2). |
| double xsect_getRofY | ( | TXsect * | xsect, |
| double | y ) |
Computes xsection's hydraulic radius at a given depth.
| xsect | Ptr. to a cross section data structure. | |
| [in] | y | Depth (ft). |
| double xsect_getSofA | ( | TXsect * | xsect, |
| double | a ) |
Computes xsection's section factor at a given area.
| xsect | Ptr. to a cross section data structure. | |
| [in] | a | Area (ft2). |
| double xsect_getWofY | ( | TXsect * | xsect, |
| double | y ) |
Computes xsection's top width at a given depth.
| xsect | Ptr. to a cross section data structure. | |
| [in] | y | Depth ft). |
| double xsect_getYcrit | ( | TXsect * | xsect, |
| double | q ) |
Computes critical depth at a specific flow rate.
| xsect | Ptr. to a cross section data structure. | |
| [in] | q | Flow rate (cfs). |
| double xsect_getYofA | ( | TXsect * | xsect, |
| double | a ) |
Computes xsection's depth at a given area.
| xsect | Ptr. to a cross section data structure. | |
| [in] | a | Area (ft2). |
| int xsect_isOpen | ( | int | type | ) |
Determines if a xsection type is open or closed.
| [in] | type | Type of xsection shape. |
| void xsect_setCustomXsectParams | ( | TXsect * | xsect | ) |
Assigns parameters to a custom-shaped cross section.
| xsect | Ptr. to a cross section data structure. |
| void xsect_setIrregXsectParams | ( | TXsect * | xsect | ) |
Assigns transect parameters to an irregular shaped cross section.
| xsect | Ptr. to a cross section data structure. |
| int xsect_setParams | ( | TXsect * | xsect, |
| int | type, | ||
| double | p[], | ||
| double | ucf ) |
Assigns parameters to a cross section's data structure.
| xsect | Ptr. to a cross section data structure. | |
| [in] | type | Xsection shape type. |
| p | Vector of xsection parameters. | |
| [in] | ucf | Units correction factor. |
| void xsect_setStreetXsectParams | ( | TXsect * | xsect | ) |
Assigns transect parameters to a street cross section.
| xsect | Ptr. to a cross section data structure. |
| double Amax[] |