9.0
general documentation
Loading...
Searching...
No Matches
cs_combustion_gas.h File Reference
#include "base/cs_defs.h"
#include "base/cs_field.h"
#include "pprt/cs_physical_model.h"
Include dependency graph for cs_combustion_gas.h:

Go to the source code of this file.

Data Structures

struct  cs_libby_williams_params_t
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
#define CS_COMBUSTION_GAS_MAX_DIRAC   5

Enumerations

enum  cs_combustion_gas_model_type_t {
  CS_COMBUSTION_GAS_NONE = -1 , CS_COMBUSTION_3PT_ADIABATIC = CS_COMBUSTION_3PT*100 , CS_COMBUSTION_3PT_PERMEATIC = CS_COMBUSTION_3PT*100 + 1 , CS_COMBUSTION_BSH_ADIABATIC = CS_COMBUSTION_3PT*100 + 2 ,
  CS_COMBUSTION_BSH_PERMEATIC = CS_COMBUSTION_3PT*100 + 3 , CS_COMBUSTION_SLFM_STEADY_ADIABATIC = CS_COMBUSTION_SLFM*100 , CS_COMBUSTION_SLFM_STEADY_PERMEATIC = CS_COMBUSTION_SLFM*100 + 1 , CS_COMBUSTION_SLFM_PROGRESS_ADIABATIC = CS_COMBUSTION_SLFM*100 + 2 ,
  CS_COMBUSTION_SLFM_PROGRESS_PERMEATIC = CS_COMBUSTION_SLFM*100 + 3 , CS_COMBUSTION_EBU_CONSTANT_ADIABATIC = CS_COMBUSTION_EBU*100 , CS_COMBUSTION_EBU_CONSTANT_PERMEATIC = CS_COMBUSTION_EBU*100 + 1 , CS_COMBUSTION_EBU_VARIABLE_ADIABATIC = CS_COMBUSTION_EBU*100 + 2 ,
  CS_COMBUSTION_EBU_VARIABLE_PERMEATIC = CS_COMBUSTION_EBU*100 + 3 , CS_COMBUSTION_LW_2PEAK_ADIABATIC = CS_COMBUSTION_LW*100 , CS_COMBUSTION_LW_2PEAK_PERMEATIC = CS_COMBUSTION_LW*100 + 1 , CS_COMBUSTION_LW_3PEAK_ADIABATIC = CS_COMBUSTION_LW*100 + 2 ,
  CS_COMBUSTION_LW_3PEAK_PERMEATIC = CS_COMBUSTION_LW*100 + 3 , CS_COMBUSTION_LW_4PEAK_ADIABATIC = CS_COMBUSTION_LW*100 + 4 , CS_COMBUSTION_LW_4PEAK_PERMEATIC = CS_COMBUSTION_LW*100 + 5
}

Functions

cs_combustion_gas_model_tcs_combustion_gas_set_model (cs_combustion_gas_model_type_t type)
 Activate gas combustion model.
void cs_combustion_gas_set_thermochemical_data_file (const char *file_name)
 Set the thermochemical data file name.
void cs_combustion_gas_setup (void)
 Specific setup operations for gas combustion models.
void cs_combustion_gas_log_setup (void)
 Print the gas combustion module options to setup.log.
void cs_combustion_gas_add_variable_fields (void)
 Add variable fields for gas combustion models.
void cs_combustion_gas_add_property_fields (void)
 Add property fields for gas combustion models.
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)

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_DIRAC

#define CS_COMBUSTION_GAS_MAX_DIRAC   5

Maximum number of Dirac peaks

◆ 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

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_BSH_ADIABATIC 

Burke-Schumann infinitely 3-point combustion model, adiabatic

CS_COMBUSTION_BSH_PERMEATIC 

Burke-Schumann infinitely 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_add_property_fields()

void cs_combustion_gas_add_property_fields ( void )

Add property fields for gas combustion models.

◆ cs_combustion_gas_add_variable_fields()

void cs_combustion_gas_add_variable_fields ( void )

Add variable fields for gas combustion models.

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

Steady flamelet model

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

void cs_combustion_gas_setup ( void )

Specific setup operations for gas combustion models.

◆ 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