1#ifndef __CS_COMBUSTION_GAS_H__
2#define __CS_COMBUSTION_GAS_H__
51#define CS_COMBUSTION_GAS_MAX_GLOBAL_SPECIES 25
54#define CS_COMBUSTION_GAS_MAX_ATOMIC_SPECIES 5
57#define CS_COMBUSTION_GAS_MAX_OXYDANTS 3
60#define CS_COMBUSTION_GAS_MAX_ELEMENTARY_COMPONENTS 20
63#define CS_COMBUSTION_GAS_MAX_GLOBAL_REACTIONS 1
66#define CS_COMBUSTION_GAS_MAX_TABULATION_POINTS 50
69#define CS_COMBUSTION_GAS_MAX_DIRAC 5
328 double coeff_therm[7][2][5];
#define CS_COMBUSTION_GAS_MAX_OXYDANTS
Definition: cs_combustion_gas.h:57
void cs_combustion_gas_set_radiation_data_file(const char *file_name)
Set the radiation data file name.
Definition: cs_combustion_gas.cpp:546
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.cpp:287
void cs_combustion_gas_add_variable_fields(void)
Add variable fields for gas combustion models.
Definition: cs_combustion_gas.cpp:924
void cs_combustion_gas_setup(void)
Specific setup operations for gas combustion models.
Definition: cs_combustion_gas.cpp:607
cs_combustion_gas_model_t * cs_glob_combustion_gas_model
Definition: cs_combustion_gas.cpp:173
void cs_combustion_gas_log_setup(void)
Print the gas combustion module options to setup.log.
Definition: cs_combustion_gas.cpp:810
#define CS_COMBUSTION_GAS_MAX_ATOMIC_SPECIES
Definition: cs_combustion_gas.h:54
void cs_combustion_slfm_init_library(void)
Initialize steady flamelet library.
Definition: cs_combustion_gas.cpp:570
#define CS_COMBUSTION_GAS_MAX_DIRAC
Definition: cs_combustion_gas.h:69
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.cpp:1310
void cs_combustion_gas_add_property_fields(void)
Add property fields for gas combustion models.
Definition: cs_combustion_gas.cpp:1162
void cs_combustion_gas_set_thermochemical_data_file(const char *file_name)
Set the thermochemical data file name.
Definition: cs_combustion_gas.cpp:520
cs_combustion_gas_model_type_t
Definition: cs_combustion_gas.h:78
@ CS_COMBUSTION_BSH_PERMEATIC
Definition: cs_combustion_gas.h:92
@ CS_COMBUSTION_3PT_ADIABATIC
Definition: cs_combustion_gas.h:83
@ CS_COMBUSTION_EBU_CONSTANT_PERMEATIC
Definition: cs_combustion_gas.h:112
@ CS_COMBUSTION_EBU_CONSTANT_ADIABATIC
Definition: cs_combustion_gas.h:108
@ CS_COMBUSTION_SLFM_STEADY_PERMEATIC
Definition: cs_combustion_gas.h:98
@ CS_COMBUSTION_LW_2PEAK_PERMEATIC
Definition: cs_combustion_gas.h:128
@ CS_COMBUSTION_SLFM_PROGRESS_PERMEATIC
Definition: cs_combustion_gas.h:104
@ CS_COMBUSTION_LW_4PEAK_PERMEATIC
Definition: cs_combustion_gas.h:144
@ CS_COMBUSTION_LW_3PEAK_PERMEATIC
Definition: cs_combustion_gas.h:136
@ CS_COMBUSTION_EBU_VARIABLE_PERMEATIC
Definition: cs_combustion_gas.h:120
@ CS_COMBUSTION_LW_2PEAK_ADIABATIC
Definition: cs_combustion_gas.h:124
@ CS_COMBUSTION_LW_4PEAK_ADIABATIC
Definition: cs_combustion_gas.h:140
@ CS_COMBUSTION_BSH_ADIABATIC
Definition: cs_combustion_gas.h:89
@ CS_COMBUSTION_3PT_PERMEATIC
Definition: cs_combustion_gas.h:86
@ CS_COMBUSTION_SLFM_STEADY_ADIABATIC
Definition: cs_combustion_gas.h:95
@ CS_COMBUSTION_LW_3PEAK_ADIABATIC
Definition: cs_combustion_gas.h:132
@ CS_COMBUSTION_GAS_NONE
Definition: cs_combustion_gas.h:80
@ CS_COMBUSTION_SLFM_PROGRESS_ADIABATIC
Definition: cs_combustion_gas.h:101
@ CS_COMBUSTION_EBU_VARIABLE_ADIABATIC
Definition: cs_combustion_gas.h:116
#define CS_COMBUSTION_GAS_MAX_TABULATION_POINTS
Definition: cs_combustion_gas.h:66
#define CS_COMBUSTION_GAS_MAX_ELEMENTARY_COMPONENTS
Definition: cs_combustion_gas.h:60
#define CS_COMBUSTION_GAS_MAX_GLOBAL_SPECIES
Definition: cs_combustion_gas.h:51
#define CS_COMBUSTION_GAS_MAX_GLOBAL_REACTIONS
Definition: cs_combustion_gas.h:63
#define BEGIN_C_DECLS
Definition: cs_defs.h:554
double cs_real_t
Floating-point value.
Definition: cs_defs.h:357
#define END_C_DECLS
Definition: cs_defs.h:555
@ CS_COMBUSTION_LW
Definition: cs_physical_model.h:61
@ CS_COMBUSTION_3PT
Definition: cs_physical_model.h:58
@ CS_COMBUSTION_EBU
Definition: cs_physical_model.h:60
@ CS_COMBUSTION_SLFM
Definition: cs_physical_model.h:59
Definition: cs_combustion_gas.h:181
int flamelet_temp2
Definition: cs_combustion_gas.h:366
double hinfue
Definition: cs_combustion_gas.h:239
int iio2
Definition: cs_combustion_gas.h:234
cs_combustion_gas_model_type_t type
Definition: cs_combustion_gas.h:223
int n_gas_el_comp
Definition: cs_combustion_gas.h:188
bool use_janaf
Definition: cs_combustion_gas.h:229
int flamelet_vis
Definition: cs_combustion_gas.h:364
cs_field_t * t2m
Definition: cs_combustion_gas.h:307
int flamelet_omg_c
Definition: cs_combustion_gas.h:369
double hstoea
Definition: cs_combustion_gas.h:321
cs_field_t * yfm
Definition: cs_combustion_gas.h:288
cs_field_t * t3m
Definition: cs_combustion_gas.h:308
cs_real_t * radiation_library
Definition: cs_combustion_gas.h:356
int iic
Definition: cs_combustion_gas.h:232
double tinfue
Definition: cs_combustion_gas.h:240
cs_field_t * recvr
Definition: cs_combustion_gas.h:299
double rosoot
Definition: cs_combustion_gas.h:245
cs_real_t * flamelet_library
Definition: cs_combustion_gas.h:353
int nki
Definition: cs_combustion_gas.h:338
int flamelet_xr
Definition: cs_combustion_gas.h:360
int nxr
Definition: cs_combustion_gas.h:339
cs_field_t * fm
Definition: cs_combustion_gas.h:283
cs_field_t * npm
Definition: cs_combustion_gas.h:292
int nzm
Definition: cs_combustion_gas.h:340
double pcigas
Definition: cs_combustion_gas.h:197
int n_reactions
Definition: cs_combustion_gas.h:192
int nlibvar
Definition: cs_combustion_gas.h:342
char * data_file_name
Definition: cs_combustion_gas.h:225
cs_field_t * t4m
Definition: cs_combustion_gas.h:309
int ikimid
Definition: cs_combustion_gas.h:343
int n_tab_points
Definition: cs_combustion_gas.h:195
int flamelet_temp
Definition: cs_combustion_gas.h:362
double frmel
Definition: cs_combustion_gas.h:248
double cebu
Definition: cs_combustion_gas.h:250
cs_field_t * coyfp
Definition: cs_combustion_gas.h:290
cs_field_t * ckabs
Definition: cs_combustion_gas.h:310
cs_field_t * ygfm
Definition: cs_combustion_gas.h:287
int nzvar
Definition: cs_combustion_gas.h:341
cs_real_t * rho_library
Definition: cs_combustion_gas.h:355
cs_field_t * hrr
Definition: cs_combustion_gas.h:296
cs_field_t * omgc
Definition: cs_combustion_gas.h:297
int flamelet_dt
Definition: cs_combustion_gas.h:365
char * radiation_data_file_name
Definition: cs_combustion_gas.h:226
cs_field_t * fsqm
Definition: cs_combustion_gas.h:285
cs_field_t * yfp2m
Definition: cs_combustion_gas.h:289
int flamelet_c
Definition: cs_combustion_gas.h:368
cs_field_t * pvm
Definition: cs_combustion_gas.h:286
int isoot
Definition: cs_combustion_gas.h:235
int n_atomic_species
Definition: cs_combustion_gas.h:190
cs_field_t * totki
Definition: cs_combustion_gas.h:298
cs_field_t * xr
Definition: cs_combustion_gas.h:295
int flamelet_rho
Definition: cs_combustion_gas.h:363
int flamelet_zvar
Definition: cs_combustion_gas.h:359
int n_gas_species
Definition: cs_combustion_gas.h:189
int iico2
Definition: cs_combustion_gas.h:233
double tgf
Definition: cs_combustion_gas.h:249
double hinoxy
Definition: cs_combustion_gas.h:242
double lsp_fuel
Definition: cs_combustion_gas.h:246
int mode_fp2m
Definition: cs_combustion_gas.h:348
int flamelet_zm
Definition: cs_combustion_gas.h:358
cs_field_t * fp2m
Definition: cs_combustion_gas.h:284
cs_libby_williams_params_t lw
Definition: cs_combustion_gas.h:332
double xco2
Definition: cs_combustion_gas.h:199
int flamelet_ki
Definition: cs_combustion_gas.h:361
double srrom
Definition: cs_combustion_gas.h:315
int flamelet_hrr
Definition: cs_combustion_gas.h:367
double xh2o
Definition: cs_combustion_gas.h:200
int ientgf
Definition: cs_combustion_gas.h:236
double tinoxy
Definition: cs_combustion_gas.h:241
double xsoot
Definition: cs_combustion_gas.h:244
int ientgb
Definition: cs_combustion_gas.h:237
int n_gas_fl
Definition: cs_combustion_gas.h:336
cs_field_t * fsm
Definition: cs_combustion_gas.h:293
Field descriptor.
Definition: cs_field.h:156
Definition: cs_combustion_gas.h:150
double lref
Definition: cs_combustion_gas.h:154
double coeff1
Definition: cs_combustion_gas.h:161
double vref
Definition: cs_combustion_gas.h:153
cs_field_t * mam
Definition: cs_combustion_gas.h:166
double coeff2
Definition: cs_combustion_gas.h:162
double fmax
Definition: cs_combustion_gas.h:158
cs_field_t * tsc
Definition: cs_combustion_gas.h:165
double coeff3
Definition: cs_combustion_gas.h:163
double tstar
Definition: cs_combustion_gas.h:156
double hmin
Definition: cs_combustion_gas.h:159
double ta
Definition: cs_combustion_gas.h:155
double hmax
Definition: cs_combustion_gas.h:160
int n_dirac
Definition: cs_combustion_gas.h:152
double fmin
Definition: cs_combustion_gas.h:157