Vulcan
Aerospace Engineering Utilities Built on Janus
Loading...
Searching...
No Matches
ExponentialAtmosphere.hpp File Reference
#include <janus/janus.hpp>
Include dependency graph for ExponentialAtmosphere.hpp:

Go to the source code of this file.

Classes

struct  vulcan::exponential_atmosphere::AtmosphericState< Scalar >
 Complete atmospheric state at a given altitude. More...

Namespaces

namespace  vulcan
namespace  vulcan::exponential_atmosphere

Functions

template<typename Scalar>
Scalar vulcan::exponential_atmosphere::density (const Scalar &altitude, double scale_height=DEFAULT_SCALE_HEIGHT)
 Exponential atmosphere - Density.
template<typename Scalar>
Scalar vulcan::exponential_atmosphere::pressure (const Scalar &altitude, double scale_height=DEFAULT_SCALE_HEIGHT)
 Exponential atmosphere - Pressure.
template<typename Scalar>
Scalar vulcan::exponential_atmosphere::temperature (const Scalar &altitude, double scale_height=DEFAULT_SCALE_HEIGHT)
 Exponential atmosphere - Temperature.
template<typename Scalar>
Scalar vulcan::exponential_atmosphere::speed_of_sound (const Scalar &altitude, double scale_height=DEFAULT_SCALE_HEIGHT)
 Exponential atmosphere - Speed of Sound.
template<typename Scalar>
AtmosphericState< Scalar > vulcan::exponential_atmosphere::state (const Scalar &altitude, double scale_height=DEFAULT_SCALE_HEIGHT)
 Exponential atmosphere - Complete atmospheric state.
double vulcan::exponential_atmosphere::compute_scale_height (double temperature=T_0, double gravity=G_0)
 Compute scale height from reference conditions.
template<typename Scalar>
Scalar vulcan::exponential_atmosphere::altitude_from_density (const Scalar &rho, double scale_height=DEFAULT_SCALE_HEIGHT)
 Compute altitude from density.
template<typename Scalar>
Scalar vulcan::exponential_atmosphere::altitude_from_pressure (const Scalar &P, double scale_height=DEFAULT_SCALE_HEIGHT)
 Compute altitude from pressure.

Variables

constexpr double vulcan::exponential_atmosphere::RHO_0 = 1.225
 Sea-level reference density [kg/m³].
constexpr double vulcan::exponential_atmosphere::P_0 = 101325.0
 Sea-level reference pressure [Pa].
constexpr double vulcan::exponential_atmosphere::T_0 = 288.15
 Sea-level reference temperature [K].
constexpr double vulcan::exponential_atmosphere::DEFAULT_SCALE_HEIGHT = 8500.0
constexpr double vulcan::exponential_atmosphere::G_0 = 9.80665
 Sea-level gravitational acceleration [m/s²].
constexpr double vulcan::exponential_atmosphere::R_AIR = 287.058
 Specific gas constant for air [J/(kg·K)].
constexpr double vulcan::exponential_atmosphere::GAMMA = 1.4
 Ratio of specific heats for air (γ = Cp/Cv).