Path: Interplanetary/Environment
% Computes Mars atmospheric properties from altitude
Includes density, temperature, pressure, viscosity, speed of sound.
For h > 100 km the temperature is kept constant.
Type MarsAtmosphereProperties for a demo.
--------------------------------------------------------------------------
Form:
MarsAtmosphereProperties; % demo
p = MarsAtmosphereProperties( h )
--------------------------------------------------------------------------
------
Inputs
------
h (1,:) Altitude (km)
-------
Outputs
-------
p (.) Data structure
.density (1,:) Density (kg/m^3)
.temperature (1,:) Tempefrature (deg-K)
.pressure (1,:) Pressure (N/m^2)
.speedOfSound (1,:) Speed of sound (m/s)
.kinematicViscosity (1,:) Kinematic viscosity (m^2/s)
--------------------------------------------------------------------------
See also: AtmDensMars2
--------------------------------------------------------------------------
Reference: NIST: Viscosity of gases, Marcia L. Huber and Allan H. Harvey, 2011
--------------------------------------------------------------------------
Interplanetary: Environment/AtmDensMars2 Propulsion: Gas/SpeedSnd Common: Graphics/Plot2D
Back to the Interplanetary Module page