Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ex22

Example 22–Modeling Gas Solubilities: CO2 at High Pressures


Description

PHREEQC calculates the fugacity coefficient with the Peng-Robinson equation of state (Peng and Robinson, 1976) from the critical pressure and temperature, and the acentric factor of the gas in a gas mixture to obtain the limiting volume and the attraction factor in the Van der Waals equation. The fugacity coefficient is close to 1 when the total pressure of the gas phase is less than about 10 atm, and it can be neglected in the solubility calculation. At higher pressures, the effect can be substantial. At low pressures, the concentration of CO2 increases near-linearly with pressure. At 25 degrees C and pressures higher than 62 atm, the concentration increases more gradually because the fugacity coefficient drops rapidly. The example can be run using the phrRunString routine.

Source

References

See Also

Other Examples: ex10, ex11, ex12, ex13a, ex14, ex15, ex16, ex17, ex18, ex19, ex1, ex20a, ex21, ex2, ex3, ex4, ex5, ex6, ex7, ex8, ex9

Examples

phrLoadDatabaseString(phreeqc.dat)
phrSetOutputStringsOn(TRUE)
phrRunString(ex22)
phrGetOutputStrings()

phreeqc

R Interface to Geochemical Modeling Software

v3.6.3
GPL-3
Authors
S.R. Charlton, D.L. Parkhurst, and C.A.J. Appelo, with contributions from D. Gillespie for Chipmunk BASIC and S.D. Cohen, A.C. Hindmarsh, R. Serban, D. Shumaker, and A.G. Taylor for CVODE/SUNDIALS
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.