My Project
programmer's documentation
Data Structures | Functions | Variables
cs_ctwr_air_props.h File Reference
#include "cs_base.h"
Include dependency graph for cs_ctwr_air_props.h:

Go to the source code of this file.

Data Structures

struct  cs_ctwr_fluid_props_t
 

Functions

void CS_PROCF (xsath, XSATH)(const cs_real_t *th
 
void CS_PROCF (dxsath, DXSATH)(const cs_real_t *th
 
void CS_PROCF (rho_humidair, RHO_HUMIDAIR)(const cs_real_t *humid
 
void CS_PROCF (cp_humidair, CP_HUMIDAIR)(const cs_real_t *humid
 
void CS_PROCF (h_humidair, H_HUMIDAIR)(const cs_real_t *cp_humidair
 
void CS_PROCF (t_humidair, T_HUMIDAIR)(const cs_real_t *cp_humidair
 
void CS_PROCF (h_liqwater, H_LIQUWATER)(const cs_real_t *t_liqwater
 
void CS_PROCF (h_humidair_fixed, H_HUMIDAIR_FIXED)(const cs_real_t *x_air
 
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_tcs_glob_ctwr_props
 
void const cs_real_tp0
 
void const cs_real_t cs_real_txsat
 
void const cs_real_t cs_real_tdxsat
 
void const cs_real_tr0
 
void const cs_real_t const cs_real_t const cs_real_tt0
 
void const cs_real_t const cs_real_t const cs_real_t const cs_real_tmolmassrat
 
void const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_tt_h
 
void const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t cs_real_trho_humidair
 
void const cs_real_thumid_sat
 
void const cs_real_t cs_real_tcp_humidair
 
void const cs_real_thumid
 
void const cs_real_t const cs_real_t const cs_real_tt_humidair
 
void const cs_real_t const cs_real_t const cs_real_t cs_real_th_humidair
 
void cs_real_th_liqwater
 
void const cs_real_tt_air
 
void const cs_real_t cs_real_th_humidair_fixed
 

Function Documentation

◆ cs_ctwr_cp_humidair()

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.

Returns
specific heat of humid air
Parameters
[in]xabsolute humidity of humid air
[in]x_sabsolute humidity of saturated humid air

◆ cs_ctwr_dxsath()

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.

Returns
derivative of the humidity of saturated air
Parameters
[in]thtemperature in Celsius degree
[in]p0reference pressure

◆ cs_ctwr_enthair()

cs_real_t cs_ctwr_enthair ( const cs_real_t  xair,
const cs_real_t  tair 
)

Calculation of moist air mass enthalpy.

Returns
air mass enthalpy
Parameters
[in]xairabsolute humidity of saturated air
[in]tairair temperature in Celsius

◆ cs_ctwr_h_humidair()

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.

Returns
specific enthalpy of humid air
Parameters
[in]cp_hCp of humid air
[in]xabsolute humidity of humid air
[in]x_sabsolute humidity of saturated humid air
[in]t_htemperature of humid air in Celsius

◆ cs_ctwr_h_l()

cs_real_t cs_ctwr_h_l ( const cs_real_t  t_l)

Calculation water mass enthalpy.

Returns
Liquid water mass enthalpy
Parameters
[in]t_lwater temperature in Celsius degree

◆ cs_ctwr_h_liqwater()

cs_real_t cs_ctwr_h_liqwater ( const cs_real_t  t_l)

Calculation of the specific enthalpy of liquid water.

Returns
specific enthalpy of liquid water
Parameters
[in]t_lliquid water temperature (in Celsius)

◆ cs_ctwr_hvap()

cs_real_t cs_ctwr_hvap ( const cs_real_t  t_vap)

Calculation water vapour mass enthalpy.

Returns
water vapour mass enthalpy
Parameters
[in]t_vapwater vapour temperature in Celsius

◆ cs_ctwr_rho_humidair()

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.

Returns
density of humid air
Parameters
[in]xabsolute humidity of humid air
[in]rho0reference density of humid air
[in]p0reference pressure
[in]t0reference temperature of humid air
[in]molmassratdry air to water vapour molecular mass ratio
[in]t_htemperature of humid air in Celsius

◆ cs_ctwr_t_humidair()

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.

Returns
temperature of humid air (in Celsius)
Parameters
[in]cp_hCp of humid air
[in]xabsolute humidity of humid air
[in]x_sabsolute humidity of saturated humid air
[in]h_hhumid air enthalpy

◆ cs_ctwr_t_liqwater()

cs_real_t cs_ctwr_t_liqwater ( const cs_real_t  h_l)

Calculation of the temperature of liquid water.

Returns
liquid water temperature (in Celsius)
Parameters
[in]h_lspecific enthalpy of liquid water

◆ cs_ctwr_xsath()

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.

Returns
absolute humidity of saturated air
Parameters
[in]thtemperature in Celsius degree
[in]p0reference pressure

◆ CS_PROCF() [1/8]

void CS_PROCF ( cp_humidair  ,
CP_HUMIDAIR   
) const

◆ CS_PROCF() [2/8]

void CS_PROCF ( dxsath  ,
DXSATH   
) const

◆ CS_PROCF() [3/8]

void CS_PROCF ( h_humidair  ,
H_HUMIDAIR   
) const

◆ CS_PROCF() [4/8]

void CS_PROCF ( h_humidair_fixed  ,
H_HUMIDAIR_FIXED   
) const

◆ CS_PROCF() [5/8]

void CS_PROCF ( h_liqwater  ,
H_LIQUWATER   
) const

◆ CS_PROCF() [6/8]

void CS_PROCF ( rho_humidair  ,
RHO_HUMIDAIR   
) const

◆ CS_PROCF() [7/8]

void CS_PROCF ( t_humidair  ,
T_HUMIDAIR   
) const

◆ CS_PROCF() [8/8]

void CS_PROCF ( xsath  ,
XSATH   
) const

Variable Documentation

◆ cp_humidair

void const cs_real_t cs_real_t* cp_humidair

◆ cs_glob_ctwr_props

cs_ctwr_fluid_props_t* cs_glob_ctwr_props

◆ dxsat

void const cs_real_t cs_real_t* dxsat

◆ h_humidair

void const cs_real_t const cs_real_t const cs_real_t * h_humidair

◆ h_humidair_fixed

void const cs_real_t cs_real_t* h_humidair_fixed

◆ h_liqwater

void cs_real_t* h_liqwater

◆ humid

void const cs_real_t* humid

◆ humid_sat

void const cs_real_t const cs_real_t * humid_sat

◆ molmassrat

void const cs_real_t const cs_real_t const cs_real_t const cs_real_t* molmassrat

◆ p0

void const cs_real_t const cs_real_t * p0

◆ r0

void const cs_real_t* r0

◆ rho_humidair

void const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t cs_real_t* rho_humidair

◆ t0

void const cs_real_t const cs_real_t const cs_real_t* t0

◆ t_air

void const cs_real_t* t_air

◆ t_h

void const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t* t_h

◆ t_humidair

void const cs_real_t const cs_real_t const cs_real_t cs_real_t * t_humidair

◆ xsat

void const cs_real_t cs_real_t* xsat