#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_base.h"
#include "cs_combustion_model.h"
#include "cs_physical_constants.h"
#include "cs_physical_model.h"
#include "cs_log.h"
#include "cs_math.h"
#include "cs_combustion_gas.h"
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 = NULL |
Gas combustion model.
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 |
cs_combustion_gas_model_t* cs_glob_combustion_gas_model = NULL |
Combustion model parameters structure