8.3
general documentation
cs_combustion_gas.c File Reference
#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"
+ Include dependency graph for cs_combustion_gas.c:

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 = NULL
 

Detailed Description

Gas combustion model.

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 = NULL

Combustion model parameters structure