cgl(property = NULL, T = 298.15, P = 1, ghs = NULL, eos = NULL)
hkf(property = NULL, T = 298.15, P = 1, ghs = NULL, eos = NULL,
contrib = c("n","s","o"), H2O.PT = NULL, H2O.PrTr = NULL,
domega = TRUE)
n
)onsolvation, (s
)olvation (the $\omega$ terms), or (o)rigination contributions (i.e., the property itself at 25 $^{\circ}$C and 1 bar).ghs
and eos
values). Each element of the list contains a dataframe, each column of which corresponds to one of the specified properties; the number of rows is equal to the number of pressure-temperature points.subcrt
is usually more convenient than calling either of these functions directly. The property
argument is required and refers to one or more of G, H, S, Cp and V, and for aqueous species only, kT and E. The units of these properties are the first ones shown in the description for subcrt
. The names of the properties are matched without regard to case.
The revised HKF equations of state (Helgeson et al., 1981; Tanger and Helgeson, 1988; Shock and Helgeson, 1988) are incorporated in hkf
. The equations-of-state parameters are a1
, a2
, a3
, a4
, c1
, c2
, omega
and Z
; the units of these parameters are as indicated for thermo$obigt
, sans the order of magnitude multipliers. Note that the equation-of-state parameter Z
(appearing in the $g$-function for the temperature derivatives of the omega parameter; Shock et al., 1992) is taken from thermo$obigt
and not from the makeup
of the species, although in most cases the two values are coincident. H2O.PT
and H2O.PrTr
are optional arguments that contain the electrostatic properties of $\mathrm{H_2O}$ required for the calculations. If either of these is NULL
(the default), the required values are retrieved using water
. Unless domega
, the value of which is recycled to the number of species (rows of ghs and eos), is FALSE for any of the species, the temperature and pressure derivatives of the omega
parameter for charged species (where Z != 0
) are calculated using the $g$- and $f$-functions (Shock et al., 1992; Johnson et al., 1992). This option is currently blocked when the IAPWS-95 equations are activated (see water
).
The parameters in the cgl
equations of state for crystalline, gas and liquid species (except liquid water) include V
, a
, b
, c
, d
, e
, f
and lambda
. The terms denoted by a
, b
and c
correspond to the Maier-Kelley equation for heat capacity (Maier and Kelley, 1932); the additional terms are useful for representing heat capacities of minerals (Robie and Hemingway, 1995) and gaseous or liquid organic species (Helgeson et al., 1998). The standard molal volumes (V) of species in these calculations are taken to be independent of temperature and pressure.
The temperature and pressure range of validity of the revised HKF equations of state for aqueous species corresponds to the stability region of liquid water or the supercritical fluid at conditions between 0 to 1000 $^{\circ}$C and 1 to 5000 bar (Tanger and Helgeson, 1988; Shock and Helgeson, 1988). The hkf
function does not check these limits and will compute properties as long as the requisite electrostatic properties of water are available. There are conceptually no temperature limits (other than 0 Kelvin) for the validity of the cgl
equations of state. However, the actual working upper temperature limits correspond to the temperatures of phase transitions of minerals or to those temperatures beyond which extrapolations from experimental data become untenable. These temperature limits are stored in the thermodynamic database, but cgl
ignores them (subcrt
warns if they are exceeded).
Helgeson, H. C., Owens, C. E., Knox, A. M. and Richard, L. (1998) Calculation of the standard molal thermodynamic properties of crystalline, liquid, and gas organic molecules at high temperatures and pressures. Geochim. Cosmochim. Acta 62, 985--1081.
Maier, C. G. and Kelley, K. K. (1932) An equation for the representation of high-temperature heat content data. J. Am. Chem. Soc. 54, 3243--3246.
Shock, E. L. and Helgeson, H. C. (1988) Calculation of the thermodynamic and transport properties of aqueous species at high pressures and temperatures: Correlation algorithms for ionic species and equation of state predictions to 5 kb and 1000$^{\circ}$C. Geochim. Cosmochim. Acta 52, 2009--2036.
Tanger, J. C. IV and Helgeson, H. C. (1988) Calculation of the thermodynamic and transport properties of aqueous species at high pressures and temperatures: Revised equations of state for the standard partial molal properties of ions and electrolytes. Am. J. Sci. 288, 19--98.
info
for retrieving equations of state parameters from the thermodynamic database, water
for equations of state of water, subcrt
for calculations that use these equations.data(thermo)
## aqueous species
a <- info(info("methane","aq"))
hkf(property="Cp",ghs=a,eos=a)
# the non-solvation heat capacity
hkf(property="Cp",ghs=a,eos=a,contrib="n")
# at different temperature and pressure
hkf(property="Cp",ghs=a,eos=a,T=c(373.15,473.15),P=1000)
## crystalline, gas, liquid species
a <- info(info("methane","gas"))
cgl(property="Cp",ghs=a,eos=a)
# melting and vaporization of n-octane
a <- info(info(rep("n-octane",3),c("cr","liq","gas")))
b <- cgl(property="G",ghs=a,eos=a,T=seq(200,420,10),P=1)
which.pmax(b,pmin=TRUE) # 1 = cr, 2 = liq, 3 = gas
# compare that result with the tabulated transition temperatures
print(a)
Run the code above in your browser using DataLab