1 #ifndef __CS_CTWR_AIR_PROPS_H__ 2 #define __CS_CTWR_AIR_PROPS_H__ cs_real_t cs_ctwr_t_liqwater(const cs_real_t h_liqwater)
Calculation of the temperature of liquid water.
Definition: cs_ctwr_air_props.c:727
void dxsath(const cs_real_t *th, const cs_real_t *p0, cs_real_t *dxsat)
Definition: cs_ctwr_air_props.c:150
cs_real_t lambda_l
Definition: cs_ctwr_air_props.h:59
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.
Definition: cs_ctwr_air_props.c:699
void h_liqwater(const cs_real_t *t_liqwater, cs_real_t *h_liqwater)
Definition: cs_ctwr_air_props.c:285
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.
Definition: cs_ctwr_air_props.c:637
void cp_humidair(const cs_real_t *humid, const cs_real_t *humid_sat, cs_real_t *cp_humidair)
Definition: cs_ctwr_air_props.c:205
cs_real_t droplet_diam
Definition: cs_ctwr_air_props.h:60
cs_real_t humidity0
Definition: cs_ctwr_air_props.h:52
#define BEGIN_C_DECLS
Definition: cs_defs.h:451
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.
Definition: cs_ctwr_air_props.c:487
cs_real_t lambda_h
Definition: cs_ctwr_air_props.h:58
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)
Definition: cs_ctwr_air_props.c:259
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.
Definition: cs_ctwr_air_props.c:668
cs_real_t cp_l
Definition: cs_ctwr_air_props.h:55
double cs_real_t
Floating-point value.
Definition: cs_defs.h:297
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)
Definition: cs_ctwr_air_props.c:177
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.
Definition: cs_ctwr_air_props.c:592
cs_real_t cp_v
Definition: cs_ctwr_air_props.h:54
cs_real_t cs_ctwr_hvap(const cs_real_t t_vap)
Calculation water vapour mass enthalpy.
Definition: cs_ctwr_air_props.c:464
void xsath(const cs_real_t *th, const cs_real_t *p0, cs_real_t *xsat)
Definition: cs_ctwr_air_props.c:127
cs_real_t cs_ctwr_h_liqwater(const cs_real_t t_liqwater)
Calculation of the specific enthalpy of liquid water.
Definition: cs_ctwr_air_props.c:747
cs_real_t rho_l
Definition: cs_ctwr_air_props.h:57
double precision, dimension(npot), save th
temperature (in K)
Definition: ppthch.f90:116
real(c_double), pointer, save p0
reference pressure for the total pressure.
Definition: cstphy.f90:169
cs_real_t cs_ctwr_heau(const cs_real_t teau)
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.
Definition: cs_ctwr_air_props.c:334
real(c_double), pointer, save t0
reference temperature.
Definition: cstphy.f90:216
cs_ctwr_fluid_props_t * cs_glob_ctwr_props
Definition: cs_ctwr_air_props.c:84
Definition: cs_field_pointer.h:188
cs_real_t cs_ctwr_enthair(const cs_real_t xair, const cs_real_t tair)
Calculation of moist air mass enthalpy.
Definition: cs_ctwr_air_props.c:422
void h_humidair_fixed(const cs_real_t *x_air, const cs_real_t *t_air, cs_real_t *h_humidair_fixed)
Definition: cs_ctwr_air_props.c:309
#define END_C_DECLS
Definition: cs_defs.h:452
Definition: cs_ctwr_air_props.h:50
#define CS_PROCF(x, y)
Definition: cs_defs.h:465
cs_real_t cp_a
Definition: cs_ctwr_air_props.h:53
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)
Definition: cs_ctwr_air_props.c:231
cs_real_t hv0
Definition: cs_ctwr_air_props.h:56