![]() |
programmer's documentation
|
#include "cs_base.h"
Go to the source code of this file.
Data Structures | |
struct | cs_ctwr_fluid_props_t |
Functions | |
void | xsath (const cs_real_t *th, const cs_real_t *p0, cs_real_t *xsat) |
void | dxsath (const cs_real_t *th, const cs_real_t *p0, cs_real_t *dxsat) |
void | rho_humidair (const cs_real_t *humid, const cs_real_t *r0, const cs_real_t *p0, const cs_real_t *t0, const cs_real_t *molmassrat, const cs_real_t *t_h, cs_real_t *rho_humidair) |
void | cp_humidair (const cs_real_t *humid, const cs_real_t *humid_sat, cs_real_t *cp_humidair) |
void | h_humidair (const cs_real_t *cp_humidair, const cs_real_t *humid, const cs_real_t *humid_sat, const cs_real_t *t_humidair, cs_real_t *h_humidair) |
void | t_humidair (const cs_real_t *cp_humidair, const cs_real_t *humid, const cs_real_t *humid_sat, const cs_real_t *h_humidair, cs_real_t *t_humidair) |
void | h_liqwater (const cs_real_t *t_liqwater, cs_real_t *h_liqwater) |
void | h_humidair_fixed (const cs_real_t *x_air, const cs_real_t *t_air, cs_real_t *h_humidair_fixed) |
cs_real_t | cs_ctwr_xsath (const cs_real_t th, const cs_real_t p0) |
Calculation of the air humidity at saturation for a given temperature. More... | |
cs_real_t | cs_ctwr_enthair (const cs_real_t xair, const cs_real_t tair) |
Calculation of moist air mass enthalpy. More... | |
cs_real_t | cs_ctwr_h_l (const cs_real_t t_l) |
Calculation water mass enthalpy. More... | |
cs_real_t | cs_ctwr_hvap (const cs_real_t t_vap) |
Calculation water vapour mass enthalpy. More... | |
cs_real_t | cs_ctwr_dxsath (const cs_real_t th, const cs_real_t p0) |
Calculation of the derivate of the absolute humidity at saturation. More... | |
cs_real_t | cs_ctwr_rho_humidair (const cs_real_t x, const cs_real_t rho0, const cs_real_t p0, const cs_real_t t0, const cs_real_t molmassrat, const cs_real_t t_h) |
Calculation of the density of humid air. More... | |
cs_real_t | cs_ctwr_cp_humidair (const cs_real_t humid, const cs_real_t humid_sat) |
Calculation of the Cp of humid air. More... | |
cs_real_t | cs_ctwr_h_humidair (const cs_real_t cp_h, const cs_real_t humid, const cs_real_t humid_sat, const cs_real_t t_h) |
Calculation of the specific enthalpy of humid air. More... | |
cs_real_t | cs_ctwr_t_humidair (const cs_real_t cp_h, const cs_real_t humid, const cs_real_t humid_sat, const cs_real_t h_h) |
Calculation of the temperature of humid air. More... | |
cs_real_t | cs_ctwr_t_liqwater (const cs_real_t h_liqwater) |
Calculation of the temperature of liquid water. More... | |
cs_real_t | cs_ctwr_h_liqwater (const cs_real_t t_liqwater) |
Calculation of the specific enthalpy of liquid water. More... | |
Variables | |
cs_ctwr_fluid_props_t * | cs_glob_ctwr_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 moist air mass enthalpy.
[in] | xair | absolute humidity of saturated air |
[in] | tair | air temperature in Celsius |
cs_real_t cs_ctwr_h_humidair | ( | const cs_real_t | cp_h, |
const cs_real_t | x, | ||
const cs_real_t | x_s, | ||
const cs_real_t | t_h | ||
) |
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 of the specific enthalpy of liquid water.
[in] | t_l | liquid water temperature (in Celsius) |
Calculation water vapour mass enthalpy.
[in] | t_vap | water vapour temperature in Celsius |
cs_real_t cs_ctwr_rho_humidair | ( | const cs_real_t | x, |
const cs_real_t | rho0, | ||
const cs_real_t | p0, | ||
const cs_real_t | t0, | ||
const cs_real_t | molmassrat, | ||
const 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 vapour molecular mass ratio |
[in] | t_h | temperature of humid air in Celsius |
cs_real_t cs_ctwr_t_humidair | ( | const cs_real_t | cp_h, |
const cs_real_t | x, | ||
const cs_real_t | x_s, | ||
const cs_real_t | h_h | ||
) |
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 temperature of liquid water.
[in] | h_l | specific enthalpy of liquid water |
Calculation of the air humidity at saturation for a given temperature.
[in] | th | temperature in Celsius degree |
[in] | p0 | reference pressure |
void h_humidair | ( | const cs_real_t * | cp_humidair, |
const cs_real_t * | humid, | ||
const cs_real_t * | humid_sat, | ||
const cs_real_t * | t_humidair, | ||
cs_real_t * | h_humidair | ||
) |
void h_humidair_fixed | ( | const cs_real_t * | x_air, |
const cs_real_t * | t_air, | ||
cs_real_t * | h_humidair_fixed | ||
) |
void rho_humidair | ( | const cs_real_t * | humid, |
const cs_real_t * | r0, | ||
const cs_real_t * | p0, | ||
const cs_real_t * | t0, | ||
const cs_real_t * | molmassrat, | ||
const cs_real_t * | t_h, | ||
cs_real_t * | rho_humidair | ||
) |
void t_humidair | ( | const cs_real_t * | cp_humidair, |
const cs_real_t * | humid, | ||
const cs_real_t * | humid_sat, | ||
const cs_real_t * | h_humidair, | ||
cs_real_t * | t_humidair | ||
) |
cs_ctwr_fluid_props_t* cs_glob_ctwr_props |