#include "cs_base.h"Go to the source code of this file.
Data Structures | |
| struct | cs_air_fluid_props_t |
Functions | |
| cs_real_t | cs_air_h_l (cs_real_t t_l) |
| Calculation water mass enthalpy. | |
| cs_real_t | cs_air_hvap (cs_real_t t_vap) |
| Calculation water vapor mass enthalpy. | |
| cs_real_t | cs_air_dxsath (cs_real_t th, cs_real_t p0) |
| Calculation of the derivate of the absolute humidity at saturation. | |
| cs_real_t | cs_air_cp_humidair (cs_real_t x, cs_real_t x_s) |
| Calculation of the Cp of humid air. | |
| cs_real_t | cs_air_h_humidair (cs_real_t cp_h, cs_real_t x, cs_real_t x_s, cs_real_t t_h) |
| Calculation of the specific enthalpy of humid air. | |
| cs_real_t | cs_air_t_humidair (cs_real_t cp_h, cs_real_t x, cs_real_t x_s, cs_real_t h_h) |
| Calculation of the temperature of humid air. | |
| cs_real_t | cs_liq_h_to_t (cs_real_t h_l) |
| Calculation of the temperature of liquid water. | |
| cs_real_t | cs_liq_t_to_h (cs_real_t t_l) |
| Calculation of the specific enthalpy of liquid water. | |
| cs_real_t | cs_air_x_sat (cs_real_t t_c, cs_real_t p) |
| Calculation of the air humidity at saturation for a given temperature. | |
| cs_real_t | cs_air_yw_sat (cs_real_t t_c, cs_real_t p) |
| Calculation of the air water mass fraction at saturation for a given temperature. | |
| cs_real_t | cs_air_pwv_sat (cs_real_t t_c) |
| Computes the saturation water vapor pressure function of the temperature (in Celsius) | |
| cs_real_t | cs_air_x_to_yw (const cs_real_t x) |
| Convert the absolute humidity of humid air to the air water mass fraction qwt = Ym = mw/mh. | |
| cs_real_t | cs_air_yw_to_x (cs_real_t qw) |
| Convert the air water mass fraction qwt = Ym = mw/mh to the absolute humidity of humid air. | |
| void | cs_rho_humidair (cs_real_t yw_h, cs_real_t t_liq, cs_real_t p, cs_real_t *yw_liq, cs_real_t *t_h, cs_real_t *rho_h, cs_real_t *beta_h) |
| Calculation of the density of humid air. | |
| cs_real_t | cs_air_rho_humidair (cs_real_t x, cs_real_t rho0, cs_real_t p0, cs_real_t t0, cs_real_t molmassrat, cs_real_t t_h) |
| Calculation of the density of humid air. | |
Variables | |
| cs_air_fluid_props_t * | cs_glob_air_props |
Calculation of the Cp of humid air.
| [in] | x | absolute humidity of humid air |
| [in] | x_s | absolute humidity of saturated humid air |
Calculation of the derivate of the absolute humidity at saturation.
| [in] | th | temperature in Celsius degree |
| [in] | p0 | reference pressure |
Calculation of the specific enthalpy of humid air.
| [in] | cp_h | Cp of humid air |
| [in] | x | absolute humidity of humid air |
| [in] | x_s | absolute humidity of saturated humid air |
| [in] | t_h | temperature of humid air in Celsius |
Calculation water mass enthalpy.
| [in] | t_l | water temperature in Celsius degree |
Calculation water vapor mass enthalpy.
| [in] | t_vap | water vapor temperature in Celsius |
Computes the saturation water vapor pressure function of the temperature (in Celsius)
| [in] | t_c | temperature in Celsius degree |
| cs_real_t cs_air_rho_humidair | ( | cs_real_t | x, |
| cs_real_t | rho0, | ||
| cs_real_t | p0, | ||
| cs_real_t | t0, | ||
| cs_real_t | molmassrat, | ||
| cs_real_t | t_h ) |
Calculation of the density of humid air.
| [in] | x | absolute humidity of humid air |
| [in] | rho0 | reference density of humid air |
| [in] | p0 | reference pressure |
| [in] | t0 | reference temperature of humid air |
| [in] | molmassrat | dry air to water vapor molecular mass ratio |
| [in] | t_h | temperature of humid air in Celsius |
Calculation of the temperature of humid air.
| [in] | cp_h | Cp of humid air |
| [in] | x | absolute humidity of humid air |
| [in] | x_s | absolute humidity of saturated humid air |
| [in] | h_h | humid air enthalpy |
Calculation of the air humidity at saturation for a given temperature.
| [in] | t_c | temperature in Celsius degree |
| [in] | p | reference pressure |
Convert the absolute humidity of humid air to the air water mass fraction qwt = Ym = mw/mh.
| [in] | x | absolute humidity of humid air |
Calculation of the air water mass fraction at saturation for a given temperature.
| [in] | t_c | temperature in Celsius degree |
| [in] | p | reference pressure |
Convert the air water mass fraction qwt = Ym = mw/mh to the absolute humidity of humid air.
| [in] | qw | air water mass fraction |
Calculation of the temperature of liquid water.
| [in] | h_l | specific enthalpy of liquid water |
Calculation of the specific enthalpy of liquid water.
| [in] | t_l | liquid water temperature (in Celsius) |
| void cs_rho_humidair | ( | cs_real_t | yw_h, |
| cs_real_t | theta_l, | ||
| cs_real_t | p, | ||
| cs_real_t * | yw_liq, | ||
| cs_real_t * | t_h, | ||
| cs_real_t * | rho_h, | ||
| cs_real_t * | beta_h ) |
Calculation of the density of humid air.
| [in] | yw_h | air water mass fraction |
| [in] | theta_l | liquid potential temperature (K) |
| [in] | p | pressure |
| [out] | yw_liq | liquid water mass fraction |
| [out] | t_h | temperature of humid air in Celsius |
| [out] | rho_h | density of humid air |
| [out] | beta_h | thermal expansion of the bulk |
|
extern |