1#ifndef __CS_COMBUSTION_GAS_H__
2#define __CS_COMBUSTION_GAS_H__
50#define CS_COMBUSTION_GAS_MAX_GLOBAL_SPECIES 25
53#define CS_COMBUSTION_GAS_MAX_ATOMIC_SPECIES 5
56#define CS_COMBUSTION_GAS_MAX_OXYDANTS 3
59#define CS_COMBUSTION_GAS_MAX_ELEMENTARY_COMPONENTS 20
62#define CS_COMBUSTION_GAS_MAX_GLOBAL_REACTIONS 1
65#define CS_COMBUSTION_GAS_MAX_TABULATION_POINTS 50
#define CS_COMBUSTION_GAS_MAX_OXYDANTS
Definition: cs_combustion_gas.h:56
cs_combustion_gas_model_t * cs_combustion_gas_set_model(cs_combustion_gas_model_type_t type)
Activate gas combustion model.
Definition: cs_combustion_gas.c:200
cs_combustion_gas_model_t * cs_glob_combustion_gas_model
Definition: cs_combustion_gas.c:99
void cs_combustion_gas_log_setup(void)
Print the gas combustion module options to setup.log.
Definition: cs_combustion_gas.c:414
#define CS_COMBUSTION_GAS_MAX_ATOMIC_SPECIES
Definition: cs_combustion_gas.h:53
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,...
Definition: cs_combustion_gas.c:364
void cs_combustion_gas_set_thermochemical_data_file(const char *file_name)
Set the thermochemical data file name.
Definition: cs_combustion_gas.c:336
cs_combustion_gas_model_type_t
Definition: cs_combustion_gas.h:74
@ CS_COMBUSTION_3PT_ADIABATIC
Definition: cs_combustion_gas.h:79
@ CS_COMBUSTION_EBU_CONSTANT_PERMEATIC
Definition: cs_combustion_gas.h:102
@ CS_COMBUSTION_EBU_CONSTANT_ADIABATIC
Definition: cs_combustion_gas.h:98
@ CS_COMBUSTION_SLFM_STEADY_PERMEATIC
Definition: cs_combustion_gas.h:88
@ CS_COMBUSTION_LW_2PEAK_PERMEATIC
Definition: cs_combustion_gas.h:118
@ CS_COMBUSTION_SLFM_PROGRESS_PERMEATIC
Definition: cs_combustion_gas.h:94
@ CS_COMBUSTION_LW_4PEAK_PERMEATIC
Definition: cs_combustion_gas.h:134
@ CS_COMBUSTION_LW_3PEAK_PERMEATIC
Definition: cs_combustion_gas.h:126
@ CS_COMBUSTION_EBU_VARIABLE_PERMEATIC
Definition: cs_combustion_gas.h:110
@ CS_COMBUSTION_LW_2PEAK_ADIABATIC
Definition: cs_combustion_gas.h:114
@ CS_COMBUSTION_LW_4PEAK_ADIABATIC
Definition: cs_combustion_gas.h:130
@ CS_COMBUSTION_3PT_PERMEATIC
Definition: cs_combustion_gas.h:82
@ CS_COMBUSTION_SLFM_STEADY_ADIABATIC
Definition: cs_combustion_gas.h:85
@ CS_COMBUSTION_LW_3PEAK_ADIABATIC
Definition: cs_combustion_gas.h:122
@ CS_COMBUSTION_GAS_NONE
Definition: cs_combustion_gas.h:76
@ CS_COMBUSTION_SLFM_PROGRESS_ADIABATIC
Definition: cs_combustion_gas.h:91
@ CS_COMBUSTION_EBU_VARIABLE_ADIABATIC
Definition: cs_combustion_gas.h:106
#define CS_COMBUSTION_GAS_MAX_TABULATION_POINTS
Definition: cs_combustion_gas.h:65
#define CS_COMBUSTION_GAS_MAX_ELEMENTARY_COMPONENTS
Definition: cs_combustion_gas.h:59
#define CS_COMBUSTION_GAS_MAX_GLOBAL_SPECIES
Definition: cs_combustion_gas.h:50
#define CS_COMBUSTION_GAS_MAX_GLOBAL_REACTIONS
Definition: cs_combustion_gas.h:62
#define BEGIN_C_DECLS
Definition: cs_defs.h:542
double cs_real_t
Floating-point value.
Definition: cs_defs.h:342
#define END_C_DECLS
Definition: cs_defs.h:543
real(c_double), dimension(:), pointer, save wmolg
molar mass of a global species
Definition: ppthch.f90:133
real(c_double), dimension(:,:), pointer, save cpgazg
cpgazg(ij) is the massic calorific capacity (J/kg/K) of the i-th global secies at temperature th(j)
Definition: ppthch.f90:127
real(c_double), dimension(:), pointer, save th
temperature (in K)
Definition: ppthch.f90:119
real(c_double), dimension(:), pointer, save fs
Mixing rate at the stoichiometry.
Definition: ppthch.f90:143
real(c_double), dimension(:), pointer, save wmolat
molar mass of atoms
Definition: ppthch.f90:136
real(c_double), dimension(:), pointer, save wmole
molar mass of an elementary gas component
Definition: ppthch.f90:130
double precision, dimension(:,:), pointer, save compog
Definition: coincl.f90:56
double precision, dimension(:,:), pointer, save coefeg
Definition: coincl.f90:52
real(c_double), dimension(:), pointer, save oxyco2
Definition: ppcpfu.f90:41
real(c_double), dimension(:), pointer, save oxyn2
Definition: ppcpfu.f90:41
real(c_double), dimension(:), pointer, save oxyh2o
Definition: ppcpfu.f90:41
Definition: cs_combustion_gas.h:141
double hinfue
Definition: cs_combustion_gas.h:195
double hmax_lwc
Definition: cs_combustion_gas.h:235
int iio2
Definition: cs_combustion_gas.h:192
cs_combustion_gas_model_type_t type
Definition: cs_combustion_gas.h:183
int n_gas_el_comp
Definition: cs_combustion_gas.h:148
bool use_janaf
Definition: cs_combustion_gas.h:187
int iic
Definition: cs_combustion_gas.h:190
double tinfue
Definition: cs_combustion_gas.h:196
double rosoot
Definition: cs_combustion_gas.h:201
double fmin_lwc
Definition: cs_combustion_gas.h:232
double pcigas
Definition: cs_combustion_gas.h:157
int n_reactions
Definition: cs_combustion_gas.h:152
char * data_file_name
Definition: cs_combustion_gas.h:185
int n_tab_points
Definition: cs_combustion_gas.h:155
int isoot
Definition: cs_combustion_gas.h:193
int n_atomic_species
Definition: cs_combustion_gas.h:150
int n_gas_species
Definition: cs_combustion_gas.h:149
int iico2
Definition: cs_combustion_gas.h:191
double hinoxy
Definition: cs_combustion_gas.h:198
double hmin_lwc
Definition: cs_combustion_gas.h:234
double xco2
Definition: cs_combustion_gas.h:159
double fmax_lwc
Definition: cs_combustion_gas.h:233
double srrom
Definition: cs_combustion_gas.h:227
double xh2o
Definition: cs_combustion_gas.h:160
double tinoxy
Definition: cs_combustion_gas.h:197
double xsoot
Definition: cs_combustion_gas.h:200