9.0
general documentation
Loading...
Searching...
No Matches
cs_atmo_profile_std.cpp File Reference
#include "base/cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft/bft_mem.h"
#include "atmo/cs_air_props.h"
#include "base/cs_base.h"
#include "base/cs_math.h"
#include "base/cs_physical_constants.h"
#include "atmo/cs_atmo_profile_std.h"
Include dependency graph for cs_atmo_profile_std.cpp:

Functions

void cs_atmo_profile_std (cs_real_t z_ref, cs_real_t p_ref, cs_real_t t_ref, cs_real_t z, cs_real_t *p, cs_real_t *t, cs_real_t *r)
 compute standard atmospheric profile (Holton p 374)

Detailed Description

Compute standard atmospheric profile.

Function Documentation

◆ cs_atmo_profile_std()

void cs_atmo_profile_std ( cs_real_t z_ref,
cs_real_t p_ref,
cs_real_t t_ref,
cs_real_t z,
cs_real_t * p,
cs_real_t * t,
cs_real_t * r )

compute standard atmospheric profile (Holton p 374)

Note:

  • standard pressure is 101325Pa
  • standard temperature is 288.15K
  • standard density is 1.225 kg/m^3
Parameters
[in]z_refreference altitude in m
[in]p_refreference pressure
[in]t_refreference temperature
[in]zabsolute altitude in m
[out]ppressure in Pa
[out]ttemperature in K
[out]rdensity in kg/m3