#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"
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... | |
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.
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 nullptr |
[in] | ckmel | Absoprtion coefficcient of the mixture gas-particules of coal or nullptr |
[in] | bpro_eps | Boundary emissivity, or nullptr 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] | bc_coeffs | boundary conditions structure for intensity or P-1 model |