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

Go to the source code of this file.

Data Structures

struct  cs_combustion_gas_model_t
 

Macros

#define CS_COMBUSTION_GAS_MAX_GLOBAL_SPECIES   25
 
#define CS_COMBUSTION_GAS_MAX_ATOMIC_SPECIES   5
 
#define CS_COMBUSTION_GAS_MAX_OXYDANTS   3
 
#define CS_COMBUSTION_GAS_MAX_ELEMENTARY_COMPONENTS   20
 
#define CS_COMBUSTION_GAS_MAX_GLOBAL_REACTIONS   1
 
#define CS_COMBUSTION_GAS_MAX_TABULATION_POINTS   50
 

Enumerations

enum  cs_combustion_gas_model_type_t {
  CS_COMBUSTION_GAS_NONE = -1 , CS_COMBUSTION_3PT_ADIABATIC = 100 , CS_COMBUSTION_3PT_PERMEATIC = 101 , CS_COMBUSTION_SLFM_STEADY_ADIABATIC = 200 ,
  CS_COMBUSTION_SLFM_STEADY_PERMEATIC = 201 , CS_COMBUSTION_SLFM_PROGRESS_ADIABATIC = 202 , CS_COMBUSTION_SLFM_PROGRESS_PERMEATIC = 203 , CS_COMBUSTION_EBU_CONSTANT_ADIABATIC = 300 ,
  CS_COMBUSTION_EBU_CONSTANT_PERMEATIC = 301 , CS_COMBUSTION_EBU_VARIABLE_ADIABATIC = 302 , CS_COMBUSTION_EBU_VARIABLE_PERMEATIC = 303 , CS_COMBUSTION_LW_2PEAK_ADIABATIC = 400 ,
  CS_COMBUSTION_LW_2PEAK_PERMEATIC = 401 , CS_COMBUSTION_LW_3PEAK_ADIABATIC = 402 , CS_COMBUSTION_LW_3PEAK_PERMEATIC = 403 , CS_COMBUSTION_LW_4PEAK_ADIABATIC = 404 ,
  CS_COMBUSTION_LW_4PEAK_PERMEATIC = 405
}
 

Functions

cs_combustion_gas_model_tcs_combustion_gas_set_model (cs_combustion_gas_model_type_t type)
 Activate gas combustion model. More...
 
void cs_combustion_gas_set_thermochemical_data_file (const char *file_name)
 Set the thermochemical data file name. More...
 
void cs_combustion_gas_yg2xye (const cs_real_t yg[], cs_real_t ye[], cs_real_t xe[])
 Compute molar and mass fractions of elementary species Ye, Xe (fuel, O2, CO2, H2O, N2) from global species Yg (fuel, oxidant, products) More...
 
void cs_combustion_gas_log_setup (void)
 Print the gas combustion module options to setup.log. More...
 

Variables

cs_combustion_gas_model_tcs_glob_combustion_gas_model
 

Macro Definition Documentation

◆ CS_COMBUSTION_GAS_MAX_ATOMIC_SPECIES

#define CS_COMBUSTION_GAS_MAX_ATOMIC_SPECIES   5

Maximum number of atomic species

◆ CS_COMBUSTION_GAS_MAX_ELEMENTARY_COMPONENTS

#define CS_COMBUSTION_GAS_MAX_ELEMENTARY_COMPONENTS   20

Maximum number of elementary gas components

◆ CS_COMBUSTION_GAS_MAX_GLOBAL_REACTIONS

#define CS_COMBUSTION_GAS_MAX_GLOBAL_REACTIONS   1

Maximum number of global reactions in gas phase

◆ CS_COMBUSTION_GAS_MAX_GLOBAL_SPECIES

#define CS_COMBUSTION_GAS_MAX_GLOBAL_SPECIES   25

Maximum number of global species

◆ CS_COMBUSTION_GAS_MAX_OXYDANTS

#define CS_COMBUSTION_GAS_MAX_OXYDANTS   3

Maximum number of oxydants

