# Coefficient self-consistency#

*This section was contributed by Bob Myhill.*

The coefficients in the previous section may at first appear independent. However, there are thermodynamic relations between these properties which must be satisfied in any self-consistent material model. The following section describes the relations required for thermodynamic consistency, and presents some suggested ways by which consistency can be assured.

In order to derive the relationships between different material properties, we must introduce a thermodynamic potential known as the *specific Gibbs free energy* \(\mathcal{G}(p, T)\) with units \(\text{ J}/\text{ kg}\).
The word “specific” indicates that the energy is given per unit mass, rather than volume or number of atoms or molecules.
This potential is equal to the maximum amount of non-expansion work that can be extracted from a thermodynamically closed system.
At equilibrium conditions and fixed temperature and pressure, the Gibbs free energy is minimized.
The following equations provide the definitions and relationships between thermodynamic properties in terms of the specific Gibbs free energy:

where \(S\) is the specific entropy, \(C_p\) and \(C_V\) are the specific isobaric and isochoric heat capacities, \(\beta_T\) and \(\beta_S\) are the isothermal and isotropic compressibilities, and \(\gamma\) is the thermodynamic Grüneisen parameter. The subscript indicates the thermodynamic variable (\(p\) or \(T\)) that is held constant.

Thermodynamically self-consistent material models must obey the explicit and
implicit relations between the different properties *at all pressures and
temperatures*. Explicit relations are here defined as those between properties
and their derivatives, such as that between density and thermal expansivity.
Implicit relations involve mixed pressure and temperature derivatives, and
derive from the symmetry of second derivatives. The following paragraphs list
the relations most relevant for the construction of
thermodynamically-consistent material models in ASPECT.

## Consistency in \(\boldsymbol{\rho}\)-\(\boldsymbol{\alpha}\) and \(\boldsymbol{\rho}\)-\(\boldsymbol{\beta_T}\)#

Using the chain rule to combine (8), (9) and (10) yields the more familiar definitions of \(\alpha\) and \(\beta_T\):

## Isobaric heat capacity#

We start by taking the partial derivative of the isobaric heat capacity (11) with respect to pressure at constant temperature:

From this expression it becomes clear that if \(\alpha / \rho\) has any temperature dependence, the heat capacity \(C_p\) *cannot* be globally constant.
One way to solve this issue is to define heat capacity at constant pressure, and then integrate (15) with respect
to pressure:

There is no guarantee that this expression will have a form for which the integral can be found analytically.

## Isentropic gradient#

The material properties also define the slope of the adiabat (the change in temperature with pressure at constant entropy) at all pressures and temperatures. Using the cyclic relation, we can define this slope in terms of partial differentials of the entropy with respect to pressure and temperature:

This expression does not pose a constraint on the material properties, but in order to be self-consistent, the adiabat must be computed following this relation.

For complex material models, obtaining analytical functions which obey all these relations may be a non-trivial exercise. Furthermore, it is often not immediately clear when a given formulation is thermodynamically inconsistent. Indeed, both the thermodynamic and the geodynamic literature contain many equations of state and material parameterizations which do not obey these relations! This may not invalidate the results obtained with these models, but it is a point worth keeping in mind as the geodynamics community moves to more complicated and more realistic parameterizations.

Warning

Some compressible formulations in ASPECT (Mass conservation approximation) use the isothermal compressibility, while others use the isentropic compressibility. Fully self-consistent material models must either specify what approximation of the compressible equations they are consistent with (see Approximate equations), or have a switch so that they use the correct compressibility for each of the different approximations. The conversion between isothermal and isentropic compressibilities is given in (12).