# Joule expansion

The Joule expansion (also called free expansion) is an irreversible process in thermodynamics in which a volume of gas is kept in one side of a thermally isolated container (via a small partition), with the other side of the container being evacuated. The partition between the two parts of the container is then opened, and the gas fills the whole container.

The Joule expansion, treated as a thought experiment involving ideal gases, is a useful exercise in classical thermodynamics. It provides a convenient example for calculating changes in thermodynamic quantities, including the resulting increase in entropy of the universe (entropy production) that results from this inherently irreversible process. An actual Joule expansion experiment necessarily involves real gases; the temperature change in such a process provides a measure of intermolecular forces.

This type of expansion is named after James Prescott Joule who used this expansion, in 1845, in his study for the mechanical equivalent of heat, but this expansion was known long before Joule e.g. by John Leslie, in the beginning of the 19th century, and studied by Joseph-Louis Gay-Lussac in 1807 with similar results as obtained by Joule.[1][2]

The Joule expansion should not be confused with the Joule-Thompson effect.

## Description

The process begins with gas under some pressure, ${\displaystyle P_{\mathrm {i} }}$, at temperature ${\displaystyle T_{\mathrm {i} }}$, confined to one half of a thermally isolated container (see the top part of the drawing at the beginning of this article). The gas occupies an initial volume ${\displaystyle V_{\mathrm {i} }}$, mechanically separated from the other part of the container, which has a volume ${\displaystyle V_{\mathrm {0} }}$, and is under near zero pressure. The tap (solid line) between the two halves of the container is then suddenly opened, and the gas expands to fill the entire container, which has a total volume of ${\displaystyle V_{\mathrm {f} }=V_{\mathrm {i} }+V_{\mathrm {0} }}$ (see the bottom part of the drawing). A thermometer inserted into the compartment on the left (not shown in the drawing) measures the temperature of the gas before and after the expansion.

The system in this experiment consists of both compartments; that is, the entire region occupied by the gas at the end of the experiment. Because this system is thermally isolated, it cannot exchange heat with its surroundings. Also, since the system's total volume is kept constant, the system cannot perform work on its surroundings.[3] As a result, the change in internal energy, ${\displaystyle \Delta U}$, is zero. Internal energy consists of internal kinetic energy (due to the motion of the molecules) and internal potential energy (due to intermolecular forces). When the molecular motion is random, temperature is the measure of the internal kinetic energy. In this case, the internal kinetic energy is called heat. If the chambers have not reached equilibrium, there will be some kinetic energy of flow, which is not detectable by a thermometer (and therefore is not a component of heat). Thus, a change in temperature indicates a change in kinetic energy, and some of this change will not appear as heat until and unless thermal equilibrium is reestablished. When heat is transferred into kinetic energy of flow, this causes a decrease in temperature[4]. In practice, the simple two-chamber free expansion experiment often incorporates a 'porous plug' through which the expanding air must flow to reach the lower pressure chamber. The purpose of this plug is to inhibit directional flow, thereby quickening the reestablishment of thermal equilibrium. Since the total internal energy does not change, the stagnation of flow in the receiving chamber converts kinetic energy of flow back into random motion (heat) so that the temperature climbs to its predicted value. If the initial air temperature is low enough that non-ideal gas properties cause condensation, some internal energy is converted into latent heat (an offsetting change in potential energy) in the liquid products. Thus, at low temperatures the Joule expansion process provides information on intermolecular forces.

### Ideal gases

If the gas is ideal, both the initial (${\displaystyle T_{\mathrm {i} }}$, ${\displaystyle P_{\mathrm {i} }}$, ${\displaystyle V_{\mathrm {i} }}$) and final (${\displaystyle T_{\mathrm {f} }}$, ${\displaystyle P_{\mathrm {f} }}$, ${\displaystyle V_{\mathrm {f} }}$) conditions follow the Ideal Gas Law, so that initially

${\displaystyle P_{\mathrm {i} }V_{\mathrm {i} }=nRT_{\mathrm {i} }}$

and then, after the tap is opened,

${\displaystyle P_{\mathrm {f} }V_{\mathrm {f} }=nRT_{\mathrm {f} }}$.

Here ${\displaystyle n}$ is the number of moles of gas and ${\displaystyle R}$ is the molar ideal gas constant. Because the internal energy does not change and the internal energy of an ideal gas is solely a function of temperature, the temperature of the gas does not change; therefore ${\displaystyle T_{\mathrm {i} }=T_{\mathrm {f} }}$. This implies that

${\displaystyle P_{\mathrm {i} }V_{\mathrm {i} }=P_{\mathrm {f} }V_{\mathrm {f} }=nRT_{\mathrm {i} }}$.

