9.0
general documentation
Loading...
Searching...
No Matches
cs_wall_condensation.h File Reference
#include "base/cs_defs.h"
Include dependency graph for cs_wall_condensation.h:

Go to the source code of this file.

Functions

cs_wall_condensation_t * cs_get_glob_wall_condensation (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 (void)
 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_initialize (void)
 Initialize wall condensation models.
void cs_wall_condensation_reset (cs_wall_condensation_t *wall_cond, const int n_var)
void cs_wall_condensation_volume_exchange_surf_at_cells (cs_real_t *surf)
 Return condensing volume structures surface at each cell.
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, const cs_real_t xcpp[], const cs_real_t pvara[], cs_real_t st_exp[], cs_real_t st_imp[])
 Explicit and implicit sources terms from sources condensation computation.

Function Documentation

◆ cs_get_glob_wall_condensation()

cs_wall_condensation_t * cs_get_glob_wall_condensation ( 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 ( void )

Create the context for wall condensation models.

◆ cs_wall_condensation_free()

void cs_wall_condensation_free ( void )

Free all structures related to wall condensation models.

◆ cs_wall_condensation_initialize()

void cs_wall_condensation_initialize ( void )

Initialize wall condensation models.

This includes building the associated meshes.

◆ cs_wall_condensation_log()

void cs_wall_condensation_log ( void )

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

◆ cs_wall_condensation_reset()

void cs_wall_condensation_reset ( cs_wall_condensation_t * wall_cond,
const int n_var )

◆ 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,
const cs_real_t xcpp[],
const cs_real_t pvara[],
cs_real_t st_exp[],
cs_real_t st_imp[] )

Explicit and implicit sources terms from sources condensation computation.

Parameters
[in]fpointer to field structure
[in]xcpparray of specific heat (Cp)
[in]pvaravariable value at time step beginning
[in,out]st_expexplicit source term part linear in the variable
[in,out]st_impassociated value with tsexp to be stored in the matrix

◆ cs_wall_condensation_volume_exchange_surf_at_cells()

void cs_wall_condensation_volume_exchange_surf_at_cells ( cs_real_t * surf)

Return condensing volume structures surface at each cell.

Parameters
[out]surfarray of volume structure surfaces at each cell