if ((density_model == 10) // NB 4.8.01 read density from a rho-P-T table
|| (density_model == 11) // NB 4.9.05 Peng-Robinson Equation of State
|| (density_model == 12) // NB 4.9.05 Redlich-Kwong Equation of State
|| (density_model == 13)) // NB JUN 09 Fundamental equation
In addition, please check the following reference
[1] O. Kolditz, U.-J. Gorke, H. Shao, W. Wang, Thermo-Hydro-Mechanical-Chemical Processes in Fractured Porous Media: Benchmarks and Examples, Springer, Heidelberg, 2012. Page:32-42
To play with equation of state, you may also try NIST (
https://www.nist.gov/), Coolprop (
http://www.coolprop.org/) or REFPROP (
https://www.nist.gov/srd/refprop). Even though in the above mentioned reference, for viscosity PR and RK were used, but some points I am not convinced with my hand calculation. For safe side, I would prefer to use HEOS/Fundamental one. If you really inetrested to dig its bottom, I will recommend you to read first some basic papers and text books.
Good Luck.
Cheers
Mohammad