# Mode: `TH`

(Thermal-Hydrologic)¶

The current implementation of the `TH`

mode applies to mass and energy
conservation equations which are solved fully coupled. The fluid density
only a function of \(T\) and \(P\). Future generalizations of
the `TH`

mode will include multicomponent variable density fluids. The
TH equations may be coupled to the reactive transport mode (see Section
[sec:chem]).

`TH`

mode applies to single phase, variably saturated, nonisothermal
systems with incorporation of density variations coupled to fluid flow.
The governing equations for mass and energy are given by

and

The Darcy flow velocity \({\boldsymbol{q}}\) is given by

Here, \(\varphi\) denotes porosity, \(s\) saturation, \(\rho\), \(\eta\) mixture mass and molar density, respectively, of the brine, \({\boldsymbol{q}}\) Darcy flux, \(k\) intrinsic permeability, \(k_r\) relative permeability, \(\mu\) viscosity, \(P\) pressure, \(g\) gravity, and \(z\) the vertical component of the position vector. Supported relative permeability functions \(k_r\) for Richards’ equation include van Genuchten, Books-Corey and Thomeer-Corey, while the saturation functions include Burdine and Mualem (see Mode: RICHARDS). Water density and viscosity are computed as a function of temperature and pressure through an equation of state for water. The quantity \(\rho_r\) denotes the rock density, \(c_p\), and \(\kappa\) denote the heat capacity and thermal conductivity of the porous medium-fluid system. The internal energy and enthalpy of the fluid, \(U\) and \(H\), are obtained from an equation of state for pure water. These two quantities are related by the thermodynamic expression

Thermal conductivity is determined from the equation (Somerton et al., 1974)

where \(\kappa_{\rm dry}\) and \(\kappa_{\rm sat}\) are dry and fully saturated rock thermal conductivities.

## Ice Model¶

In PFLOTRAN, the formulation used to model ice and water vapor involves solving a modified Richards equation coupled with an energy balance equation. This formulation is different from Painter (2011), where a multiphase approach was used and mass balance for air was also solved for. In this formulation, the movement of air is not tracked, and hence the mass balance for air is not considered. The balance equations for mass and energy involving three phases (liquid, gas, ice) for the water component are given by

where the subscripts \(l\), \(i\), \(g\) denote the liquid, ice and gas phases, respectively; \(\phi\) is the porosity; \(s_{\alpha} (\alpha = i, l, g)\) is the saturation of the \(\alpha\)-th phase; \(\eta_{\alpha} (\alpha = i, l, g)\) is the molar density of the \(\alpha\)-th phase; \(\rho_g\), \(\rho_l\) are the mass densities of the gas and liquid phases; \(Q_w\) is the mass source of \(\mathrm{H_2O}\); \(X_w^{\alpha} (\alpha = i, l, g)\) is the mole fraction of \(\mathrm{H_2O}\) in the \(\alpha\)-th phase; \(\tau_g\) is the tortuosity of the gas phase; \(D_g\) is the diffusion coefficient in the gas phase; \(T\) is the temperature (assuming all the phases and the rock are in thermal equilibrium); \(c_r\) is the specific heat of the rock; \(\rho_r\) is the density of the rock; \(U_{\alpha} (\alpha = i, l, g)\) is the molar internal energy of the \(\alpha\)-th phase; \(H_{\alpha} (\alpha = l, g)\) is the molar enthalpy of the \(\alpha\)-the phase; \(Q_e\) is the heat source; \(\boldsymbol{\nabla}\, (\, )\) is the gradient operator; \(\boldsymbol{\nabla}\cdot (\,)\) is the divergence operator.

The Darcy velocity for the gas and liquid phases are given as follows:

where \(k\) is the absolute permeability; \(k_{r \alpha} (\alpha = l, g)\) is the relative permeability of the \(\alpha\)-th phase; \(\mu_{\alpha} (\alpha = l, g)\) is the viscosity of the \(\alpha\)-th phase; \(p_{\alpha} (\alpha = l, g)\) is the partial pressure of the \(\alpha\)-th phase; \(\boldsymbol{g}\) is acceleration due to gravity.

The constraint on the saturations of the various phases of water is given by

Furthermore, neglecting the amount of air in liquid and ice phases, it follows that

and so Eqns. (6), (7) based on the assumption that \(p_g\) is hydrostatic i.e., \({p}_g = {({p}_g)}_0 + \rho_g gz\), reduce to [eq:gov]

In the above formulation, temperature and liquid pressure are chosen to be primary variables. It is ensured that complete dry-out does not occur, and that liquid is present at all times. With this approach, it is not necessary to change the primary variables based on the phases present.

In addition to the previously described mass and energy balance equations, additional constitutive relations are required to model non-isothermal, multiphase flow of water. Assuming thermal equilibrium among the ice, liquid and vapor phases, the mole fraction of water in vapor phase is given by the relation,

where \(p_v\) is the vapor pressure, and \(p_g\) is the gas pressure (It is assumed that \(p_g\) = 1 atm throughout the domain). Vapor pressure is calculated using Kelvin’s relation which includes vapor pressure lowering due to capillary effects as follows

where \(P_{\text{sat}}\) is the saturated vapor pressure, \(P_{cgl}\) is the liquid-gas capillary pressure, and \(R\) is the gas constant. Empirical relations for saturated vapor pressure are used for both above and below freezing conditions. To calculate the partition of ice, liquid and vapor phases, at a known temperature and liquid pressure, the following two relations are used (see Painter, 2011):

\(S_{*}\) is the retention curve for unfrozen liquid-gas phases, \(P_{cgl}\) is the gas-liquid capillary pressure, \(P_{cil}\) is the ice-liquid capillary pressure, \(\sigma_{il}\) and \(\sigma_{gl}\) are the ice-liquid and gas-liquid interfacial tensions. Also,

where \(h_{iw}^0\) is the heat of fusion of ice at 273.15 K, \({\rho}_i\) is the mass density of ice, \(\vartheta = \frac{T - T_0}{T_0}\) with \(T_0 = 273.15\) K.

For \(S_{*}\) the van Genuchten model is used:

with the Mualem model implemented for the relative permeability of liquid water,

where \(\lambda\), \(\alpha\) are parameters, with \(\gamma = \frac{1}{1-\lambda}\).

The thermal conductivity for the frozen soil is chosen to be

where \(\kappa_{\text{wet},f}\), \(\kappa_{\text{wet},u}\) are the liquid- and ice-saturated thermal conductivities, \(\kappa_{\text{dry}}\) is the dry thermal conducitivity, \(Ke_f\), \(Ke_u\) are the Kersten numbers in frozen and unfrozen conditions and are assumed to be related to the ice and liquid saturations by power law relations as follows

with \(\alpha_f\), \(\alpha_u\) being the power law coefficients. Care is also taken to ensure that the derivatives of the Kersten numbers do not blow up when \(s_i\), \(s_l\) go to zero when \(\alpha_f\), \(\alpha_u\) are less than one.

The gas diffusion coefficient \(D_g\) is assumed to dependend on temperature and pressure as follows:

where \(D_g^0\) is the reference diffusion coefficient at some reference temperature, \(T_{\text{ref}}\), and pressure \(P_{\text{ref}}\).