Therefore if the volume doubles, the pressure halves.

The fact that the temperature does not change makes it easy to compute the change in entropy of the universe for this process.

### Real gases

Unlike ideal gases, the temperature of a real gas will change during a Joule expansion. Empirically, it is found that almost all gases cool during a Joule expansion at all temperatures investigated; the exceptions are helium, at temperatures above about 40 K, and hydrogen, at temperatures above about 200 K. This temperature is known as the inversion temperature of the gas. Above this temperature gas heats up during Joule expansion. [5] [6] Since internal energy is constant, cooling must be due to the conversion of internal kinetic energy to internal potential energy, with the opposite being the case for warming.

Intermolecular forces are repulsive at short range and attractive at long range (for example, see the Lennard-Jones potential). Since distances between gas molecules are large compared to molecular diameters, the energy of a gas is usually influenced mainly by the attractive part of the potential. As a result, expanding a gas usually increases the potential energy associated with intermolecular forces. Some textbooks say that for gases this must always be the case and that a Joule expansion must always produce cooling.[7][8] In liquids, where molecules are close together, repulsive interactions are much more important and it is possible to get an increase in temperature during a Joule expansion.[9]

It is theoretically predicted that, at sufficiently high temperature, all gases will warm during a Joule expansion[5] The reason is that at any moment, a very small number of molecules will be undergoing collisions; for those few molecules, repulsive forces will dominate and the potential energy will be positive. As the temperature rises, both the frequency of collisions and the energy involved in the collisions increase, so the positive potential energy associated with collisions increases strongly. If the temperature is high enough, that can make the total potential energy positive, in spite of the much larger number of molecules experiencing weak attractive interactions. When the potential energy is positive, a constant energy expansion reduces potential energy and increases kinetic energy, resulting in an increase in temperature. This behavior has only been observed for hydrogen and helium; which have very weak attractive interactions. For other gases this "Joule inversion temperature" appears to be extremely high.[6]

## Entropy production

Entropy is a function of state, and therefore the entropy change can be computed directly from the knowledge of the final and initial equilibrium states. For an ideal gas, the change in entropy[10] is the same as for isothermal expansion where all heat is converted to work:

${\displaystyle \Delta S=\int _{i}^{f}dS=\int _{V_{i}}^{V_{f}}{\frac {P\,dV}{T}}=\int _{V_{i}}^{V_{f}}{\frac {nR\,dV}{V}}=nR\ln {\frac {V_{f}}{V_{i}}}.}$

For an ideal monatomic gas, the entropy as a function of the internal energy U, volume V, and number of moles n is given by the Sackur–Tetrode equation:[11]

${\displaystyle S=nR\ln \left[\left({\frac {V}{N}}\right)\left({\frac {4\pi m}{3h^{2}}}{\frac {U}{N}}\right)^{\frac {3}{2}}\right]+{\frac {5}{2}}nR.}$

In this expression m is the particle mass and h Planck's constant. For a monatomic ideal gas U = (3/2)nRT = nCVT, with CV the molar heat capacity at constant volume. In terms of classical thermodynamics the entropy of an ideal gas is given by

${\displaystyle S(V,T)=S_{0}+nR\ln \left({\frac {V}{V_{0}}}\right)+nC_{V}\ln \left({\frac {T}{T_{0}}}\right)}$

where S0 is the, arbitrary chosen, value of the entropy at volume V0 and temperature T0.[12] It is seen that a doubling of the volume at constant U or T leads to an entropy increase of ΔS = nR ln(2). This result is also valid if the gas is not monatomic, as the volume dependence of the entropy is the same for all ideal gases.

A second way to evaluate the entropy change is to choose a route from the initial state to the final state where all the intermediate states are in equilibrium. Such a route can only be realized in the limit where the changes happen infinitely slowly. Such routes are also referred to as quasistatic routes. In some books one demands that a quasistatic route has to be reversible, here we don't add this extra condition. The net entropy change from the initial state to the final state is independent of the particular choice of the quasistatic route, as the entropy is a function of state.

Here is how we can effect the quasistatic route. Instead of letting the gas undergo a free expansion in which the volume is doubled, a free expansion is allowed in which the volume expands by a very small amount δV. After thermal equilibrium is reached, we then let the gas undergo another free expansion by δV and wait until thermal equilibrium is reached. We repeat this until the volume has been doubled. In the limit δV to zero, this becomes an ideal quasistatic process, albeit an irreversible one. Now, according to the fundamental thermodynamic relation, we have:

${\displaystyle \mathrm {d} U=T\mathrm {d} S-P\mathrm {d} V.}$

As this equation relates changes in thermodynamic state variables, it is valid for any quasistatic change, regardless of whether it is irreversible or reversible. For the above defined path we have that dU = 0 and thus TdS=PdV, and hence the increase in entropy for the Joule expansion is

