Atmospheric Thermodynamics
Atmospheric Thermodynamics and Gas Laws
Thermodynamics in atmospheric science
Thermodynamics studies energy and the relationships among heat transfer, work, and changes in a system’s energy. Heat and work are ways energy is transferred; internal energy is one form of energy stored within a system and is a property of that system.
Thermodynamic principles help explain how the atmosphere responds to heating, cooling, compression, expansion, and changes in moisture. The same fundamental science applies in many settings, but atmospheric thermodynamics gives particular attention to air and water vapor rather than, for example, the working fluids in an engine.
Thermodynamics also has broad applications in engineering, physics, chemistry, and materials science. In engines, for instance, it describes how heat can be converted into work. The concept of entropy is used in classical thermodynamics and also has an information-theory counterpart: information entropy measures uncertainty in a distribution, and receiving information can reduce that uncertainty.
The first and second laws of thermodynamics provide important frameworks for atmospheric analysis. The first law tracks energy transfers and changes; the second law constrains the direction of natural processes.
The ideal-gas equation
For a fixed mass of an ideal gas, pressure, volume, and absolute temperature are related by
where:
P is pressure,
V is volume,
m is gas mass,
T is absolute temperature, measured in kelvins,
R is the gas-specific constant.
The mass-based form is especially useful in atmospheric and engineering calculations because gas mass is directly related to density and specific volume.
Equivalent forms
Specific volume is volume per unit mass:
Dividing the ideal-gas equation by mass gives
Density is mass per unit volume, so ρ=m/V=1/v. Substituting this relationship gives another useful form:
These are different forms of the same ideal-gas relationship. Specific volume and density are reciprocals:
Gas-law calculations use absolute temperature. A temperature difference has the same numerical size in kelvins and degrees Celsius, but the gas-law temperature itself must be expressed on the absolute scale.
Gas constants and molecular weight
The gas-specific constant depends on the gas. It is related to the universal gas constant by
where Ru is the universal gas constant and M is the gas’s molecular weight.
For dry air, the approximate values are
Therefore, the gas constant for dry air is
Water vapor has a lower molecular weight, approximately 18 kgkmol−1, and a correspondingly larger gas constant:
The ratio of the dry-air gas constant to the water-vapor gas constant is an important atmospheric quantity:
The difference between Rd and Rv is central to understanding how water vapor affects the density of moist air.
Moles and molecular weight of a mixture
The number of moles of a gas is its mass divided by its molecular weight:
If the number of molecules is known, the number of moles can also be found using Avogadro’s number, approximately 6.022×1023 molecules per mole.
For a mixture of gases, the apparent molecular weight is total mass divided by total amount of substance. If component i has mass mi and molecular weight Mi, then
For a mixture containing only one component, this expression reduces to that component’s molecular weight. The apparent molecular weight allows a gas mixture to be represented using an effective gas constant.
Basic gas laws
The ideal-gas equation is consistent with experimentally observed relationships between pressure, volume, and temperature. These relationships apply under specified conditions, including a fixed mass of gas where indicated.
Boyle’s law
For a fixed mass of gas at constant temperature, pressure and volume vary inversely:
Between two states,
Boyle’s law does not apply directly when the amount of gas changes. For example, inflating a balloon adds gas, so increasing pressure and increasing volume do not contradict the law’s fixed-mass condition.
Charles’s law
For a fixed mass of gas at constant pressure, volume is proportional to absolute temperature:
or, between two states,
Heating a gas at constant pressure increases its volume.
Combined gas-law relationship
For a fixed mass of gas undergoing changes in pressure, volume, and temperature, the ideal-gas equation implies
The individual laws and this combined relationship are all consistent with the ideal-gas equation.
Moist air as a mixture of gases
Atmospheric air contains dry-air constituents and water vapor. Because water vapor has a different gas constant from dry air, moist air cannot always be treated as though its composition were entirely dry air. The ideal-gas equation can, however, be applied separately to each gas in the mixture.
For water vapor,
where e is the water-vapor partial pressure and ρv is its mass per unit volume under the conditions of the mixture.
Dalton’s law and partial pressure
Dalton’s law of partial pressures states that the total pressure of a mixture of gases that do not chemically react is the sum of the partial pressures of its components:
For a mixture of dry air and water vapor,
where pd is the partial pressure of dry air and e is the partial pressure of water vapor.
A gas’s partial pressure is the pressure it would exert if, at the mixture’s temperature, it alone occupied the entire volume occupied by the mixture. Thus, the dry air and water vapor are each assigned a partial pressure for the same total mixture volume, and those pressures add to the total pressure.
Dalton’s law provides the pressure relationship needed to account for water vapor while still applying the ideal-gas equation to each component.
Partial density and the density of moist air
Let moist air occupy a volume V and contain dry-air mass md and water-vapor mass mv. Its total density is
The component masses are both measured over the same mixture volume. Their contributions to the total density can therefore be written as
where:
ρd′=md/V is the partial density of dry air: the density dry air would have if its mass alone occupied the mixture volume;
ρv′=mv/V is the partial density of water vapor: the density water vapor would have if its mass alone occupied that volume.
These are component densities referenced to the common mixture volume. They are useful bookkeeping quantities; they do not mean that the gases occupy separate volumes within the mixture.
Applying the ideal-gas equation to each component gives
Virtual temperature
Why virtual temperature is useful
Moist air has a different effective gas constant from dry air because water vapor has a larger gas constant than dry air. Rather than repeatedly changing the gas constant used in calculations, atmospheric thermodynamics introduces virtual temperature, denoted Tv.
Virtual temperature represents moist air using the dry-air gas constant while preserving the moist air’s actual pressure and density:
Thus, Tv is the temperature dry air would need to have to match the density of moist air at the same pressure.
Deriving virtual temperature
For moist air, Dalton’s law gives
The total density is the sum of the two partial densities. Using the component gas laws,
Taking Rd outside the pressure terms and using ϵ=Rd/Rv gives
By the definition P=ρRdTv, the virtual temperature is
Since ϵ≈0.622, the factor 1−ϵ is approximately 0.378. The equation shows how the water-vapor partial pressure affects the virtual-temperature correction.
Interpreting the correction
For a given temperature and total pressure, adding water vapor lowers the density compared with dry air. This occurs because water vapor has a larger gas constant than dry air. Virtual temperature accounts for that lower density by assigning the moist air an equivalent dry-air temperature.
When water vapor is present, e/P is positive and the denominator in the virtual-temperature expression is less than one. Therefore,
The difference is often small under ordinary atmospheric conditions, but the correction can matter in calculations sensitive to air density. When moisture is negligible, Tv approaches the actual temperature T.

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