1 #ifndef __CS_WALL_CONDENSATION_H__
2 #define __CS_WALL_CONDENSATION_H__
#define BEGIN_C_DECLS
Definition: cs_defs.h:509
double cs_real_t
Floating-point value.
Definition: cs_defs.h:319
#define END_C_DECLS
Definition: cs_defs.h:510
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:313
void cs_wall_condensation_free(void)
Free all structures related to wall condensation models.
Definition: cs_wall_condensation.c:937
void cs_wall_condensation_source_terms(const cs_field_t *f, cs_lnum_t ncmast, const cs_lnum_t ltmast[], const cs_lnum_t itypst[], const cs_real_t spcondp[], const cs_real_t gam_s[], const cs_real_t svcondp[], const cs_real_t gam_ms[], const cs_real_t fluxv_ms[], const cs_real_t pvara[], cs_real_t st_exp[], cs_real_t st_imp[])
Definition: cs_wall_condensation.c:1091
cs_wall_cond_forced_conv_model_t
Definition: cs_wall_condensation.h:51
@ CS_WALL_COND_MODEL_SCHLICHTING
Definition: cs_wall_condensation.h:53
@ CS_WALL_COND_MODEL_WALL_LAW
Definition: cs_wall_condensation.h:52
cs_wall_cond_natural_conv_model_t
Definition: cs_wall_condensation.h:44
@ CS_WALL_COND_MODEL_COPAIN_BD
Definition: cs_wall_condensation.h:46
@ CS_WALL_COND_MODEL_DEHBI
Definition: cs_wall_condensation.h:48
@ CS_WALL_COND_MODEL_COPAIN
Definition: cs_wall_condensation.h:45
@ CS_WALL_COND_MODEL_UCHIDA
Definition: cs_wall_condensation.h:47
cs_wall_cond_mixed_conv_model_t
Definition: cs_wall_condensation.h:56
@ CS_WALL_COND_MIXED_INCROPERA
Definition: cs_wall_condensation.h:58
@ CS_WALL_COND_MIXED_MAX
Definition: cs_wall_condensation.h:57
cs_wall_cond_t * cs_get_glob_wall_cond(void)
Provide writable access to _wall_cond structure.
Definition: cs_wall_condensation.c:812
void cs_wall_condensation_log(void)
Output statistics about wall condensation source terms (for user log)
Definition: cs_wall_condensation.c:1016
void cs_wall_condensation_set_onoff_state(int icondb, int icondv)
Set the onoff state of wall condensation modeling.
Definition: cs_wall_condensation.c:842
void cs_wall_condensation_create(cs_lnum_t nfbpcd, cs_lnum_t nzones, cs_lnum_t nvar)
Create the context for wall condensation models.
Definition: cs_wall_condensation.c:860
void cs_wall_condensation_compute(cs_real_t total_htc[])
Compute the wall condensation source terms.
Definition: cs_wall_condensation.c:967
const cs_wall_cond_t * cs_glob_wall_cond
Definition: cs_wall_condensation.c:147
void cs_wall_condensation_set_model(cs_wall_cond_natural_conv_model_t model)
Set the wall condensation model.
Definition: cs_wall_condensation.c:826
integer, save ncmast
number of the ncmast cells in which a condensation source terms is imposed. See lstmast list and the ...
Definition: pointe.f90:218
integer, dimension(:), allocatable ltmast
list on the ncmast cells in which a condensation source terms is imposed. See the user subroutine cs_...
Definition: pointe.f90:222
integer, dimension(:,:), allocatable itypst
type of condensation source terms for each variable
Definition: pointe.f90:232
integer(c_int), pointer, save nzones
number of the zones with a specific condensation source terms depending on the wall temperature and m...
Definition: cs_nz_condensation.f90:102
integer(c_int), pointer, save nfbpcd
number of faces in which a condensation source terms is imposed. See ifbpcd and the user subroutine c...
Definition: cs_nz_condensation.f90:55
integer, save nvar
number of solved variables (must be lower than nvarmx)
Definition: dimens.f90:42
integer(c_int), pointer, save icondv
Specific condensation modelling if = -1 module not activated if = 0 condensation source terms with me...
Definition: ppincl.f90:298
integer(c_int), pointer, save icondb
Specific condensation modelling if = -1 module not activated if = 0 condensation source terms activat...
Definition: ppincl.f90:285
Field descriptor.
Definition: cs_field.h:130
Definition: cs_wall_condensation.h:61
cs_real_t * ztpar
Definition: cs_wall_condensation.h:90
cs_wall_cond_forced_conv_model_t forced_conv_model
Definition: cs_wall_condensation.h:67
cs_lnum_t * izzftcd
Definition: cs_wall_condensation.h:74
int icondb
Definition: cs_wall_condensation.h:62
cs_real_t * hpcond
Definition: cs_wall_condensation.h:76
cs_real_t * zprojcond
Definition: cs_wall_condensation.h:92
cs_lnum_t * iztag1d
Definition: cs_wall_condensation.h:89
int icondv
Definition: cs_wall_condensation.h:63
cs_real_t * convective_htc
Definition: cs_wall_condensation.h:79
cs_lnum_t * itypcd
Definition: cs_wall_condensation.h:73
cs_wall_cond_mixed_conv_model_t mixed_conv_model
Definition: cs_wall_condensation.h:68
cs_real_t * flthr
Definition: cs_wall_condensation.h:82
cs_real_t * thermal_condensation_flux
Definition: cs_wall_condensation.h:78
cs_wall_cond_natural_conv_model_t natural_conv_model
Definition: cs_wall_condensation.h:66
cs_real_t * dflthr
Definition: cs_wall_condensation.h:83
cs_lnum_t * izcophc
Definition: cs_wall_condensation.h:87
cs_lnum_t * izcophg
Definition: cs_wall_condensation.h:88
cs_real_t * spcond
Definition: cs_wall_condensation.h:75
cs_lnum_t nfbpcd
Definition: cs_wall_condensation.h:71
cs_real_t * zxrefcond
Definition: cs_wall_condensation.h:91
cs_real_t * total_htc
Definition: cs_wall_condensation.h:81
cs_lnum_t nzones
Definition: cs_wall_condensation.h:86
cs_lnum_t * ifbpcd
Definition: cs_wall_condensation.h:72
cs_real_t * condensation_htc
Definition: cs_wall_condensation.h:80
cs_real_t * twall_cond
Definition: cs_wall_condensation.h:77