Thermodynamics potentials#
In this section, principles and the mathematical formalism of classical thermodynamics are reviewed.
First principle#
For an extensive system
being \(E\) the internal energy, \(T\) temperature, \(S\) entropy, \(\mathbf{F}\) generalized force, \(\mathbf{X}\) generalized displacement.
Following Gibbs’ formulation, internal energy \(E\) can be written as a function of a limited set of independent state variables,
Internal energy \(E\), entropy \(S\) and the generalized displacement \(\mathbf{X}\) are extensive physical quantities, and thus (thus?) the derivatives
are intensive quantities. A discussion about the difference between the concept of additivity and extensivity1. Beside being extensive, internal energy in classical thermodynamics is an homogeneous function2 of order 1 of its arguments, namely
Euler’s theorem for homogeneous functions holds.
Theorem 1 (Euler’s theorem for homogeneous functions)
Let \(f(x_i)\) and homogeneous function of order \(m\), i.e.
It follows that
Proof immediately follows, evaluating the derivative of (1) w.r.t. \(a\), and evaluating for \(a = 1\), i.e.
and for \(a = 1\),
Thus, internal energy can be written as
First principle for different systems#
Single-component fluid, \(E(S, V, N)\)
\[d E = T \, d S - P \, d V + \mu \, d N\]Multi-component fluid, \(E(S, V, N_k)\)
\[d E = T \, dS - P \, d V + \mu_k \, d N_k\]where the change of number of particles (or moles, it depends on the description - anyway a non-dimensional number) \(d N_k\) is governed by the stoichiometric ratios of the reactions occurring in the system.
Single-component solid, \(E(S, \mathbf{X})\)
\[d E = T \, dS + \mathbf{F} \cdot d \mathbf{X}\]
First principle for specific quantities#
First principle and thermodynamics can be writtenin terms of specific quantites, usually either for unit volume or for unit mass.
First principle per unit mass#
All the extensive quantites are written as the product of the mass of the system \(M\) and its density, namely
and, using the product rule for differential \(d E = d (M e) = dM \, e + M \, de\), first principle can be written as
The first term is identically zero, since it’s the expression of the internal energy divided by \(M\). Being \(M > 0\), the second term gives the first principle per unit mass
Different systems#
Single-component fluid;
\[V = M \dfrac{1}{\rho} \quad , \quad N = M \dfrac{1}{m} \ , \]being \(\rho\) the mass density and \(m\) the mass of a particle (or mole, it depends on the description) of the medium; \(m\) is constant. First principle becomes
\[0 = d M \underbrace{\left( e - T s + \dfrac{P}{\rho} - \dfrac{\mu}{m} \right)}_{= 0} + M \left( d e - T ds - \dfrac{P}{\rho^2} d\rho \right) \ ,\]and thus
\[de = T ds + \dfrac{P}{\rho^2} d \rho \ .\]Multi-component fluid
\[V = M \dfrac{1}{\rho} \quad , \quad N_k = M_k \dfrac{1}{m}_k = M \dfrac{M_k}{M} \dfrac{1}{m_k} = M \dfrac{1}{m_k} \dfrac{\rho_k}{\rho} = M \dfrac{1}{m_k} w_k \ , \]being \(\rho\) the mass density and \(m\) the mass of a particle (or mole, it depends on the description) of the \(k^{th}\) substance; \(m_k\) is constant. The first principle becomes
\[0 = d M \underbrace{\left( e - T s + \dfrac{P}{\rho} - \dfrac{\mu_k}{m_k} w_k \dfrac{}{} \right)}_{= 0} + M \left[ d e - T ds - \dfrac{P}{\rho^2} d\rho - \dfrac{\mu_k}{m_k} d w_k \right] \ ,\]and thus
\[de = T ds + \dfrac{P}{\rho^2} d \rho + \dfrac{\mu_k}{m_k} d w_k\ .\]Single-component solid
\[\text{\textbf{todo}}\]
First principle per unit volume#
All the extensive quantites are written as the product of the mass of the system \(M\) and its density, namely
and, using the product rule for differential \(d E = d (V \mathcal{E}) = dV \, \mathcal{E} + V \, d\mathcal{E}\), first principle can be written as
The first term is identically zero, since it’s the expression of the internal energy divided by \(V\). Being \(V > 0\), the second term gives the first principle per unit volume
Different systems#
Single-component fluid;
\[V = V \cdot 1 \quad , \quad N = V \dfrac{M}{V} \dfrac{1}{m} = V \dfrac{\rho}{m} \ , \]being \(\rho\) the mass density and \(m\) the mass of a particle (or mole, it depends on the description) of the medium; \(m\) is constant. First principle becomes
\[0 = d V \underbrace{\left( \mathcal{E} - T \mathcal{S} + P - \mu \dfrac{\rho}{m} \right)}_{= 0} + V \left( d \mathcal{E} - T d\mathcal{S} + 0 - \frac{\mu}{m} \, d \rho \right) \ ,\]and thus
\[d \mathcal{E} = T d \mathcal{S} + \dfrac{\mu}{m} d \rho \ .\]This latter formulation is consistent with the principle per unit mass. Volume density can be written as the product of mass density and the mass density of the physical quantity of interest, namely \(\mathcal{E} = \rho e\)
\[\begin{split}\begin{aligned} 0 & = - d( \rho e ) + T d (\rho s) + \frac{\mu}{m} d \rho = \\ & = d \rho \left( - e + T s + \frac{\mu}{m} \right) - \rho \left( d e + T d s \right) = \\ & = d \rho \underbrace{\left( - e - \dfrac{P}{\rho} + T s + \frac{\mu}{m} \right)}_{\text{def. of $e$}} + \rho \underbrace{\left( - d e + \dfrac{P}{\rho^2} d \rho + T d s \right)}_{1^{st} \text{ pr. per unit mass}} \ . \end{aligned}\end{split}\]Multi-component fluid
\[\text{\textbf{todo}}\]Single-component solid
\[\text{\textbf{todo}}\]
Potentials - specific quantities#
Here mechanical \(\mathbf{X}_m\) and non-mechanical \(\mathbf{X}_n\) generalized forces and displacements are recognized to define enthaply and Gibbs’ free energy later.
Internal energy, \(e(s, \mathbf{x})\).
Helmholtz free energy, \(f(T, \mathbf{x}) = e - T s\).
Enthaply, \(h(T, \mathbf{F}_m, \mathbf{x}_n) = e - \mathbf{F}_m \cdot \mathbf{x}_m\).
Gibbs’ free energy, \(g(T, \mathbf{F}_m, \mathbf{x}_n) = h - T s = e - \mathbf{F}_m \cdot \mathbf{x}_m - T s = f - \mathbf{F}_m \cdot \mathbf{x}_m = \mathbf{F}_n \cdot \mathbf{x}_n\).
Partial derivatives of potentials.
Maxwell’s relations.