8.1
general documentation
cs_coal.h File Reference
#include "cs_defs.h"
#include "cs_field.h"
+ Include dependency graph for cs_coal.h:

Go to the source code of this file.

Data Structures

struct  cs_coal_model_t
 

Macros

#define CS_COMBUSTION_MAX_COALS   5
 
#define CS_COMBUSTION_MAX_CLASSES_PER_COAL   20
 
#define CS_COMBUSTION_COAL_MAX_CLASSES
 
#define CS_COMBUSTION_COAL_MAX_TABULATION_POINTS   500
 
#define CS_COMBUSTION_COAL_MAX_SOLIDS   CS_COMBUSTION_MAX_COALS * 4
 

Functions

cs_coal_model_tcs_coal_model_create (void)
 Create coal model object. More...
 
void cs_coal_model_destroy (cs_coal_model_t **cm)
 Destroy coal model object. More...
 
void cs_coal_rad_transfer_st (const cs_field_t *f, cs_real_t *smbrs, cs_real_t *rovsdt)
 Take in account the radiative source terms in the particle equation of a given class for pulverized coal flame. More...
 
double cs_coal_thconvers1 (const double xesp[], const double f1mc[], const double f2mc[], cs_real_t tp)
 Compute gas enthalpy Function with gas temperature and concentrations. More...
 
double cs_coal_thconvers2 (int class_id, const double xsolid[], cs_real_t temper)
 Compute particles enthalpy Function with temperature and concentrations. More...
 

Macro Definition Documentation

◆ CS_COMBUSTION_COAL_MAX_CLASSES

#define CS_COMBUSTION_COAL_MAX_CLASSES
Value:
#define CS_COMBUSTION_MAX_CLASSES_PER_COAL
Definition: cs_coal.h:54
#define CS_COMBUSTION_MAX_COALS
Definition: cs_coal.h:51

Maximum total number of coal classes

◆ CS_COMBUSTION_COAL_MAX_SOLIDS

#define CS_COMBUSTION_COAL_MAX_SOLIDS   CS_COMBUSTION_MAX_COALS * 4

Maximum number of solid constituants

◆ CS_COMBUSTION_COAL_MAX_TABULATION_POINTS

#define CS_COMBUSTION_COAL_MAX_TABULATION_POINTS   500

Maximum number of tabulation points

◆ CS_COMBUSTION_MAX_CLASSES_PER_COAL

#define CS_COMBUSTION_MAX_CLASSES_PER_COAL   20

Maximum number of coal classes pae coal

◆ CS_COMBUSTION_MAX_COALS

#define CS_COMBUSTION_MAX_COALS   5

Maximum number of coals

Function Documentation

◆ cs_coal_model_create()

cs_coal_model_t* cs_coal_model_create ( void  )

Create coal model object.

Returns
pointer to coal model structure.

Create coal model object.

Returns
pointer to coal model structure.

◆ cs_coal_model_destroy()

void cs_coal_model_destroy ( cs_coal_model_t **  cm)

Destroy coal model object.

\pram[in, out] cm pointer to coal model pointer to destroy.

Destroy coal model object.

\pram[in, out] cm pointer to coal model pointer to destroy.

◆ cs_coal_rad_transfer_st()

void cs_coal_rad_transfer_st ( const cs_field_t f,
cs_real_t smbrs,
cs_real_t rovsdt 
)

Take in account the radiative source terms in the particle equation of a given class for pulverized coal flame.

Parameters
[in]fpointer to scalar field
[in,out]smbrsright and side (explicit ST contribution)
[in,out]rovsdtsystem diagonal (implicit ST contribution)

◆ cs_coal_thconvers1()

double cs_coal_thconvers1 ( const double  xesp[],
const double  f1mc[],
const double  f2mc[],
cs_real_t  tp 
)

Compute gas enthalpy Function with gas temperature and concentrations.

Parameters
[in]xespmass fraction of species
[in]f1mcaverage f1
[in]f2mcaverage f2
[in]tpgas temperature (in kelvin)
Returns
gas enthalpy (in $ j . kg^{-1}) $ of mixed gas

◆ cs_coal_thconvers2()

double cs_coal_thconvers2 ( int  class_id,
const double  xsolid[],
cs_real_t  temper 
)

Compute particles enthalpy Function with temperature and concentrations.

Parameters
[in]class_idclass id
[in]xsolidmass fraction of components
[in,out]tempertemperature (in kelvin)
Returns
mass enthalpy (in $ j . kg^{-1}) $