2.1 Thermodynamic Principles

Atmospheric thermodynamics applies the fundamental laws of thermodynamics to understand heat transfer, work, and energy transformations in the atmosphere.

First Law of Thermodynamics

$$dU = \delta Q - \delta W = \delta Q - p \, dV$$

Change in internal energy = heat added - work done

For an ideal gas:

Internal Energy

$$U = n c_v T$$

Enthalpy

$$H = U + pV = n c_p T$$

Heat Capacities

Specific Heat at Constant Pressure

cp = 1005 J/(kg·K) for dry air

Specific Heat at Constant Volume

cv = 718 J/(kg·K) for dry air

Ratio of Heat Capacities

$\gamma = c_p/c_v = 1.4$ for diatomic gases

Mayer's relation: $c_p - c_v = R_d$ (287 J/(kg·K) for dry air)

Specific Heat Relationships

$$c_p = \frac{\gamma}{\gamma - 1} R_d, \qquad c_v = \frac{1}{\gamma - 1} R_d$$

For dry air (\(\gamma = 1.4\)): $c_p = 3.5\,R_d = 1005$ J/(kg·K), $c_v = 2.5\,R_d = 718$ J/(kg·K)

Potential Temperature & Entropy

Poisson's Equation

$$\theta = T \left(\frac{p_0}{p}\right)^{R_d / c_p}$$

Potential temperature \(\theta\) is conserved during dry adiabatic processes. Here $p_0 = 1000$ hPa is the reference pressure and $R_d/c_p \approx 0.286$.

Entropy of Dry Air

$$ds = c_p \frac{dT}{T} - R_d \frac{dp}{p} = c_p \, d(\ln \theta)$$

Entropy is directly related to the logarithm of potential temperature — surfaces of constant \(\theta\) are isentropic surfaces.

Virtual Temperature

$$T_v = T\,(1 + 0.61\, w) \approx T\,(1 + 0.61\, q)$$

Accounts for water vapor making moist air less dense than dry air at the same T and p. Here $w$ is the mixing ratio (kg/kg).

Carnot Efficiency

$$\eta_{\max} = \frac{T_H - T_C}{T_H} = 1 - \frac{T_C}{T_H}$$

Upper bound on atmospheric heat engine efficiency. For $T_H = 300$ K (surface) and $T_C = 200$ K (tropopause): \(\eta \approx 33\%\).

Interactive Simulation: Potential Temperature & Adiabatic Processes

Python

Compares temperature and potential temperature profiles for different lapse rates (superadiabatic, dry adiabatic, standard, inversion, moist adiabatic). Shows how potential temperature reveals atmospheric stability.

potential_temperature.py78 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server