8.3
general documentation
cs_rad_transfer_bcs.cpp File Reference
#include "cs_defs.h"
#include "cs_math.h"
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include "bft_error.h"
#include "bft_mem.h"
#include "bft_printf.h"
#include "cs_array.h"
#include "cs_boundary_conditions.h"
#include "cs_boundary_conditions_set_coeffs.h"
#include "cs_boundary_zone.h"
#include "cs_log.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_ht_convert.h"
#include "cs_internal_coupling.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_parall.h"
#include "cs_parameters.h"
#include "cs_prototypes.h"
#include "cs_thermal_model.h"
#include "cs_physical_constants.h"
#include "cs_gui_radiative_transfer.h"
#include "cs_rad_transfer.h"
#include "cs_rad_transfer_wall_flux.h"
#include "cs_rad_transfer_bcs.h"
+ Include dependency graph for cs_rad_transfer_bcs.cpp:

Functions

void cs_rad_transfer_bcs (int bc_type[])
 Compute wall temperature for radiative transfer, and update BCs. More...
 
void cs_rad_transfer_bc_coeffs (int bc_type[], cs_real_t vect_s[3], cs_real_t ckmel[], cs_real_t bpro_eps[], cs_real_t w_gg[], int gg_id, cs_field_bc_coeffs_t *bc_coeffs)
 Boundary conditions for DO and P-1 models. More...
 

Function Documentation

◆ cs_rad_transfer_bc_coeffs()

void cs_rad_transfer_bc_coeffs ( int  bc_type[],
cs_real_t  vect_s[3],
cs_real_t  ckmel[],
cs_real_t  bpro_eps[],
cs_real_t  w_gg[],
int  gg_id,
cs_field_bc_coeffs_t bc_coeffs 
)

Boundary conditions for DO and P-1 models.

The coefap array stores the intensity for each boundary face, depending of the nature of the boundary (Dirichlet condition). The intensity of radiation is defined as the rate of emitted energy from unit surface area through a unit solid angle.

1/ Gray wall: isotropic radiation field.

$ coefap =  \epsilon.\sigma.twall^4 / \pi + (1-\epsilon).qincid / \pi $

which is the sum of the wall emission and reflecting flux (eps=1: black wall; eps=0: reflecting wall).

2/ Free boundary: condition to mimic infinite domain

Parameters
[in]bc_typeboundary face types
[in]vect_sdirection vector or nullptr
[in]ckmelAbsoprtion coefficcient of the mixture gas-particules of coal or nullptr
[in]bpro_epsBoundary emissivity, or nullptr for solar radiation
[in]w_ggWeights of the i-th gray gas at boundaries
[in]gg_idnumber of the i-th grey gas
[out]bc_coeffsboundary conditions structure for intensity or P-1 model

◆ cs_rad_transfer_bcs()

void cs_rad_transfer_bcs ( int  bc_type[])

Compute wall temperature for radiative transfer, and update BCs.

1) Compute wall temperature for radiative transfer

2) Update BCs for the energy computation

\param[in] bc_type face boundary condition type