|
programmer's documentation
|
#include "cs_defs.h"#include <assert.h>#include <math.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "bft_mem.h"#include "cs_base.h"#include "cs_physical_constants.h"#include "cs_ctwr_air_props.h"
Functions | |
| void | cs_ctwr_glob_properties_get_pointer (double **humidity0, double **cp_a, double **cp_v, double **cp_l, double **hv0, double **rho_l, double **lambda_h, double **lambda_l, double **droplet_diam) |
| 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 *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, cs_real_t *rho_humidair) |
| void | cp_humidair (const cs_real_t *x, const cs_real_t *x_s, cs_real_t *cp_humidair) |
| void | h_humidair (const cs_real_t *cp_humidair, const cs_real_t *x, const cs_real_t *x_s, const cs_real_t *t_humidair, cs_real_t *h_humidair) |
| void | t_humidair (const cs_real_t *cp_humidair, const cs_real_t *x, const cs_real_t *x_s, 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 x, const cs_real_t x_s) |
| 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 x, const cs_real_t x_s, 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 x, const cs_real_t x_s, 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_l) |
| Calculation of the temperature of liquid water. More... | |
| cs_real_t | cs_ctwr_h_liqwater (const cs_real_t t_l) |
| Calculation of the specific enthalpy of liquid water. More... | |
Variables | |
| cs_ctwr_fluid_props_t * | cs_glob_ctwr_props = &_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 |
| void cs_ctwr_glob_properties_get_pointer | ( | double ** | humidity0, |
| double ** | cp_a, | ||
| double ** | cp_v, | ||
| double ** | cp_l, | ||
| double ** | hv0, | ||
| double ** | rho_l, | ||
| double ** | lambda_h, | ||
| double ** | lambda_l, | ||
| double ** | droplet_diam | ||
| ) |
| 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 * | x, | ||
| const cs_real_t * | x_s, | ||
| 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 * | 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, | ||
| cs_real_t * | rho_humidair | ||
| ) |
| void t_humidair | ( | const cs_real_t * | cp_humidair, |
| const cs_real_t * | x, | ||
| const cs_real_t * | x_s, | ||
| const cs_real_t * | h_humidair, | ||
| cs_real_t * | t_humidair | ||
| ) |
| cs_ctwr_fluid_props_t* cs_glob_ctwr_props = &_props |
1.8.13