8.3
general documentation
cs_wall_condensation_1d_thermal.cpp File Reference
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft_error.h"
#include "bft_mem.h"
#include "bft_printf.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_log.h"
#include "cs_map.h"
#include "cs_mesh_location.h"
#include "cs_parall.h"
#include "cs_parameters.h"
#include "cs_time_step.h"
#include "cs_wall_functions.h"
#include "cs_array.h"
#include "cs_base.h"
#include "cs_log_iteration.h"
#include "cs_math.h"
#include "cs_wall_condensation.h"
#include "cs_wall_condensation_1d_thermal.h"
+ Include dependency graph for cs_wall_condensation_1d_thermal.cpp:

Functions

void cs_wall_condensation_1d_thermal_create (int nzones)
 Create the context for wall condensation models. More...
 
void cs_wall_condensation_1d_thermal_mesh_create (int znmurx, int nfbpcd, int nzones)
 
void cs_wall_condensation_1d_thermal_free (void)
 Free all structures related to wall condensation 1d thermal models. More...
 
void cs_wall_condensation_0d_thermal_create (cs_lnum_t nvolumes, cs_lnum_t ncmast)
 Create the context for 0d wall condensation thermal model. More...
 
void cs_wall_condensation_0d_thermal_free (void)
 Free structure related to wall condensation 0d thermal model. More...
 
cs_wall_cond_1d_thermal_t * cs_get_glob_wall_cond_1d_thermal (void)
 Provide writeable access to _wall_cond_1d_thermal structure. More...
 
cs_wall_cond_0d_thermal_t * cs_get_glob_wall_cond_0d_thermal (void)
 Provide writeable access to _wall_cond_0d_thermal structure. More...
 
void cs_wall_condensation_0d_thermal_solve ()
 Use 0-D thermal model to solve the temperature and themal flux at the volume structure walls. More...
 
void cs_wall_condensation_1d_thermal_mesh_initialize (void)
 Used to generate the 1-D mesh and initialize the temperature field of the thermal model coupled with condensation model. More...
 
void cs_wall_condensation_1d_thermal_compute_temperature (void)
 The 1D thermal model to compute the temperature to impose at the cold wall. This one is used by the COPAIN model to estimate he heat flux at the wall where the condensation occurs. More...
 

Variables

const cs_wall_cond_1d_thermal_t * cs_glob_wall_cond_1d_thermal
 
const cs_wall_cond_0d_thermal_t * cs_glob_wall_cond_0d_thermal
 

Function Documentation

◆ cs_get_glob_wall_cond_0d_thermal()

cs_wall_cond_0d_thermal_t * cs_get_glob_wall_cond_0d_thermal ( void  )

Provide writeable access to _wall_cond_0d_thermal structure.

Provide writeable access to cs_wall_cond_0d_thermal_t structure.

Returns
pointer to global wall_cond_0d_thermal structure

◆ cs_get_glob_wall_cond_1d_thermal()

cs_wall_cond_1d_thermal_t * cs_get_glob_wall_cond_1d_thermal ( void  )

Provide writeable access to _wall_cond_1d_thermal structure.

Provide writeable access to _wall_cond structure.

Returns
pointer to global wall_cond_1d_thermal structure

◆ cs_wall_condensation_0d_thermal_create()

void cs_wall_condensation_0d_thermal_create ( cs_lnum_t  nvolumes,
cs_lnum_t  ncmast 
)

Create the context for 0d wall condensation thermal model.

Create the context for 0D wall condensation thermal models.

Parameters
[in]nvolumesnumber of volumes with metal mass condensation
[in]ncmastnumber of cells with metal mass condensation

◆ cs_wall_condensation_0d_thermal_free()

void cs_wall_condensation_0d_thermal_free ( void  )

Free structure related to wall condensation 0d thermal model.

Free structures related to 0D wall condensation models.

◆ cs_wall_condensation_0d_thermal_solve()

void cs_wall_condensation_0d_thermal_solve ( void  )

Use 0-D thermal model to solve the temperature and themal flux at the volume structure walls.

◆ cs_wall_condensation_1d_thermal_compute_temperature()

void cs_wall_condensation_1d_thermal_compute_temperature ( void  )

The 1D thermal model to compute the temperature to impose at the cold wall. This one is used by the COPAIN model to estimate he heat flux at the wall where the condensation occurs.

Is used to compute at each face the $T^{fb}_{\mbox{mur}} $ at cold wall.

◆ cs_wall_condensation_1d_thermal_create()

void cs_wall_condensation_1d_thermal_create ( int  nzones)

Create the context for wall condensation models.

Create the context for wall condensation thermal models.

Parameters
[in]nfbpcdnumber of faces with wall condensation

◆ cs_wall_condensation_1d_thermal_free()

void cs_wall_condensation_1d_thermal_free ( void  )

Free all structures related to wall condensation 1d thermal models.

Free all structures related to wall condensation models.

◆ cs_wall_condensation_1d_thermal_mesh_create()

void cs_wall_condensation_1d_thermal_mesh_create ( int  znmurx,
int  nfbpcd,
int  nzones 
)

◆ cs_wall_condensation_1d_thermal_mesh_initialize()

void cs_wall_condensation_1d_thermal_mesh_initialize ( void  )

Used to generate the 1-D mesh and initialize the temperature field of the thermal model coupled with condensation model.

Variable Documentation

◆ cs_glob_wall_cond_0d_thermal

const cs_wall_cond_0d_thermal_t* cs_glob_wall_cond_0d_thermal
Initial value:
=
&_wall_cond_0d_thermal

◆ cs_glob_wall_cond_1d_thermal

const cs_wall_cond_1d_thermal_t* cs_glob_wall_cond_1d_thermal
Initial value:
=
&_wall_cond_1d_thermal