Real Gas Modeling

Overview

Since version 2022, Flow Simulator has used the compressibility factor, z, to adjust the ideal gas relationship for density. The compressibility factor improves the accuracy for fluids that are at pressures and temperatures where they do not behave like an ideal gas.

ρ=Pz R T

In version 2025, Flow Simulator has an improved accuracy option for fluids that do not behave as an ideal gas. This new approach uses modified exponents for the isentropic equations, reference 1. It still uses the compressibility factor as before. As before, only fluids using Coolprop can model the real gas effects.

From the Material Editor, select the Real Gas Gamma option.


Figure 1.

Equations

The two new “gammas” used for real gas:

γPv=CpP Cv β=γidealP β
γTv=1+vαCv β
α=1v(vT)P=isobaric expansion coefficient
β=1v(vp)T=isothermal compressibility factor

For a fluid near the ideal gas conditions, the two new gammas are equivalent to the ideal gas gamma.

γ=γPv=γTv=CpCv , for ideal gas conditions

The isentropic relations and the flow function equations can be rewritten using the new “gammas”.

PoP=(1+ γPv12M2) γPv γPv1
ToT=(1+ γPv12M2) γTv1 γPv1
˙mToPoA=γPvzoR M(1+ γPv12M2)γPv+12(γPv1)

For a fluid near the ideal gas conditions, these equations are equivalent to the ideal gas equations.

Output

The *.prop file has a column for these two new “gammas”. The “RG” at the end of “COOLPROPRG” in the output files also denotes the real gas gammas that were used in the analysis.


Figure 2.

References

  1. Nederstigt, P., Pecnik, R., “Generalised Isentropic Relations in Thermodynamics”, Energies 2023, 16, 2281.

    https://doi.org/10.3390/en16052281.