Pipeng Toolbox : Gas Density Modules Login
Short Cuts
GO
Main ±
Beams ±
References ±
Fluid Flow ±
Fluid Properties ±
Maths ±
Materials ±
Pipelines ±
Soils ±
Subsea ±
Data ±
Units ±
Help ±
Demo

Gas Density Modules

Links : ±
CALCULATOR MODULE : Line Pipe Fluid Mass And Volume   ±
CALCULATOR MODULE : Gas Pipeline Pressure Loss From The Darcy Weisbach Equation   ±

Calculate single phase gas pipeline pressure loss using the Darcy Weisbach equation.

`Po = √(P^2 - m^2(fd.L / D + K) ls (16mma.SG.ZRoT)/(pi^2D^4) ) / (es) `
`ss = (z2 - z2) SG.mma.g / (Ro T Z) `
`es = e^(ss) `
`ls = (es^2 - 1) / (ss) `

where :

Po = outlet pressure
P = inlet pressure
fd = Darcy friction factor
L = piping length
D = piping inside diameter
K = total friction loss factor for fittings
m = gas mole flowrategas
mma = air molar mass
SG = gas specific gravity
Z = gas compressibility factor
Ro = universal gas constant
T = gas temperature
g = gravity constant
zi = inlet elevation
zo = outlet elevation
ss = elevation exponent
es = elevation pressure factor
ls = elevation length factor

For low Reynolds numbers Re < 2000, the fluid flow is laminar and the Darcy friction factor should be calculated using the Hagen-Poiseuille laminar flow equation. For high Reynolds numbers Re > 4000, the fluid flow is turbulent and the Darcy friction factor should be calculated using one of the turbulent flow equations. In the transition region 2000 < Re < 4000, the flow is unstable and the friction loss cannot be reliably calculated. The minor loss K factor is used to account for pipeline fittings such as bends, tees, valves etc..

The calculators use the Darcy-Weisbach pressure loss equation with the Darcy friction factor. The Fanning transmission factor combined with the Fanning equation is commonly used for gas flow. The results for the Darcy and Fanning equations are identical provided that the correct friction factor is used.

The gas specific gravity is the ratio of gas density over the density of dry air at base temperature and pressure. The compressibility factor is assumed to equal 1 at the base conditions. The gas specific gravity is proportional to the gas molar mass.

Change Module :

Related Modules :

CALCULATOR MODULE : Gas Pipeline Fluid Density And Specific Gravity   ±
CALCULATOR MODULE : Compressible Flow Speed Of Sound   ±

Calculate gas and liquid speed of sound and Mach number.

The Mach number is the ratio of the flow velocity to the speed of sound. It applies to either a moving fluid or to a moving object passing through stationary fluid. For a Mach number greater than one, the flow is supersonic. For a Mach number less than one, the flow is subsonic.

For an ideal gas, the speed of sound or sonic velocity can be calculated from the gas temperature, gas specific heat ratio and the gas specific gravity. For liquids the speed of sound can be calculated from the liquid bulk modulus and the liquid density.

Reference : Fluid Mechanics, Frank M White, McGraw Hill

Change Module :

Related Modules :

CALCULATOR MODULE : Compressible Flow Gas Property   ±

Calculate compressible flow gas properties.

Calculate gas specific heat constant pressure, specific heat constant volume, specific heat ratio, molar mass, gas constant, gas specific gravity, gas compressibility factor and density from gas temperature and pressure. The gas compressibility factor is calculated from the critical point temperature, critical point temperature, and the accentric factor using either the Peng Robinson, Soave, Redlich Kwong or Van Der Waals equation of state (EOS).

Reference : Fluid Mechanics, Frank M White, McGraw Hill

Change Module :

Related Modules :

CALCULATOR MODULE : API 520 Fluid Property   ±

Calculate API 520 gas and steam properties.

Properties include density, specific heat constant pressure, specific heat constant volume, specific heat ratio, molar mass, gas constant, gas specific gravity, and gas compressibility factor. The gas compressibility factor is calculated from the critical point temperature, critical point temperature, and the accentric factor using either the Peng Robinson, Soave, Redlich Kwong or Van Der Waals equations of state (EOS).Steam properties are calculated from IAPWS R7-97, industrial properties of steam.

Gas specific gravity at standard conditions is approximately equal to the gas molar mass divided by the molar mass of dry air. The molar mass of dry air is taken as 28.964 kg/kg-mole.

Reference : API 520 Sizing, Selection And Installation Of Pressure Relieving Devices (2014)

Change Module :

Related Modules :