◆ CS_COMBUSTION_GAS_MAX_TABULATION_POINTS

#define CS_COMBUSTION_GAS_MAX_TABULATION_POINTS   50

Maximum number of tabulation points

Enumeration Type Documentation

◆ cs_combustion_gas_model_type_t

Gas combustion model type

Enumerator
CS_COMBUSTION_GAS_NONE 
CS_COMBUSTION_3PT_ADIABATIC 

Infinitely fast 3-point combustion model, adiabatic

CS_COMBUSTION_3PT_PERMEATIC 

Infinitely fast 3-point combustion model, permeatic

CS_COMBUSTION_SLFM_STEADY_ADIABATIC 

Steady laminar flamelet model, adiabatic conditions

CS_COMBUSTION_SLFM_STEADY_PERMEATIC 

Steady laminar flamelet model, enthalpy transport with heat loss

CS_COMBUSTION_SLFM_PROGRESS_ADIABATIC 

Flamelet/progress variable model, adiabatic conditions

CS_COMBUSTION_SLFM_PROGRESS_PERMEATIC 

Flamelet/progress variable model, enthalpy transport with heat loss

CS_COMBUSTION_EBU_CONSTANT_ADIABATIC 

Eddy Break Up pre-mixed flame combustion model, adiabatic conditions at constant richness

CS_COMBUSTION_EBU_CONSTANT_PERMEATIC 

Eddy Break Up pre-mixed flame combustion model, adiabatic conditions at constant richness

CS_COMBUSTION_EBU_VARIABLE_ADIABATIC 

Eddy Break Up pre-mixed flame combustion model, adiabatic conditions at variable richness

CS_COMBUSTION_EBU_VARIABLE_PERMEATIC 

Eddy Break Up pre-mixed flame combustion model, adiabatic conditions at variable richness

CS_COMBUSTION_LW_2PEAK_ADIABATIC 

Libby-Williams pre-mixed flame combustion, two peak model with adiabatic conditions

CS_COMBUSTION_LW_2PEAK_PERMEATIC 

Libby-Williams pre-mixed flame combustion, two peak model with permeatic conditions

CS_COMBUSTION_LW_3PEAK_ADIABATIC 

Libby-Williams pre-mixed flame combustion, three peak model with adiabatic conditions

CS_COMBUSTION_LW_3PEAK_PERMEATIC 

Libby-Williams pre-mixed flame combustion, three peak model with permeatic conditions

CS_COMBUSTION_LW_4PEAK_ADIABATIC 

Libby-Williams pre-mixed flame combustion, four peak model with adiabatic conditions

CS_COMBUSTION_LW_4PEAK_PERMEATIC 

Libby-Williams pre-mixed flame combustion, four peak model with permeatic conditions

Function Documentation

◆ cs_combustion_gas_log_setup()

void cs_combustion_gas_log_setup ( void  )

Print the gas combustion module options to setup.log.

◆ cs_combustion_gas_set_model()

cs_combustion_gas_model_t * cs_combustion_gas_set_model ( cs_combustion_gas_model_type_t  type)

Activate gas combustion model.

Parameters
[in]typegas combustion model type
Returns
pointer to gas combustion model structure.

◆ cs_combustion_gas_set_thermochemical_data_file()

void cs_combustion_gas_set_thermochemical_data_file ( const char *  file_name)

Set the thermochemical data file name.

Parameters
[in]file_namename of the file.

◆ cs_combustion_gas_yg2xye()

void cs_combustion_gas_yg2xye ( const cs_real_t  yg[],
cs_real_t  ye[],
cs_real_t  xe[] 
)

Compute molar and mass fractions of elementary species Ye, Xe (fuel, O2, CO2, H2O, N2) from global species Yg (fuel, oxidant, products)

Parameters
[in]ygglobal mass fraction
[out]yeelementary mass fraction
[out]xeelementary molar fraction

Variable Documentation

◆ cs_glob_combustion_gas_model

cs_combustion_gas_model_t* cs_glob_combustion_gas_model
extern

Combustion model parameters structure