
modelStraightPipe
Extends from TRANSFORM.Fluid.Volumes.ClosureModels.Geometry.Models.Flow.PartialGeometry.
Parameters
| Type | Name | Default | Description |
| Real | nParallel (from PartialGeometry) | 1 | Number of identical parallel components |
| Integer | nNodes (from PartialGeometry) | 2 | Number of discrete serial nodes |
| General |
| Boolean | use_Dimension | true | =true to specify characteristic dimension |
| Boolean | use_Dimensions (from PartialGeometry) | true | =true to specify characteristic dimension |
Components
| Type | Name | Default | Description |
| SI.Length | length | 1.0 | Length for flow models |
| SI.Length | dimension | if use_Dimension then 0.0 else 4*crossArea/perimeter | Characteristic dimension (e.g., hydraulic diameter) |
| SI.Area | crossArea | pi*dimension*dimension/4 | Cross-sectional flow areas |
| SI.Length | perimeter | 4*crossArea/dimension | Wetted perimeters |
| SI.Height | roughness | 2.5e-5 | Average heights of surface asperities |
| SI.Length | dheight | 0.0 | Height(port_b) - Height(port_a) distributed by flow segment |
| SI.Length | lengths (from PartialGeometry) | ones(nNodes) | Length of node segment |
| SI.Length | dimensions (from PartialGeometry) | if use_Dimensions then zeros(nNodes + 1) else 4*crossAreas./perimeters | Characteristic dimension (e.g., hydraulic diameter) |
| SI.Area | crossAreas (from PartialGeometry) | pi*dimensions.*dimensions./4 | Cross-sectional flow areas |
| SI.Length | perimeters (from PartialGeometry) | 4*crossAreas./dimensions | Wetted perimeters |
| SI.Height | roughnesses (from PartialGeometry) | fill(2.5e-5, nNodes + 1) | Average heights of surface asperities |
| SI.Length | dheights (from PartialGeometry) | fill(0, nNodes) | Height(port_b) - Height(port_a) distributed by flow segment |
| SI.Length | height_a (from PartialGeometry) | 0 | Elevation at port_a: Reference value only. No impact on calculations. |
| SI.Length | height_b (from PartialGeometry) | height_a + sum(dheights) | Elevation at port_b: Reference value only. No impact on calculations. |
| Real | dxs (from PartialGeometry) | lengths/sum(lengths) | Fractional lengths |