8.0
general documentation
cs_wall_condensation.h File Reference
#include "cs_defs.h"
+ Include dependency graph for cs_wall_condensation.h:

Go to the source code of this file.

Data Structures

struct  cs_wall_cond_t
 

Enumerations

enum  cs_wall_cond_natural_conv_model_t { CS_WALL_COND_MODEL_COPAIN = 0 , CS_WALL_COND_MODEL_COPAIN_BD = 1 , CS_WALL_COND_MODEL_UCHIDA = 2 , CS_WALL_COND_MODEL_DEHBI = 3 }
 
enum  cs_wall_cond_forced_conv_model_t { CS_WALL_COND_MODEL_WALL_LAW = 0 , CS_WALL_COND_MODEL_SCHLICHTING = 1 }
 
enum  cs_wall_cond_mixed_conv_model_t { CS_WALL_COND_MIXED_MAX = 0 , CS_WALL_COND_MIXED_INCROPERA = 1 }
 

Functions

cs_wall_cond_tcs_get_glob_wall_cond (void)
 Provide writable access to _wall_cond structure. More...
 
void cs_wall_condensation_set_model (cs_wall_cond_natural_conv_model_t model)
 Set the wall condensation model. More...
 
void cs_wall_condensation_set_onoff_state (int icondb, int icondv)
 Set the onoff state of wall condensation modeling. More...
 
void cs_wall_condensation_create (cs_lnum_t nfbpcd, cs_lnum_t nzones, cs_lnum_t nvar)
 Create the context for wall condensation models. More...
 
void cs_wall_condensation_free (void)
 Free all structures related to wall condensation models. More...
 
void cs_wall_condensation_compute (cs_real_t total_htc[])
 Compute the wall condensation source terms. More...
 
void cs_wall_condensation_log (void)
 Output statistics about wall condensation source terms (for user log) More...
 
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[])
 

Variables

const cs_wall_cond_tcs_glob_wall_cond
 

Enumeration Type Documentation

◆ cs_wall_cond_forced_conv_model_t

Enumerator
CS_WALL_COND_MODEL_WALL_LAW 
CS_WALL_COND_MODEL_SCHLICHTING 

◆ cs_wall_cond_mixed_conv_model_t

Enumerator
CS_WALL_COND_MIXED_MAX 
CS_WALL_COND_MIXED_INCROPERA 

◆ cs_wall_cond_natural_conv_model_t

Enumerator
CS_WALL_COND_MODEL_COPAIN 
CS_WALL_COND_MODEL_COPAIN_BD 
CS_WALL_COND_MODEL_UCHIDA 
CS_WALL_COND_MODEL_DEHBI 

Function Documentation

◆ cs_get_glob_wall_cond()

cs_wall_cond_t* cs_get_glob_wall_cond ( void  )

Provide writable access to _wall_cond structure.

Returns
pointer to global wall_cond structure

◆ cs_wall_condensation_compute()

void cs_wall_condensation_compute ( cs_real_t  total_htc[])

Compute the wall condensation source terms.

◆ cs_wall_condensation_create()

void cs_wall_condensation_create ( cs_lnum_t  nfbpcd,
cs_lnum_t  nzones,
cs_lnum_t  nvar 
)

Create the context for wall condensation models.

Parameters
[in]nfbpcdnumber of faces with wall condensation
[in]nzonesnumber of zones with wall condensation
[in]nvarnumber of variables (?)

◆ cs_wall_condensation_free()

void cs_wall_condensation_free ( void  )

Free all structures related to wall condensation models.

◆ cs_wall_condensation_log()

void cs_wall_condensation_log ( void  )

Output statistics about wall condensation source terms (for user log)

◆ cs_wall_condensation_set_model()

void cs_wall_condensation_set_model ( cs_wall_cond_natural_conv_model_t  model)

Set the wall condensation model.

Parameters
[in]modelinteger corresponding to the desired model

◆ cs_wall_condensation_set_onoff_state()

void cs_wall_condensation_set_onoff_state ( int  icondb,
int  icondv 
)

Set the onoff state of wall condensation modeling.

Parameters
[in]icondbinteger corresponding to the onoff state (-1: off, 0: on)
[in]icondvinteger corresponding to the onoff state with metal structures (-1: off, 0: on)

◆ cs_wall_condensation_source_terms()

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[] 
)

Variable Documentation

◆ cs_glob_wall_cond

const cs_wall_cond_t* cs_glob_wall_cond
extern