@wikipedia


Motivation



Ideal Gas Static Vertical Pressure Variation


Output



Input


Logging reference point (usually at surface)

Standard gravity constant


Equation


p(z) = p_0 \cdot \exp \left[ - \frac{\rho_0 \, g}{p_0} \cdot (z-z_0) \right]

where


Logging reference point (usually at surface)


Standard gravity constant


Alternative form


p(z) = p_0 \cdot \exp \left[ - \frac{M }{R \, T} \cdot (z-z_0) \right]

where

Logging reference point (usually at surface)

Standard gravity constant



Gas constant



Following Ideal Gas Equation of State:

\frac{\rho_0}{p_0} =\frac{M}{R \, T}




See also


Physics / Mechanics / Continuum mechanics / Fluid Mechanics / Fluid Statics

Fluid Dynamics ]