modelStandardPipe
StandardPipe | Uses NPS schedules
Extends from TRANSFORM.Fluid.ClosureRelations.Geometry.Models.DistributedVolume_1D.StandardPipe (StandardPipe | Uses NPS Schedules), PartialPipeWithWall, Icons.UnderConstruction (Icon for classes that are still under construction).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | figure (from GenericPipe) | 1 | Index for Icon figure |
| Integer | nV (from GenericPipe) | 1 | Number of volume nodes |
| Integer | nSurfaces (from GenericPipe) | 1 | Number of transfer (heat/mass) surfaces |
| Integer | nR (from PartialPipeWithWall) | 1 | Number of nodes in wall r-direction |
| Integer | nZ (from PartialPipeWithWall) | 1 | Number of nodes in z-direction |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| NPS | nps (from StandardPipe) | ||
| SI.Length | length (from StandardPipe) | 1.0 | Pipe length |
| SI.Height | roughness (from StandardPipe) | 2.5e-5 | Average heights of surface asperities |
| SI.Area[nSurfaces] | surfaceArea (from StandardPipe) | {if i == 1 then nps.perimeter*length else 0 for i in 1:nSurfaces} | Area per transfer surface |
| SI.Angle | angle (from StandardPipe) | 0.0 | Vertical angle from the horizontal (-pi/2 < x <= pi/2) |
| SI.Length | dheight (from StandardPipe) | length*sin(angle) | Height(port_b) - Height(port_a) distributed by flow segment |
| SI.Length[nV] | dimensions (from GenericPipe) | 4*crossAreas./perimeters | Characteristic dimension (e.g., hydraulic diameter) |
| SI.Area[nV] | crossAreas (from GenericPipe) | pi*dimensions.*dimensions./4 | Cross sectional area of unit volumes |
| SI.Length[nV] | perimeters (from GenericPipe) | 4*crossAreas./dimensions | Wetted perimeter of unit volumes |
| SI.Length[nV] | dlengths (from GenericPipe) | ones(nV) | Unit cell length |
| SI.Height | roughnesses (from GenericPipe) | fill(2.5e-5, nV) | Average heights of surface asperities |
| SI.Area[nV,nSurfaces] | surfaceAreas (from GenericPipe) | {{if j == 1 then perimeters[i]*dlengths[i] else 0 for j in 1:nSurfaces} for i in 1:nV} | Discretized area per transfer surface |
| SI.Angle | angles (from GenericPipe) | fill(0, nV) | Vertical angle from the horizontal (-pi/2 <= x <= pi/2) |
| SI.Length | dheights (from GenericPipe) | dlengths.*sin(angles) | Height(port_b) - Height(port_a) |
| SI.Length | height_a (from GenericPipe) | 0 | Elevation at port_a: Reference value only. No impact on calculations. |
| SI.Length | height_b (from GenericPipe) | height_a + sum(dheights) | Elevation at port_b: Reference value only. No impact on calculations. |
| SI.Volume[nV] | Vs (from GenericPipe) | crossAreas.*dlengths | Unit volumes |
| SI.Volume | V_total (from GenericPipe) | sum(Vs) | Total volume of component |
| SI.Area[nV] | surfaceAreas_nVtotal (from GenericPipe) | {sum(surfaceAreas[1, :]) for i in 1:nV} | Total surface area for each volume node |
| SI.Area | surfaceArea_total (from GenericPipe) | sum(surfaceAreas_nVtotal) | Total surface area |
| Real[nV] | dxs (from GenericPipe) | dlengths/sum(dlengths) | Fractional lengths |
| SI.Length | r_inner (from PartialPipeWithWall) | Wall inner radius | |
| SI.Length[nZ] | ths_wall (from PartialPipeWithWall) | Specify wall thickness or drs | |
| SI.Length[nR,nZ] | drs (from PartialPipeWithWall) | Wall unit volume lengths of r-dimension | |
| SI.Length[nR,nZ] | dzs (from PartialPipeWithWall) | Wall unit volume lengths of z-dimension | |
| SI.Length[nR] | dr | fill(nps.th_wall/nR, nR) | Wall unit volume lengths of r-dimension |