Single-Phase Tubing Flow Functions
Pressure traverse for single-phase liquid and gas in tubing.
8 functions
PO.VFP.Liq.Pout(Ql, P_in, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness, pipe_angle)
Calculates outlet pipe pressure for single phase pipe flow of incompressible, Newtonian fluid, [psi].
PO.VFP.Liq.Pin(Ql, P_out, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness, pipe_angle)
Calculates inlet pipe pressure for single phase pipe flow of incompressible, Newtonian fluid, [psi].
PO.VFP.Liq.Re(Ql, Rho_l, pipe_ID, Ul)
Calculates Reynolds number for single phase pipe flow of incompressible, Newtonian fluid, [dimensionless].
PO.VFP.Liq.dPfrc(Ql, Rho_l, Ul, pipe_ID, pipe_length, pipe_roughness)
Calculates frictional pressure drop from Fanning equation for single-phase flow of an incompressible, Newtonian fluid, [psi].
PO.VFP.Liq.dPgrv(Rho_l, pipe_length, pipe_angle)
Calculates potential energy pressure drop for single-phase flow of an incompressible, Newtonian fluid, [psi].
PO.VFP.Gas.Pout(Qg, P_in, T_degF, SG_gas, Ug, Z, pipe_ID, pipe_length, pipe_roughness, pipe_angle)
Calculates outlet pipe pressure for single phase pipe flow of gas (compressible fluid), [psi].
PO.VFP.Gas.Pin(Qg, P_out, T_degF, SG_gas, Ug, Z, pipe_ID, pipe_length, pipe_roughness, pipe_angle)
Calculates inlet pipe pressure for single phase pipe flow of gas (compressible fluid), [psi].
PO.VFP.Gas.Re(Qg, SG_gas, pipe_ID, Ug)
Calculates Reynolds number for single phase pipe flow of gas (compressible fluid), [dimensionless].