Depending on the model, some gas properties may be treated as constant with respect to altitude.
Ocean example If the density of a gas is persistent, then it isn't really behaving like a gas. Instead it is behaving like an
incompressible fluid, or
liquid, and this situation looks more like an ocean. Assuming density is constant, then a graph of pressure vs altitude will have a retained slope, since the weight of the ocean overhead is directly proportional to its depth.
Isothermal-barotropic approximation and scale height This atmospheric model assumes both molecular weight and temperature are constant over a wide range of altitude. Such a model may be called
isothermal (constant temperature). Inserting constant molecular weight and constant temperature into the equation for the
ideal gas law produces the result that density and pressure, the two remaining variables, depend only on each other. For this reason, this model may also be called
barotropic (density depends only on pressure). For the isothermal-barotropic model, density and pressure turn out to be exponential functions of altitude. The increase in altitude necessary for
P or
ρ to drop to 1/
e of its initial value is called the
scale height: :H = \frac{R T}{M g_0} where
R is the ideal gas constant,
T is temperature,
M is average molecular weight, and
g0 is the gravitational acceleration at the planet's surface. Using the values
T=273 K and
M=29 g/mol as characteristic of the Earth's atmosphere,
H =
RT/
Mg = (8.315*273)/(29*9.8) = 7.99, or about 8 km, which coincidentally is approximate height of
Mt. Everest. For an isothermal atmosphere, (1-\frac{1}{e}) or about 63% of the total mass of the atmosphere exists between the planet's surface and one scale height. (The total air mass below a certain altitude is calculated by integrating over the density function.) For the ocean example there was a sharp transition in density at the top or "surface" of the ocean. However, for atmospheres made of gas there is no equivalent sharp transition or edge. Gas atmospheres simply get less and less dense until they're so thin that they're space.
The U.S. Standard Atmosphere The U.S. Standard Atmosphere model starts with many of the same assumptions as the isothermal-barotropic model, including ideal gas behavior, and constant molecular weight, but it differs by defining a more realistic temperature function, consisting of eight data points connected by straight lines; i.e. regions of constant temperature gradient. (See graph.) Of course the real atmosphere does not have a temperature distribution with this exact shape. The temperature function is an approximation. Values for pressure and density are then calculated based on this temperature function, and the constant temperature gradients help to make some of the maths easier.
NASA Global Reference Atmospheric Model The NASA Earth Global Reference Atmospheric Model (Earth-GRAM) was developed by the
Marshall Space Flight Center to provide a design reference atmosphere that, unlike the standard atmospheres, allows for geographical variability, a wide range of altitudes (surface to orbital altitudes), and different months and times of day. It can also simulate spatial and temporal perturbations in atmospheric parameters due to turbulence and other atmospheric perturbation phenomena. It is available in computer code written in
Fortran. The GRAM series also includes atmospheric models for the planets
Venus,
Mars and
Neptune and the
Saturnian moon,
Titan. ==Geopotential altitude==