Calculate gas piping outlet pressure from the general equation using the Moody diagram (API RP 14E section 2.4).
The Moody diagram can be used to calculate laminar flow (Hagen-Poiseuille laminar flow equation), and turbulent flow (the original Colebrook White equation or the modified Colebrook White equation). The Darcy-Weisbach version of the Moody diagram is used rather than the Fanning version.
Tool Input
- schdtype : Pipe Schedule Type
- diamtype : Pipe Diameter Type
- ODu : User Defined Outside Diameter
- IDu : User Defined Inside Diameter
- wtntype : Wall Thickness Type
- tnu : User Defined Wall Thickness
- fluidtype : Fluid Property Type
- SGu : User Defined Gas Specific Gravity
- μu : User Defined Dynamic Viscosity
- voltype : Fluid Flow Rate Type
- Qfu : User Defined Gas Volume Flow Rate
- Mfu : User Defined Gas Mass Flow Rate
- Ngu : User Defined Gas Mole Flow Rate
- Vfu : User Defined Gas Velocity
- Reu : User Defined Reynolds Number
- rfactype : Pipe Internal Roughness Type
- ru : User Defined Surface Roughness
- rru : User Defined Relative Roughness
- fdtype : Darcy Friction Factor Type
- fdu : User Defined Darcy Friction Factor
- flowtype : Pressure For Fluid Property Calculation
- L : Pipe Length
- K : K Factor
- zi : Inlet Elevation Relative To Datum
- zo : Outlet Elevation Relative To Datum
- Pi : Inlet Pressure
- T : Fluid Temperature
- Z : Compressibility Factor
Tool Output
- ΔP : Friction Pressure Loss
- μ : Dynamic Viscosity
- ρ : Fluid Density (At Pf)
- ID : Inside Diameter
- Mf : Mass Flowrate
- Ng : Mole Flow Rate
- Pa : Average Fluid Pressure
- Pf : Pressure For Fluid Property Calculation
- Po : Outlet Pressure
- Qf : Volume Flowrate (At Pf)
- Re : Reynolds Number (At Inlet)
- SG : Gas Specific Gravity
- Vf : Fluid Velocity (At Pf)
- cvg : Convergence Factor (≅ 1)
- es : Elevation Constant
- fd : Darcy Friction Factor
- ff : Fanning Friction Factor
- ls : Length Constant
- rr : Surface Roughness Ratio
- ss : Elevation Exponent
- td : Darcy Transmission Factor
- tf : Fanning Transmission Factor
- vg : Mole Specific Volume (At Pf)