Inclusion of Moisture
Defining
as the mass of water species
, then
the total air mass or density of a volume of moist air is defined as
 |
(22) |
where
represents the dry air density.
The total air inverse density,
, (i.e. including moisture) is related to the dry air
density through the ratio
 |
(23) |
where the mixing ratio for water species
is
(for
total water species) and
is the total water mass
(sum of all water component mixing ratios).
The thermodynamic equation (Eq. 13)
is now modified by simply replacing
by
(which is
a thermodynamic variable used in some models often
referred to as the density potential temperature).
This thermodynamic variable is defined as
 |
(24) |
where
and
represent the gas constants for dry air and water vapor,
respectively.
is a moist potential temperature which depends on
water vapor alone (it is used in WRFv4 as the internal energy variable
for example).
Here we call
the density temperature factor.
Note that
includes all suspended water species
(in addition to water vapor: this is in contrast to the so-called
virtual temperature which only includes water vapor effects).
The pressure (Eq. 7)
including the effect of moisture is now given by
 |
(25) |
thus increases in water lead to corresponding decreases in the inverse density.
Note that pressure can also be expressed in terms of the other aforementioned
thermodynamic variables as