Thermodynamics and EOS

Gas densities

The density of the gas mixture is calculated using Amagat's additive volume law to combine the densities of the individual components. You can read more about the validity and usage of this formulation here: Magyar et al. [37], Bradley et al. [38], Magyar and Mattsson [39] and Magyar et al. [40].

Densities of individual gas components are calculated using one of several equations of state:

  • The Van der Waals equation of state is the default for most gases, accounting for intermolecular attractions and excluded volume [41].
  • AQUA is implemented as the EOS for water across a wide range of pressures and temperatures, including supercritical states [42].
  • The Chabrier et al. [43] EOS is used for hydrogen.
  • For any gas not covered by the above, AGNI falls back to the ideal gas EOS: $\rho = p \mu / (R T)$.

The ideal gas approximation is accurate at low pressures and high temperatures; deviations become important at conditions found deep in the atmospheres of sub-Neptune exoplanets or near phase boundaries.

Heat capacity

The molar heat capacity at constant pressure $c_p$ determines how much energy is required to raise the temperature of the gas. Its value increases with temperature as rotational and vibrational degrees of freedom in polyatomic molecules become accessible[17]. AGNI therefore implements temperature-dependent $c_p(T)$ using tabulated experimental data from the JANAF thermochemical tables [44], accessed by interpolation.

Saturation pressure and condensation

The saturation partial pressure $p^\text{sat}(T)$ defines the coexistence curve between vapour and condensate phases. The Clausius–Clapeyron relation describes how the saturation pressure varies with temperature along the phase coexistence curve:

\[\frac{d p^\text{sat}}{d T} = \frac{p^\text{sat} L(T)}{R T^2}\]

where $L(T)$ is the molar latent heat of the relevant phase change. Integrating this from a known reference point gives the saturation curve.

The reference point is anchored using the Antoine equation,

\[\log_{10}\!\left(\frac{p^\text{sat}}{\text{bar}}\right) = A - \frac{B}{T + C}\]

with coefficients from NIST, evaluated within the Antoine equation's valid temperature range.

Latent heat

The latent heat $L(T)$ is the enthalpy difference between the vapour and condensate phases at constant pressure. $L$ decreases with increasing temperature and vanishes at the critical point $T_\text{crit}$, where the liquid and vapour phases become indistinguishable.

AGNI implements temperature-dependent $L(T)$ via tabulated empirical reference data. Sources are:

  • Water: [45] and [46] (below the triple point)
  • Other species: [47]

For gases not covered by these data, $L = 0$ is assumed (i.e. no condensation). Data are interpolated at runtime.

See Composition and chemistry for how these thermodynamic properties are applied to the condensation and phase-change scheme.

Bibliography for this page

[17]
R. Pierrehumbert. Principles of planetary climate (Cambridge University Press, Cambridge New York, 2010).
[37]
[38]
P. A. Bradley, E. N. Loomis, E. C. Merritt, J. A. Guzik, P. H. Denne and T. T. Clark. Experimental validation of thermodynamic mixture rules at extreme pressures and densities. Physics of Plasmas 25, 012710 (2018).
[39]
[40]
R. J. Magyar, S. Root, K. Cochrane, T. R. Mattsson and D. G. Flicker. Ethane-xenon mixtures under shock conditions. Phys. Rev. B 91, 134109 (2015).
[41]
G. M. Kontogeorgis, R. Privat and J.-N. Jaubert. Taking Another Look at the van der Waals Equation of State-Almost 150 Years Later. J. Chem. Eng. Data 64, 4619–4637 (2019).
[42]
[43]
[44]
M. W. Chase. JANAF thermochemical tables (American Chemical Society, New York, 1986).
[45]
W. Wagner and A. Pruß. The IAPWS Formulation 1995 for the Thermodynamic Properties of Ordinary Water Substance for General and Scientific Use. Journal of Physical and Chemical Reference Data 31, 387–535 (2002).
[46]
R. Feistel and W. Wagner. A New Equation of State for H2O Ice Ih. Journal of Physical and Chemical Reference Data 35, 1021–1047 (2006).
[47]
A. Coker. Ludwig's Applied Process Design for Chemical and Petrochemical Plants (Gulf Professional Publishing, Burlington, 2007).