![]() |
programmer's documentation
|
#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_log.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_mesh.h"
#include "cs_parall.h"
#include "cs_parameters.h"
#include "cs_thermal_model.h"
#include "cs_prototypes.h"
#include "cs_boundary_conditions.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 nvarcl, int bc_type[], int icodcl[], int izfrad[], int *nozppm, 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 coefap[], cs_real_t coefbp[], cs_real_t cofafp[], cs_real_t cofbfp[], cs_real_t tparoi[], cs_real_t ckmel[], cs_real_t abo[], int iband) |
Boundary conditions for DO and P-1 models. More... | |
void cs_rad_transfer_bc_coeffs | ( | int | bc_type[], |
cs_real_t | coefap[], | ||
cs_real_t | coefbp[], | ||
cs_real_t | cofafp[], | ||
cs_real_t | cofbfp[], | ||
cs_real_t | tparoi[], | ||
cs_real_t | ckmel[], | ||
cs_real_t | abo[], | ||
int | iband | ||
) |
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.tparoi (1-eps).qincid coefap = -----------— + -----------— pi pi wall intensity wall emission reflecting flux. (eps=1: black wall; eps=0: reflecting wall) 2/ Free boundary: entering intensity is fixed to zero coefap = 0.d0 (if the user has more information, he can do something better)
[in] | bc_type | boundary face types |
[out] | coefap,coefbp | boundary conditions for intensity or P-1 model cofafp, cofbfp |
[in] | tparoi | inside current wall temperature (K) |
[in] | ckmel | coeff d'absorption du melange gaz-particules de charbon |
[in] | abo | Wnights of the i-th gray gas at boundaries |
[in] | iband | number of the i-th grey gas |
void cs_rad_transfer_bcs | ( | int | nvarcl, |
int | bc_type[], | ||
int | icodcl[], | ||
int | izfrad[], | ||
int * | nozppm, | ||
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] | nvarcl | total number of variable BC's |
[in,out] | icodcl | face boundary condition code:
|
[in] | bc_type | face boundary condition type |
[in] | izfrad | zone index for boundary faces and reference face index |
[in] | iihmpr | GUI use indicator |
[in] | nozppm | max number of boundary conditions zone |
[in] | dt | time step (per cell) |
[in,out] | rcodcl | boundary condition values:
|