9.0
general documentation
Loading...
Searching...
No Matches
cs_coal.cpp File Reference

Coal combustion model. More...

#include "base/cs_defs.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft/bft_mem.h"
#include "bft/bft_printf.h"
#include "cdo/cs_equation_param.h"
#include "base/cs_field.h"
#include "base/cs_field_default.h"
#include "base/cs_field_pointer.h"
#include "base/cs_parameters.h"
#include "base/cs_parameters_check.h"
#include "base/cs_physical_constants.h"
#include "base/cs_physical_properties.h"
#include "base/cs_math.h"
#include "mesh/cs_mesh.h"
#include "mesh/cs_mesh_quantities.h"
#include "pprt/cs_physical_model.h"
#include "base/cs_post.h"
#include "base/cs_thermal_model.h"
#include "comb/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.
cs_coal_model_tcs_coal_model_set_model (cs_coal_model_type_t type)
 Activate coal combustion model.
void cs_coal_setup (void)
 Specific setup operations for pulverized coal combustion model.
void cs_combustion_coal_log_setup (void)
 Print pulverized combustion module options to setup.log.
void cs_coal_add_variable_fields (void)
 Add variable fields for pulverized coal combustion model.
void cs_coal_add_property_fields (void)
 Add property fields for pulverized coal combustion model.
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.

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_add_property_fields()

void cs_coal_add_property_fields ( void )

Add property fields for pulverized coal combustion model.

◆ cs_coal_add_variable_fields()

void cs_coal_add_variable_fields ( void )

Add variable fields for pulverized coal combustion model.

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

◆ cs_combustion_coal_log_setup()

void cs_combustion_coal_log_setup ( void )

Print pulverized combustion module options to setup.log.

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