Pipe Dimensions
The PipeDimensions function provides information on the size of standard pipes including the inner diameter, the outer diameter, the wall thickness and the flow area. This function is applicable for both english and metric size pipes. The data are from:
http//en.wikipedia.org/wiki/Nominal_Pipe_Size#cite_note-table-5
and
http//www.engineersedge.com/pipe_schedules.htm
Inputs:
Size is the accepted industry size specification in inches (if the EES unit system in configured in English units) or mm (if EES is configured in SI units).
Schedule$ is an string that can be 5s, 5, 10s 10, 20, 30, 40s, 40 60, 80s, 80, 100, 120, 140, 160 or DblEH
Outputs:
OD is the nominal outer diameter in inches or mm (depending if EES is configured in English or SI units)
ID is the inner diameter in inches or mm
WallThickness is the wall thickness in inches or mm
Flow area is the internal flow area in ft^2 or m^2
Notes:
The PipeDimensions function similar to the AmericanPipeDimensions function but it provides pipe size information for a larger range of pipe sizes and types in both SI and English units. The AmericanPipeDimensions is still available for backward compatitibility.
Example:
$UnitSystem Eng
Size = 1 [in]
Schedule$='40'
call PipeDimensions(Size, Schedule$: OD, ID, WallThickness, FlowArea)
{Solution:
FlowArea=0.006002 [ft^2]
ID=1.049 [in]
OD=1.315 [in]
WallThickness=0.133 [in]}