#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_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_boundary_conditions.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"
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 ckmel[], cs_real_t bpro_eps[], cs_real_t w_gg[], int gg_id, cs_real_t coefap[], cs_real_t coefbp[], cs_real_t cofafp[], cs_real_t cofbfp[]) |
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 | ckmel[], | ||
cs_real_t | bpro_eps[], | ||
cs_real_t | w_gg[], | ||
int | gg_id, | ||
cs_real_t | coefap[], | ||
cs_real_t | coefbp[], | ||
cs_real_t | cofafp[], | ||
cs_real_t | cofbfp[] | ||
) |
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.
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
[in] | bc_type | boundary face types |
[in] | vect_s | direction vector or NULL |
[in] | ckmel | Absoprtion coefficcient of the mixture gas-particules of coal or NULL |
[in] | bpro_eps | Boundary emissivity, or NULL for solar radiation |
[in] | w_gg | Weights of the i-th gray gas at boundaries |
[in] | gg_id | number of the i-th grey gas |
[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 |
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:
|