1 #ifndef __CS_AIR_PROPS_H__
2 #define __CS_AIR_PROPS_H__
cs_real_t cs_liq_h_to_t(cs_real_t h_l)
Calculation of the temperature of liquid water.
Definition: cs_air_props.c:352
cs_air_fluid_props_t * cs_glob_air_props
Definition: cs_air_props.c:87
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.
Definition: cs_air_props.c:434
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.
Definition: cs_air_props.c:394
cs_real_t cs_air_cp_humidair(cs_real_t x, cs_real_t x_s)
Calculation of the Cp of humid air.
Definition: cs_air_props.c:260
cs_real_t cs_liq_t_to_h(cs_real_t t_l)
Calculation of the specific enthalpy of liquid water.
Definition: cs_air_props.c:373
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.
Definition: cs_air_props.c:534
cs_real_t cs_air_h_l(cs_real_t t_l)
Calculation water mass enthalpy.
Definition: cs_air_props.c:125
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.
Definition: cs_air_props.c:644
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.
Definition: cs_air_props.c:555
void cs_rho_humidair(cs_real_t ywm, cs_real_t t_liq, cs_real_t p, cs_real_t *yw_liq, cs_real_t *t_h, cs_real_t *rho_h)
Calculation of the density of humid air.
Definition: cs_air_props.c:580
cs_real_t cs_air_hvap(cs_real_t t_vap)
Calculation water vapor mass enthalpy.
Definition: cs_air_props.c:143
cs_real_t cs_air_dxsath(cs_real_t th, cs_real_t p0)
Calculation of the derivate of the absolute humidity at saturation.
Definition: cs_air_props.c:167
cs_real_t cs_air_pwv_sat(cs_real_t t_c)
Computes the saturation water vapor pressure function of the temperature (in Celsius)
Definition: cs_air_props.c:459
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.
Definition: cs_air_props.c:324
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.
Definition: cs_air_props.c:291
#define BEGIN_C_DECLS
Definition: cs_defs.h:514
double cs_real_t
Floating-point value.
Definition: cs_defs.h:319
#define END_C_DECLS
Definition: cs_defs.h:515
@ h_l
Definition: cs_field_pointer.h:202
@ p
Definition: cs_field_pointer.h:67
@ t_l
Definition: cs_field_pointer.h:201
double precision, dimension(:,:,:), allocatable qw
Definition: atimbr.f90:109
real(c_double), pointer, save p0
reference pressure for the total pressure.
Definition: cstphy.f90:170
real(c_double), pointer, save t0
reference temperature.
Definition: cstphy.f90:217
double precision, dimension(npot), save th
temperature (in K)
Definition: ppthch.f90:119
Definition: cs_air_props.h:50
cs_real_t cp_l
Definition: cs_air_props.h:55
cs_real_t cp_v
Definition: cs_air_props.h:54
cs_real_t humidity0
Definition: cs_air_props.h:52
cs_real_t sigma
Definition: cs_air_props.h:63
cs_real_t droplet_diam
Definition: cs_air_props.h:60
cs_real_t lambda_l
Definition: cs_air_props.h:59
cs_real_t molmass_rat
Definition: cs_air_props.h:61
cs_real_t rho_l
Definition: cs_air_props.h:57
cs_real_t cp_a
Definition: cs_air_props.h:53
cs_real_t lambda_h
Definition: cs_air_props.h:58
cs_real_t hv0
Definition: cs_air_props.h:56