My Project
programmer's documentation
|
#include "cs_defs.h"
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_base.h"
#include "cs_field.h"
#include "cs_field_pointer.h"
#include "cs_log.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_parall.h"
#include "cs_combustion_model.h"
#include "cs_physical_model.h"
#include "cs_time_step.h"
#include "cs_rad_transfer.h"
#include "cs_rad_transfer_modak.h"
#include "cs_rad_transfer_adf_models.h"
#include "cs_rad_transfer_fsck.h"
#include "cs_rad_transfer_absorption.h"
Functions | |
void | cs_rad_transfer_absorption (const cs_real_t tempk[], cs_real_t cpro_cak0[], cs_real_t kgas[], cs_real_t agas[], cs_real_t agasb[]) |
Compute absorption coefficient for gas mix and particles for pulverized coal or other specific physical models. More... | |
void | cs_rad_transfer_absorption_check_p1 (const cs_real_t cpro_cak[]) |
Check the absorption validity fo the P-1 approximation. More... | |
Absorption coefficient computation for radiative transfer with specific physical models.
void cs_rad_transfer_absorption | ( | const cs_real_t | tempk[], |
cs_real_t | cpro_cak0[], | ||
cs_real_t | kgas[], | ||
cs_real_t | agas[], | ||
cs_real_t | agasb[] | ||
) |
Compute absorption coefficient for gas mix and particles for pulverized coal or other specific physical models.
For the P-1 model, this function also checks whether the medium's optical length is at least of the order of unity.
[in] | tempk | gas phase temperature at cells (in Kelvin) |
[out] | cpro_cak0 | medium (gas) Absorption coefficient |
[out] | kgas | radiation coefficients of the gray gases at cells (per gas) |
[out] | agas | weights of the gray gases at cells (per gas) |
[out] | agasb | weights of the gray gases at boundary faces (per gas) |
void cs_rad_transfer_absorption_check_p1 | ( | const cs_real_t | cpro_cak[] | ) |
Check the absorption validity fo the P-1 approximation.
For the P-1 model, the medium's optical length should be at least of the order of unity.
[in] | cpro_cak | absorption coefficient values (at cells) |