Pipeng Toolbox : Virial Equation Calculators Blank User
Short Cuts
GO
Main ±
Beams ±
References ±
Fluid Flow ±
Fluid Properties ±
Maths ±
Materials ±
Pipelines ±
Soils ±
Subsea ±
Demo

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 :

[FREE] tools are free in basic mode with no login (no plots, tables, goal seek etc). Login or Open a free account to use the tools in plus mode (with plots, tables, goal seek etc).
[PLUS] tools are free in basic CHECK mode with Login or Open a free account (CHECK values no plots, tables, goal seek etc). Buy a Subscription to use the tools in plus mode (with plots, tables, goal seek etc).
Try plus mode using the Plus Mode Demo tools with no login.   Help Using The Pipeng Toolbox (opens in the popup workbook)

Links : ±
CALCULATOR : Gas Compressibility Factor And Density From Cubic Equation Of State [FREE]   ±

Calculate gas molar volume, compressibility factor Z and density from the fluid pressure, temperature and critical point constants for selected gases.

The compressibility factor can be calculated from either the Peng Robinson, Soave, Redlich Kwong, or van der Waals equation of state (EOS). The compressibility factor calculation is valid for gas phase only. Use the Result Plot option to plot compressibility factor versus pressure and temperature, compressibility factor versus pressure and equation of state type, or compressibility factor versus temperature and equation of state type.

Tool Input

  • fluidtype : Fluid Type
    • SGu : User Defined Gas Specific Gravity
    • ωu : User Defined Acentric Factor
    • Pcu : User Defined Critical Pressure
    • Tcu : User Defined Critical Temperature
  • eostype : Equation Of State
    • Zu : User Defined Compressibility Factor
  • P : Fluid Pressure
  • T : Fluid Temperature

Tool Output

  • ρ : Fluid Density
  • ω : Accentric Factor
  • Pc : Critical Point Pressure
  • Pr : Reduced Pressure
  • SG : Gas Specific Gravity Relative To Air
  • Tc : Critical Point Temperature
  • Tr : Reduced Temperature
  • Vm : Molar Volume
  • Z : Compressibility Factor
  • cvg : Convergence Check
  • mw : Fluid Molar Mass

CALCULATOR : Inorganic Fluid Compressibility Factor From Virial Equation (Kaye And Laby) [FREE]   ±

Calculate the compressibility factor and molar volume for selected inorganic fluids from the second order virial equation of state.

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

Tool Input

  • datatype : Fluid Type
  • P : Fluid Pressure
  • T : Fluid Temperature

Tool Output

  • B : Second Virial Coefficient B
  • CVG : Convergence Check
  • Pc : Critcal Pressure
  • Pr : Reduced Pressure
  • Tc : Critcal Temperature
  • Tmax : Maximum Temperature
  • Tmin : Minimum Temperature
  • Tr : Reduced Temperature
  • Vm : Mole Specific Volume
  • Z : Z Factor
  • a : Virial Coefficient a
  • b : Virial Coefficient b
  • c : Virial Coefficient c

CALCULATOR : Organic Fluid Compressibility Factor From Virial Equation (Kaye And Laby) [FREE]   ±

Calculate the compressibility factor and molar volume for selected organic fluids from the second order virial equation of state.

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

Tool Input

  • datatype : Fluid Type
  • P : Fluid Pressure
  • T : Fluid Temperature

Tool Output

  • B : Second Virial Coefficient B
  • CVG : Convergence Check
  • Pc : Critcal Pressure
  • Pr : Reduced Pressure
  • Tc : Critcal Temperature
  • Tmax : Maximum Temperature
  • Tmin : Minimum Temperature
  • Tr : Reduced Temperature
  • Vm : Mole Specific Volume
  • Z : Z Factor
  • a : Virial Coefficient a
  • b : Virial Coefficient b
  • c : Virial Coefficient c

CALCULATOR : Fluid Compressibility Factor And Density From Cubic And Virial Equation [FREE]   ±

Calculate the compressibility factor, molar volume and density from the second order virial equation of state.

The density and compressibility factor can be calculated from either the virial equation, the Peng Robinson equation, the Soave equation, the Redlich Kwong equation, or the van der Waals equation.

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

Tool Input

  • eostype : Equation Of State Type
    • Zu : User Defined Compressibility Factor
  • v : Virial Coeficient
  • SG : Gas Specific Gravity
  • ω : Accentric Factor
  • Pc : Critical Pressure
  • Tc : Critical Temperature
  • P : Fluid Pressure
  • T : Fluid Temperature

Tool Output

  • ρ : Density
  • CVG : Convergence Check
  • Pr : Reduced Pressure
  • Tr : Reduced Temperature
  • Vm : Mole Specific Volume
  • Z : Compressiblity Factor
  • mw : Molar Mass

CALCULATOR : Fluid Compressibility Factor From Reduced Pressure And Temperature [FREE]   ±

Calculate gas compressibility factor Z from the reduced pressure and temperature, and either the Redlich Kwong, or van der Waals equation of state (EOS).

The reduced pressure is equal to the fluid pressure divided by the critical pressure. The reduced temperature is equal to the fluid temperature divided by the critical temperature. Use the Result Plot option to display the compressibility factor versus reduced pressure and temperature.

Tool Input

  • eostype : Equation Of State
  • ω : Accentric Factor
  • Pr : Reduced Pressure
  • Tr : Reduced Temperature

Tool Output

  • Z : Compressibility Factor
  • cvg : Convergence Check