My Project
programmer's documentation
Functions
cs_rad_transfer_absorption.c File Reference
#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"
Include dependency graph for cs_rad_transfer_absorption.c:

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...
 

Detailed Description

Absorption coefficient computation for radiative transfer with specific physical models.

Function Documentation

◆ cs_rad_transfer_absorption()

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.

Parameters
[in]tempkgas phase temperature at cells (in Kelvin)
[out]cpro_cak0medium (gas) Absorption coefficient
[out]kgasradiation coefficients of the gray gases at cells (per gas)
[out]agasweights of the gray gases at cells (per gas)
[out]agasbweights of the gray gases at boundary faces (per gas)

◆ cs_rad_transfer_absorption_check_p1()

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.

Parameters
[in]cpro_cakabsorption coefficient values (at cells)