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_t * | cs_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_t * | cs_glob_combustion_gas_model |
#define CS_COMBUSTION_GAS_MAX_ATOMIC_SPECIES 5 |
Maximum number of atomic species
#define CS_COMBUSTION_GAS_MAX_ELEMENTARY_COMPONENTS 20 |
Maximum number of elementary gas components
#define CS_COMBUSTION_GAS_MAX_GLOBAL_REACTIONS 1 |
Maximum number of global reactions in gas phase
#define CS_COMBUSTION_GAS_MAX_GLOBAL_SPECIES 25 |
Maximum number of global species
#define CS_COMBUSTION_GAS_MAX_OXYDANTS 3 |
Maximum number of oxydants
#define CS_COMBUSTION_GAS_MAX_TABULATION_POINTS 50 |
Maximum number of tabulation points
Gas combustion model type
void cs_combustion_gas_log_setup | ( | void | ) |
Print the gas combustion module options to setup.log.
cs_combustion_gas_model_t * cs_combustion_gas_set_model | ( | cs_combustion_gas_model_type_t | type | ) |
Activate gas combustion model.
[in] | type | gas combustion model type |
void cs_combustion_gas_set_thermochemical_data_file | ( | const char * | file_name | ) |
Set the thermochemical data file name.
[in] | file_name | name of the file. |
Compute molar and mass fractions of elementary species Ye, Xe (fuel, O2, CO2, H2O, N2) from global species Yg (fuel, oxidant, products)
[in] | yg | global mass fraction |
[out] | ye | elementary mass fraction |
[out] | xe | elementary molar fraction |
|
extern |
Combustion model parameters structure