My Project
programmer's documentation
|
Go to the source code of this file.
Functions | |
void | cs_rad_transfer_bcs (int nvar, int bc_type[], int icodcl[], cs_real_t dt[], cs_real_t rcodcl[]) |
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 coefap[], cs_real_t coefbp[], cs_real_t cofafp[], cs_real_t cofbfp[], cs_real_t ckmel[], cs_real_t w_gg[], int gg_id) |
Boundary conditions for DO and P-1 models. More... | |
void cs_rad_transfer_bc_coeffs | ( | int | bc_type[], |
cs_real_t | vect_s[3], | ||
cs_real_t | coefap[], | ||
cs_real_t | coefbp[], | ||
cs_real_t | cofafp[], | ||
cs_real_t | cofbfp[], | ||
cs_real_t | ckmel[], | ||
cs_real_t | w_gg[], | ||
int | gg_id | ||
) |
Boundary conditions for DO and P-1 models.
The array coefap stores the intensity for each boundary faces, depending of the natur of the boundary (Dirichlet condition). The intensity of radiation is defined as the rate of emitted energy from unit surface area through unit solid angle.
1/ Gray wall: isotropic radiation field. 4 eps.sig.twall (1-eps).qincid coefap = -----------— + -----------— pi pi wall intensity wall emission reflecting flux. (eps=1: black wall; eps=0: reflecting wall) 2/ Free boundary: condition to mimic infinite domain
[in] | bc_type | boundary face types |
[in] | vect_s | direction vector or NULL |
[out] | coefap | boundary conditions for intensity or P-1 model |
[out] | coefbp | boundary conditions for intensity or P-1 model |
[out] | cofafp | boundary conditions for intensity or P-1 model |
[out] | cofbfp | boundary conditions for intensity or P-1 model |
[in] | ckmel | coeff d'absorption du melange gaz-particules de charbon |
[in] | w_gg | Weights of the i-th gray gas at boundaries |
[in] | gg_id | number of the i-th grey gas |
The array coefap stores the intensity for each boundary faces, depending of the natur of the boundary (Dirichlet condition). The intensity of radiation is defined as the rate of emitted energy from unit surface area through unit solid angle.
1/ Gray wall: isotropic radiation field. 4 eps.sig.twall (1-eps).qincid coefap = -----------— + -----------— pi pi wall intensity wall emission reflecting flux. (eps=1: black wall; eps=0: reflecting wall) 2/ Free boundary: condition to mimic infinite domain
[in] | bc_type | boundary face types |
[in] | vect_s | direction vector or NULL |
[out] | coefap | boundary conditions for intensity or P-1 model |
[out] | coefbp | boundary conditions for intensity or P-1 model |
[out] | cofafp | boundary conditions for intensity or P-1 model |
[out] | cofbfp | boundary conditions for intensity or P-1 model |
[in] | ckmel | coeff d'absorption du melange gaz-particules de charbon |
[in] | w_gg | Weights of the i-th gray gas at boundaries |
[in] | gg_id | number of the i-th grey gas |
void cs_rad_transfer_bcs | ( | int | nvar, |
int | bc_type[], | ||
int | icodcl[], | ||
cs_real_t | dt[], | ||
cs_real_t | rcodcl[] | ||
) |
Compute wall temperature for radiative transfer, and update BCs.
1) Compute wall temperature for radiative transfer
2) Update BCs for the energy computation
[in] | nvar | total number of variable BC's |
[in,out] | icodcl | face boundary condition code:
|
[in] | bc_type | face boundary condition type |
[in] | dt | time step (per cell) |
[in,out] | rcodcl | boundary condition values:
|