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

TypeNameDefaultDescription
Integerfigure (from GenericPipe)1Index for Icon figure
IntegernV (from GenericPipe)1Number of volume nodes
IntegernSurfaces (from GenericPipe)1Number of transfer (heat/mass) surfaces
IntegernR (from PartialPipeWithWall)1Number of nodes in wall r-direction
IntegernZ (from PartialPipeWithWall)1Number of nodes in z-direction

Components

TypeNameDefaultDescription
NPSnps (from StandardPipe)
SI.Lengthlength (from StandardPipe)1.0Pipe length
SI.Heightroughness (from StandardPipe)2.5e-5Average 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.Angleangle (from StandardPipe)0.0Vertical angle from the horizontal (-pi/2 < x <= pi/2)
SI.Lengthdheight (from StandardPipe)length*sin(angle)Height(port_b) - Height(port_a) distributed by flow segment
SI.Length[nV]dimensions (from GenericPipe)4*crossAreas./perimetersCharacteristic dimension (e.g., hydraulic diameter)
SI.Area[nV]crossAreas (from GenericPipe)pi*dimensions.*dimensions./4Cross sectional area of unit volumes
SI.Length[nV]perimeters (from GenericPipe)4*crossAreas./dimensionsWetted perimeter of unit volumes
SI.Length[nV]dlengths (from GenericPipe)ones(nV)Unit cell length
SI.Heightroughnesses (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.Angleangles (from GenericPipe)fill(0, nV)Vertical angle from the horizontal (-pi/2 <= x <= pi/2)
SI.Lengthdheights (from GenericPipe)dlengths.*sin(angles)Height(port_b) - Height(port_a)
SI.Lengthheight_a (from GenericPipe)0Elevation at port_a: Reference value only. No impact on calculations.
SI.Lengthheight_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.*dlengthsUnit volumes
SI.VolumeV_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.AreasurfaceArea_total (from GenericPipe)sum(surfaceAreas_nVtotal)Total surface area
Real[nV]dxs (from GenericPipe)dlengths/sum(dlengths)Fractional lengths
SI.Lengthr_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]drfill(nps.th_wall/nR, nR)Wall unit volume lengths of r-dimension