altitude2density: Compute density in International Standard Atmopshere

Description Usage Arguments Details Value Author(s) References Examples

View source: R/altitude2density.R

Description

This function computes the air density at a specified altitude in the Troposphere of the International Standard Atmosphere.

Usage

1
altitude2density(altitude = 0)

Arguments

altitude

(geopotential) altitude in meters above sealevel.

Details

rho = rho0*(1 + a*altitude/T0)^-(g0/R/a + 1) with rho0 = 1.225 kg/m3, a = -0.0065 K/m, altitude geopotential altitude in meters, g0 = 9.80665 m/s2, and R = 287.1 J/Kg/K.

Value

Numerical value or array for the density in kg/m3

Author(s)

M. Klein Heerenbrink

References

U.S. Standard Atmosphere, 1976, U.S. Government Printing Office, Washington, D.C.

Examples

1
2
altitude <- seq(0,3000,100) # meters above sealevel
density <- altitude2density(altitude)

afpt documentation built on Sept. 2, 2017, 1:06 a.m.