#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_array.h"
#include "cs_base.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"
Functions | |
cs_wall_condensation_t * | cs_get_glob_wall_condensation (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 (void) |
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_initialize (void) |
Initialize wall condensation models. More... | |
void | cs_wall_condensation_volume_exchange_surf_at_cells (cs_real_t *surf) |
Return condensing volume structures surface at each cell. More... | |
void | cs_wall_condensation_reset (cs_wall_condensation_t *wall_cond, const int n_var) |
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, 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. More... | |
Variables | |
const cs_wall_condensation_t * | cs_glob_wall_condensation = &_wall_cond |
cs_wall_condensation_t * cs_get_glob_wall_condensation | ( | void | ) |
Provide writable access to _wall_cond structure.
void cs_wall_condensation_compute | ( | cs_real_t | total_htc[] | ) |
Compute the wall condensation source terms.
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.
This includes building the associated meshes.
void cs_wall_condensation_log | ( | void | ) |
Output statistics about wall condensation source terms (for user log)
void cs_wall_condensation_reset | ( | cs_wall_condensation_t * | wall_cond, |
const int | n_var | ||
) |
void cs_wall_condensation_set_model | ( | cs_wall_cond_natural_conv_model_t | model | ) |
Set the wall condensation model.
[in] | model | integer corresponding to the desired model |
void cs_wall_condensation_set_onoff_state | ( | int | icondb, |
int | icondv | ||
) |
Set the onoff state of wall condensation modeling.
[in] | icondb | integer corresponding to the onoff state (-1: off, 0: on) |
[in] | icondv | integer corresponding to the onoff state with metal structures (-1: off, 0: on) |
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.
[in] | f | pointer to field structure |
[in] | xcpp | array of specific heat (Cp) |
[in] | pvara | variable value at time step beginning |
[in,out] | st_exp | explicit source term part linear in the variable |
[in,out] | st_imp | associated value with tsexp to be stored in the matrix |
void cs_wall_condensation_volume_exchange_surf_at_cells | ( | cs_real_t * | surf | ) |
Return condensing volume structures surface at each cell.
[out] | surf | array of volume structure surfaces at each cell |
const cs_wall_condensation_t* cs_glob_wall_condensation = &_wall_cond |