8.3
general documentation
cs_user_radiative_transfer.cpp File Reference

User function for input of radiative transfer parameters: absorption coefficient and net radiation flux. More...

#include "cs_defs.h"
#include <assert.h>
#include <string.h>
#include <math.h>
#include "cs_headers.h"
+ Include dependency graph for cs_user_radiative_transfer.cpp:

Functions

void cs_user_radiative_transfer_parameters (void)
 User function for input of radiative transfer module options. More...
 
void cs_user_rad_transfer_absorption (const int bc_type[], cs_real_t ck[])
 Absorption coefficient for radiative module. More...
 
void cs_user_rad_transfer_net_flux (const int bc_type[], const cs_real_t twall[], const cs_real_t qincid[], const cs_real_t xlam[], const cs_real_t epa[], const cs_real_t eps[], const cs_real_t ck[], cs_real_t net_flux[])
 Compute the net radiation flux. More...
 

Detailed Description

User function for input of radiative transfer parameters: absorption coefficient and net radiation flux.

See Examples of data settings for radiative transfers for examples.

Function Documentation

◆ cs_user_rad_transfer_absorption()

void cs_user_rad_transfer_absorption ( const int  bc_type[],
cs_real_t  ck[] 
)

Absorption coefficient for radiative module.

It is necessary to define the value of the fluid's absorption coefficient Ck.

This value is defined automatically for specific physical models, such as gas and coal combustion, so this function is not used by these models.

For a transparent medium, the coefficient should be set to 0.

In the case of the P-1 model, we check that the optical length is at least of the order of 1.

Parameters
[in]bc_typeboundary face types
[out]ckmedium's absorption coefficient (zero if transparent)

◆ cs_user_rad_transfer_net_flux()

void cs_user_rad_transfer_net_flux ( const int  bc_type[],
const cs_real_t  twall[],
const cs_real_t  qincid[],
const cs_real_t  xlam[],
const cs_real_t  epa[],
const cs_real_t  eps[],
const cs_real_t  ck[],
cs_real_t  net_flux[] 
)

Compute the net radiation flux.

The density of net radiation flux must be calculated consistently with the boundary conditions of the intensity. The density of net flux is the balance between the radiative emiting part of a boundary face (and not the reflecting one) and the radiative absorbing part.

Parameters
[in]bc_typeboundary face types
[in]twallinside current wall temperature (K)
[in]qincidradiative incident flux (W/m2)
[in]xlamconductivity (W/m/K)
[in]epathickness (m)
[in]epsemissivity (>0)
[in]ckabsorption coefficient
[out]net_fluxnet flux (W/m2)

◆ cs_user_radiative_transfer_parameters()

void cs_user_radiative_transfer_parameters ( void  )

User function for input of radiative transfer module options.

Deprecated:
Use cs_user_model instead.