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:744
void dxsath(const cs_real_t *th, const cs_real_t *p0, cs_real_t *dxsat)
Definition: cs_ctwr_air_props.c:165
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:716
void h_liqwater(const cs_real_t *t_liqwater, cs_real_t *h_liqwater)
Definition: cs_ctwr_air_props.c:300
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:652
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:220
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:467
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:502
cs_real_t lambda_h
Definition: cs_ctwr_air_props.h:58
cs_real_t cs_ctwr_h_l(const cs_real_t t_l)
Calculation water mass enthalpy.
Definition: cs_ctwr_air_props.c:461
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:274
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:683
cs_real_t cp_l
Definition: cs_ctwr_air_props.h:55
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
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:192
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:607
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:479
void xsath(const cs_real_t *th, const cs_real_t *p0, cs_real_t *xsat)
Definition: cs_ctwr_air_props.c:142
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:764
Definition: cs_field_pointer.h:203
cs_real_t rho_l
Definition: cs_ctwr_air_props.h:57
double precision, dimension(npot), save th
temperature (in K)
Definition: ppthch.f90:118
real(c_double), pointer, save p0
reference pressure for the total pressure.
Definition: cstphy.f90:163
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:349
real(c_double), pointer, save t0
reference temperature.
Definition: cstphy.f90:210
cs_ctwr_fluid_props_t * cs_glob_ctwr_props
Definition: cs_ctwr_air_props.c:84
Definition: cs_field_pointer.h:201
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:437
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:324
#define END_C_DECLS
Definition: cs_defs.h:468
Definition: cs_ctwr_air_props.h:50
#define CS_PROCF(x, y)
Definition: cs_defs.h:481
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:246
cs_real_t hv0
Definition: cs_ctwr_air_props.h:56