8.3
general documentation
cs_coal.cpp File Reference

Coal combustion model. More...

#include "cs_defs.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_printf.h"
#include "cs_equation_param.h"
#include "cs_field.h"
#include "cs_field_default.h"
#include "cs_parameters.h"
#include "cs_parameters_check.h"
#include "cs_physical_constants.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_physical_model.h"
#include "cs_thermal_model.h"
#include "cs_coal.h"
+ Include dependency graph for cs_coal.cpp:

Functions

cs_coal_model_type_t cs_coal_model_get_type (void)
 Return coal combustion model type. More...
 
cs_coal_model_tcs_coal_model_set_model (cs_coal_model_type_t type)
 Activate coal combustion model. More...
 
void cs_coal_setup (void)
 Specific setup operations for pulverized coal combustion model. 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...
 

Variables

cs_coal_model_tcs_glob_coal_model = NULL
 
const double cs_coal_trefth = 25. + 273.15
 
const double cs_coal_prefth = 1.01325e5
 
const double cs_coal_volmol = 22.41e-3
 
const int cs_coal_atom_id_c = 0
 
const int cs_coal_atom_id_h = 1
 
const int cs_coal_atom_id_o = 2
 
const int cs_coal_atom_id_n = 3
 
const int cs_coal_atom_id_s = 4
 
const double cs_coal_epsilon = 1.e-8
 

Detailed Description

Coal combustion model.

Function Documentation

◆ cs_coal_model_get_type()

cs_coal_model_type_t cs_coal_model_get_type ( void  )

Return coal combustion model type.

Returns
type of active coal combustion model (CS_COMBUSTION_COAL_NONE if model not active)

◆ cs_coal_model_set_model()

cs_coal_model_t * cs_coal_model_set_model ( cs_coal_model_type_t  type)

Activate coal combustion model.

Returns
pointer to coal combustion model structure.
Parameters
[in]typecoal combustion model type

◆ 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_setup()

void cs_coal_setup ( void  )

Specific setup operations for pulverized coal combustion model.

Variable Documentation

◆ cs_coal_atom_id_c

const int cs_coal_atom_id_c = 0

id for C in wmolat

◆ cs_coal_atom_id_h

const int cs_coal_atom_id_h = 1

id for H in wmolat

◆ cs_coal_atom_id_n

const int cs_coal_atom_id_n = 3

id for N in wmolat

◆ cs_coal_atom_id_o

const int cs_coal_atom_id_o = 2

id for O in wmolat

◆ cs_coal_atom_id_s

const int cs_coal_atom_id_s = 4

id for S in wmolat

◆ cs_coal_epsilon

const double cs_coal_epsilon = 1.e-8

◆ cs_coal_prefth

const double cs_coal_prefth = 1.01325e5

reference pressure for molar volume

◆ cs_coal_trefth

const double cs_coal_trefth = 25. + 273.15

‍ molar volume under normal pressure and temperature conditions

(1 atmosphere, 0 degres C) in m-3

reference temperature for molar volume

◆ cs_coal_volmol

const double cs_coal_volmol = 22.41e-3

molar volume under normal pressure and temperature conditions (1 atmosphere, 0 $\text{\degresC}$) in $m^{-3}$

◆ cs_glob_coal_model

cs_coal_model_t* cs_glob_coal_model = NULL

Coal combustion model parameters structure