${\displaystyle \Delta S=\int _{i}^{f}\mathrm {d} S=\int _{V_{0}}^{2V_{0}}{\frac {P\,\mathrm {d} V}{T}}=\int _{V_{0}}^{2V_{0}}{\frac {nR\,\mathrm {d} V}{V}}=nR\ln 2.}$

A third way to compute the entropy change involves a route consisting of reversible adiabatic expansion followed by heating. We first let the system undergo a reversible adiabatic expansion in which the volume is doubled. During the expansion, the system performs work and the gas temperature goes down, so we have to supply heat to the system equal to the work performed to bring it to the same final state as in case of Joule expansion.

During the reversible adiabatic expansion, we have dS = 0. From the classical expression for the entropy it can be derived that the temperature after the doubling of the volume at constant entropy is given as:

${\displaystyle T=T_{i}2^{-R/C_{V}}=T_{i}2^{-2/3}}$

for the monatomic ideal gas. Heating the gas up to the initial temperature Ti increases the entropy by the amount

${\displaystyle \Delta S=n\int _{T}^{T_{i}}C_{V}{\frac {\mathrm {d} T'}{T'}}=nR\ln 2.}$

We might ask what the work would be if, once the Joule expansion has occurred, the gas is put back into the left-hand side by compressing it. The best method (i.e. the method involving the least work) is that of a reversible isothermal compression, which would take work W given by

${\displaystyle W=-\int _{2V_{0}}^{V_{0}}P\,\mathrm {d} V=-\int _{2V_{0}}^{V_{0}}{\frac {nRT}{V}}\mathrm {d} V=nRT\ln 2=T\Delta S_{gas}.}$

During the Joule expansion the surroundings do not change, so the entropy of the surroundings is constant. So the entropy change of the so-called "universe" is equal to the entropy change of the gas which is nR ln 2.

## Real-gas effect

Joule performed his experiment with air at room temperature which was expanded from a pressure of about 22 bar. Air, under these conditions, is almost an ideal gas, but not quite. As a result the real temperature change will not be exactly zero. With our present knowledge of the thermodynamic properties of air [13] we can calculate that the temperature of the air should drop by about 3 degrees Celsius when the volume is doubled under adiabatic conditions. However, due to the low heat capacity of the air and the high heat capacity of the strong copper containers and the water of the calorimeter, the observed temperature drop is much smaller, so Joule found that the temperature change was zero within his measuring accuracy.

## References

The majority of good undergraduate textbooks deal with this expansion in great depth; see e.g. Concepts in Thermal Physics, Blundell & Blundell, OUP ISBN 0-19-856770-7

1. D.S.L. Cardwell, From Watt to Clausius, Heinemann, London (1957)
2. M.J. Klein, Principles of the theory of heat, D. Reidel Pub.Cy., Dordrecht (1986)
3. Note that the fact that the gas expands in a vacuum and thus against zero pressure is irrelevant. The work done by the system would also be zero if the right hand side of the chamber were not evacuated, but is instead filled with a gas at a lower pressure. While the expanding gas would then do work against the gas in the right-hand side of the container, the whole system doesn't do any work against the environment.
4. V.A. Kirillin, et al, Engineering Thermodynamics,(1981) Mir Publishers, Chapter 7.7 p.265
5. Goussard, J.-O.; Roulet, B. (1993). "Free expansion for real gases". Am. J. Phys. 61 (9): 845–848. Bibcode:1993AmJPh..61..845G. doi:10.1119/1.17417.
6. Albarrán-Zavala, E.; Espinoza-Elizarraraz, B.A.; Angulo-Brown, F. (2009). "Joule inversion temperatures for some simple real gases". The Open Thermodynamics Journal. 3: 17–22. doi:10.2174/1874396x00903010017.
7. Pippard, A. B. (1957). Elements of Classical Thermodynamics, p. 73. Cambridge University Press, Cambridge, U.K.
8. Tabor, D. (1991). Gases, liquids and solids, p. 148. Cambridge University Press, Cambridge, U.K. ISBN 0 521 40667 6.
9. Keenan, J. H. (1970). Thermodynamics, p. 414. M.I.T. Press, Cambridge, Massachusetts.
10. Tipler, P., and Mosca, G. Physics for Scientists and Engineers (with modern physics), 6th edition, 2008. pages 602 and 647.
11. K. Huang, Introduction to Statistical Physics, Taylor and Francis, London, 2001
12. M.W. Zemansky, Heat and Thermodynamics, McGraw-Hill Pub.Cy. New York (1951), page 177.
13. Refprop, software package developed by National Institute of Standards and Technology (NIST)