Atmospheric Thermodynamics


Atmospheric Thermodynamics

Anna
Good morning, and welcome back to our introduction to atmospheric science. We’ve finished two chapters, and now we’re turning to one of the field’s central topics: atmospheric thermodynamics. We’ll study thermodynamics in the context of Earth’s atmosphere, with a particular focus on how moisture changes the picture.

Corey
The science itself isn’t different from thermodynamics in mechanical engineering, but the context and emphasis are. We’ll begin with gas laws, then move toward moisture thermodynamics and virtual temperature. Later, we’ll take the first and second laws of thermodynamics and apply them to the atmosphere.

Anna
Before the equations, let’s remind ourselves why this subject matters. Thermodynamics studies energy and the relationships among heat, work, and changes in energy. It gives us a way to understand how energy transformations occur in systems, including the atmosphere.

Corey
And it reaches well beyond atmospheric science. It’s foundational in mechanical engineering, and it’s used in physics, chemistry, metallurgy, and chemical engineering. Thermodynamic ideas also connect to information theory, where people study information entropy.

Anna
That broad reach is why thermodynamics is often described as a cornerstone of classical physics and a very important engineering subject. In atmospheric science, it helps us get a better handle on how the atmosphere behaves. Our first practical tool is the ideal gas equation.

Corey
For engineering and atmospheric applications, we’ll mainly write it in a mass-based form: pressure times volume equals mass times the gas constant times temperature. In symbols, that’s PV = mRT. It’s a convenient way to work with a quantity of gas described by its mass.

Anna
If we divide by mass, we get the equation for one unit of mass: Pv = RT, where lowercase v is specific volume, or volume per unit mass. Since density is mass divided by volume, specific volume is its reciprocal, and we can also write the ideal gas equation as P = ρRT.

Corey
Those are different forms of the same ideal gas relationship: one uses total volume and mass, one uses specific volume, and one uses density. The important thing is to keep track of which version you’re using and what each symbol represents.

Anna
The specific gas constant depends on which gas we’re talking about. For dry air, we find it by taking the universal gas constant, about 8314 joules per kilomole per kelvin, and dividing by dry air’s molecular weight, about 28.97 kilograms per kilomole.

Corey
That gives a specific gas constant for dry air of about 287 joules per kilogram per kelvin. The units matter: this is a gas constant per unit mass, which is why it fits naturally into the mass-based ideal gas equation.

Anna
Water vapor has a different molecular weight, about 18 kilograms per kilomole, so its specific gas constant is different too: about 461.9 joules per kilogram per kelvin. That contrast will become crucial once we stop treating the atmosphere as dry air.

Corey
Before we get to moist air, the ideal gas relationship can be traced back to familiar gas laws. Boyle’s law says that, for a fixed mass of gas at constant temperature, pressure times volume stays constant.

Anna
The phrase “fixed mass” is essential. If you inflate a balloon, both its pressure and volume might change, but you’re adding gas as you inflate it. That situation doesn’t meet Boyle’s fixed-mass condition, so it isn’t a test of whether Boyle’s law holds.

Corey
Charles’s law gives another condition: for a fixed mass of gas at constant pressure, volume is proportional to absolute temperature. So, for two states at the same pressure, we can express that as V₁/T₁ = V₂/T₂.

Anna
Together, Boyle’s law and Charles’s law lead to the combined relationship that pressure times volume divided by temperature is constant for a fixed mass of gas. Experiments then let us express that relationship in the ideal gas equation, with the gas constant accounting for the particular gas.

Corey
There’s also a mole-based way to write the equation, and it can be useful when a problem gives the number of moles rather than the mass. A mole corresponds to approximately 6.023 × 10²³ molecules; knowing the molecular weight lets you convert from moles to mass and then use the mass-based form.

Anna
For mixtures, we can define an apparent molecular weight as total mass divided by total number of moles. If component i has mass mᵢ and molecular weight Mᵢ, the total number of moles is the sum of mᵢ/Mᵢ. So the mixture’s apparent molecular weight is the sum of the component masses divided by that sum of mᵢ/Mᵢ.

Corey
A quick check helps: if there’s only one component, the formula reduces to that component’s own molecular weight. And once we know a mixture’s apparent molecular weight, we can use it to determine the mixture’s gas constant.

Anna
Now we’re ready to think about moist air. The ideal gas equation applies to individual gases in the atmosphere, including water vapor. But dry air and water vapor have different gas constants, so we need a framework for describing how their pressures combine.

Corey
That framework is Dalton’s law of partial pressures. For a mixture of gases that don’t interact chemically, the total pressure is the sum of the partial pressures of the gases in the mixture.

Anna
A partial pressure is the pressure a particular gas would exert if, at the same temperature as the mixture, it alone occupied the entire volume. In other words, we imagine each gas separately filling the mixture’s full volume, and Dalton’s law says those individual pressures add up to the total.

Corey
So for moist air, we can think of total pressure as the contribution from dry air plus the contribution from water vapor. That lets us account for water vapor without pretending it has the same gas constant as dry air.

Anna
But there’s a useful shortcut: instead of replacing the dry-air gas constant with a new gas constant for the whole mixture, we can keep using the dry-air value of about 287 and adjust the temperature. That adjusted, fictitious temperature is called virtual temperature.

Corey
Let’s build the idea carefully. Suppose a volume V of moist air contains dry-air mass m_d and water-vapor mass m_v. The actual density of the mixture is the total mass divided by the volume: (m_d + m_v)/V.

Anna
We can also define a partial density for each gas. The partial density of dry air is the density those dry-air kilograms would have if they alone occupied the whole volume V. The water-vapor partial density is defined the same way, using the water-vapor mass.

Corey
Those are constructed quantities, not claims that each gas has a separate physical volume inside the mixture. But because both masses are considered over the same total volume, their partial densities add to the actual total density.

Anna
Apply the ideal gas equation to each partial density at the mixture temperature T: dry air contributes its partial pressure divided by R_d T, and water vapor contributes its partial pressure divided by R_v T. Dalton’s law lets us relate those two partial pressures to the total pressure.

Corey
Now compare that moist-air density with the density of dry air at the same total pressure. We define virtual temperature, T_v, as the temperature dry air would need to have to match the density of the moist air at that same pressure. In equation form, that matching density is P/(R_d T_v).

Anna
Combining the partial-density expressions with Dalton’s law gives T_v = T divided by [1 − (1 − ε)(p_v/P)], where p_v is the water-vapor partial pressure and ε is R_d/R_v. Since 287 divided by 461.9 is about 0.622, ε is a particularly important value in atmospheric moisture thermodynamics.

Corey
And the direction of the correction makes sense. Water vapor has a larger specific gas constant than dry air, so at the same temperature and pressure, moist air is less dense than dry air. To make dry air match that lower density at the same pressure, we have to raise its temperature: virtual temperature is higher than the actual temperature when water vapor is present.

Anna
The correction is useful, but it’s often modest. Even for the more extreme atmospheric water-vapor concentrations considered in the lecture, the difference between virtual temperature and actual temperature is only a few degrees, not tens of degrees. Depending on the problem, we may either account for it or find that it can be neglected.

Corey
So the key sequence is: use the ideal gas law for each gas, use Dalton’s law to connect the partial pressures, and then use virtual temperature to handle moist air while retaining the familiar dry-air gas constant. That gives us the foundation we need for the next steps in atmospheric thermodynamics.

Ask anything
We've read this whole study set, so questions about it get the best answers.