Expand description
The U.S. Standard Atmosphere, 1976, from −5 km to 86 km geometric altitude, with an optional temperature offset and sea-level pressure.
Source: U.S. Standard Atmosphere, 1976, NOAA-S/T 76-1562 (NOAA, NASA and USAF, Washington,
1976), part 1, pinned as us-std-atmosphere-1976. Equation, table and page numbers below are
that document’s. docs/physics/atmosphere.md has the details and the tests that pin them.
Model. Below 86 km the atmosphere is a sequence of layers in geopotential altitude H,
each with a constant gradient L_M,b of the molecular-scale temperature T_M (Table 4):
H = r₀ Z / (r₀ + Z) (18)
T_M = T_M,b + L_M,b (H − H_b) (23)
P = P_b [T_M,b / T_M]^(g₀′ M₀ / (R* L_M,b)) L_M,b ≠ 0 (33a)
P = P_b exp[−g₀′ M₀ (H − H_b) / (R* T_M,b)] L_M,b = 0 (33b)
ρ = P M₀ / (R* T_M) (42)
T = T_M M / M₀ (22)
a = (γ R* T_M / M₀)^½ (50)
μ = β T^(3/2) / (T + S) (51)Z is geometric altitude, T the kinetic temperature, and M/M₀ the molecular-weight ratio,
1 below 80 km and tabulated from 80 to 86 km (Table 8). The printed tables leave M/M₀ out
below 86 km and print T = T_M there (p. 9); this module follows the equations, so from 80 to
85.5 km its kinetic temperature is up to 0.036% and its viscosity up to 0.031% below the printed
values.
Offsets. Ussa76::with_offset adds a constant ΔT to T_M at every geopotential height
and integrates the hydrostatic equation from a chosen sea-level pressure, so pressure and
density stay consistent with the warmer or colder temperature. With ΔT = 0 and
P₀ = 101325 Pa it is the standard itself. Ussa76::anchored picks ΔT and P₀ to pass
through a measured temperature and pressure at one height, such as the launch site.
Outside −5 km to 86 km the model extends the lowest layer downward and continues isothermally above 86 km, and flags every such sample as extrapolated. The real standard is also isothermal (186.87 K) from 86 to 91 km and warms above that, and its composition changes above 86 km, so pressure and density there are rough.
Structs§
- Ussa76
- The U.S. Standard Atmosphere, 1976, optionally offset in temperature and sea-level pressure.
Constants§
- DRY_
AIR_ GAS_ CONSTANT_ J_ PER_ KG_ K - Specific gas constant of dry air,
R* / M₀, J/(kg·K). - EARTH_
RADIUS_ M - Effective Earth radius
r₀for geopotential altitude, m (pp. 4 and 8). - GAS_
CONSTANT_ J_ PER_ KMOL_ K - Universal gas constant
R*as the 1976 standard adopts it, J/(kmol·K) (p. 3; Table 2 on p. 2 misprints the exponent’s sign). It is not the current CODATA value (8.314462…e3); the standard’s tables are computed with this one. - MAX_
HEIGHT_ M - Highest geometric altitude of the model, m. Above this the standard uses a different formulation, which this crate does not implement.
- MIN_
HEIGHT_ M - Lowest geometric altitude the standard defines, m.
- RATIO_
OF_ SPECIFIC_ HEATS - Ratio of specific heats of air
γ(Table 2). - SEA_
LEVEL_ MOLECULAR_ WEIGHT_ KG_ PER_ KMOL - Sea-level mean molecular weight of air
M₀, kg/kmol (p. 9, eq. 21). - SEA_
LEVEL_ PRESSURE_ PA - Sea-level pressure
P₀, Pa (Table 2). - SEA_
LEVEL_ TEMPERATURE_ K - Sea-level temperature
T₀, K (Table 2). - SUTHERLAND_
BETA - Sutherland’s constant
βfor the viscosity of air, kg/(s·m·K^½) (Table 2 and p. 19). - SUTHERLAND_
S_ K - Sutherland’s constant
Sfor the viscosity of air, K (p. 19). Table 2 and p. 4 print 110 K, but the tables are computed with 110.4 K: sea-level viscosity is 1.7894e-5 Pa·s with it and 1.7912e-5 with 110.
Functions§
- geometric_
from_ geopotential_ m - Geometric altitude
Z(m) from geopotential altitudeH(m′), the inverse of eq. 18:Z = r₀ H / (r₀ − H).Hmust be belowr₀, the geopotential altitude of infinity. - geopotential_
from_ geometric_ m - Geopotential altitude
H(m′) from geometric altitudeZ(m), eq. 18, with the standard’s constantg₀and effective radiusr₀. Heights at or below−r₀have no geopotential. - sutherland_
viscosity_ pa_ s - Dynamic viscosity of air by Sutherland’s law with the 1976 standard’s constants, eq. 51:
μ = β T^(3/2) / (T + S), Pa·s, for kinetic temperatureTin K.