8.0
general documentation
Loading...
Searching...
No Matches
cs_wall_condensation.c 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_1d_wall_thermal.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_gas_mix.h"
#include "cs_log.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_parall.h"
#include "cs_physical_constants.h"
#include "cs_prototypes.h"
#include "cs_restart.h"
#include "cs_thermal_model.h"
#include "cs_time_step.h"
#include "cs_velocity_pressure.h"
#include "cs_wall_condensation_1d_thermal.h"
#include "cs_wall_functions.h"
#include "cs_wall_condensation.h"
Include dependency graph for cs_wall_condensation.c:

Functions

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

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 = &_wall_cond