CALCULATOR MODULE : Fluid Density And Volume   ±

Calculate fluid density for single phase fluid (oil, water, or gas), two phase fluid (oil and gas, or oil and water), and three phase black oil (oil, water and gas).

The gas oil ratio is the ratio of gas moles to oil volume. Gas oil ratio is often measured as gas standard volume (scf or scm) per oil volume (barrels, gallons, cubic feet or cubic meters). The gas mass fraction is the ratio of gas mass to total fluid mass. The gas volume fraction is the ratio of gas volume to total fluid volume. Water cut is the ratio of water volume over total liquid volume (equals the water volume fraction in the liquid). Gas volume is dependent on fluid temperature and pressure.

Change Module :

Related Modules :

CALCULATOR MODULE : Two Phase Gas Liquid Density   ±

Calculate fluid density for two phase fluid (oil and gas, or gas and water).

The gas oil ratio is the ratio of gas moles to oil volume. The gas mass fraction is the ratio of gas mass to total fluid mass. The gas volume fraction is the ratio of gas volume to total fluid volume. Gas volume is dependent on fluid temperature and pressure. Gas oil ratio is often measured as gas standard volume (scf or scm) per oil volume (barrels, gallons, cubic feet or cubic meters).

Change Module :

Related Modules :

CALCULATOR MODULE : Three Phase Gas Oil Water (Black Oil) Density   ±

Calculate fluid density for three phase black oil (oil, water and gas).

The gas oil ratio is the ratio of gas moles to oil volume. The gas mass fraction is the ratio of gas mass to total fluid mass. The gas volume fraction is the ratio of gas volume to total fluid volume. Water cut is the ratio of water volume over total liquid volume (equals the water volume fraction in the liquid). Gas volume is dependent on fluid temperature and pressure. Gas oil ratio is often measured as gas standard volume (scf or scm) per oil volume (barrels, gallons, cubic feet or cubic meters).

Change Module :

Related Modules :

CALCULATOR MODULE : Single Phase Gas Specific Gravity   ±
CALCULATOR MODULE : Fluid Dosing Rate And Density   ±
CALCULATOR MODULE : Single Phase Gas Density   ±
CALCULATOR MODULE : Gas Compressibility Factor   ±

Calculate gas compressibility factor or Z factor.

The compressibility factor is used to account for the non ideal behaviour of real gases. The non ideal gas law is expressed as

` P V = Z Ro T `

where :

P = gas pressure `
`T = gas temperature `
`V = gas mole volume `
`Z = gas compressibility factor `
`Ro = universal gas constant

The compressibility factor canbe calculated using either the Peng Robinson, Soave, Redlich Kwong or Van Der Waals cubic equations of state (EOS), or using the virial equation.

Change Module :

Related Modules :

CALCULATOR MODULE : Gas Compressibility Factor From The Virial Equation   ±

Calculate gas compressibility factor or Z factor from the virial equation.

The compressibility factor is calculated using the second order virial equation

`Z = (P.vm) / (Ro .T) = 1 + B / (vm) `
`B = a - b.e^(c / T) `

where :

Z = the compressibility factor
P = gas pressure
T = gas temperature
vm = gas mole volume
Ro = the universal gas constant
B = the second order virial coefficient
a, b, c are Virial constants

The gas mole volume is calculated by solving the quadratic equation, and the compressibility factor is calculated from the mole volume.

Reference : Kaye And Laby : Tables Of Physical And Chemical Constants

Change Module :

Related Modules :

CALCULATOR MODULE : Fluid Mixture From Kay's Rule   ±

Calculate pseudo-critical properties (temperature, pressure, accentric factor, molar mass) of a fluid mixture using the simple form of Kay's rule with no interaction parameters.

The mole fraction of component one is automatically adjusted so that the sum of the mole fractions equals one. The mixture properties are approximate.

    Related Modules :

    CALCULATOR MODULE : Yaws Gas Density From Critical Point   ±

    Calculate gas density from critical pressure, critical temperature and acentric factor data for organic and inorganic fluids (Yaws).

    The compressibility factor can be calculated from either the Peng Robinson, Soave, Redlich Kwong, or van der Waals cubic equation. The compressibility factor calculation is valid for gas phase only. The gas specific gravity is approximately equal to the ratio of the gas molar mass over the molar mass of air (28.964 g/mol).

    Reference : Yaws Chemical Properties Handbook, McGraw Hill

    DATA MODULE : Fluid Density And Specific Gravity ( Open In Popup Workbook )   ±
    DATA MODULE : Fluid Dynamic And Kinematic Viscosity ( Open In Popup Workbook )   ±