9.0
general documentation
Loading...
Searching...
No Matches
cs_combustion_gas.cpp File Reference
#include "base/cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "bft/bft_mem.h"
#include "bft/bft_error.h"
#include "bft/bft_printf.h"
#include "base/cs_assert.h"
#include "base/cs_base.h"
#include "base/cs_field_default.h"
#include "base/cs_field_pointer.h"
#include "base/cs_parameters_check.h"
#include "base/cs_physical_constants.h"
#include "base/cs_log.h"
#include "base/cs_math.h"
#include "base/cs_physical_properties.h"
#include "base/cs_prototypes.h"
#include "base/cs_restart_default.h"
#include "base/cs_thermal_model.h"
#include "mesh/cs_mesh_location.h"
#include "turb/cs_turbulence_model.h"
#include "pprt/cs_combustion_model.h"
#include "pprt/cs_physical_model.h"
#include "rayt/cs_rad_transfer.h"
#include "cogz/cs_combustion_gas.h"
Include dependency graph for cs_combustion_gas.cpp:

Functions

void cs_f_combustion_map_variables (void)
void cs_f_combustion_map_properties (int iym_c[])
cs_combustion_gas_model_tcs_combustion_gas_set_model (cs_combustion_gas_model_type_t type)
 Activate gas combustion model.
void cs_combustion_gas_set_thermochemical_data_file (const char *file_name)
 Set the thermochemical data file name.
void cs_combustion_gas_setup (void)
 Specific setup operations for gas combustion models.
void cs_combustion_gas_log_setup (void)
 Print the gas combustion module options to setup.log.
void cs_combustion_gas_add_variable_fields (void)
 Add variable fields for gas combustion models.
void cs_combustion_gas_add_property_fields (void)
 Add property fields for gas combustion models.
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)

Variables

cs_combustion_gas_model_tcs_glob_combustion_gas_model = NULL

Detailed Description

Gas combustion model.

Function Documentation

◆ cs_combustion_gas_add_property_fields()

void cs_combustion_gas_add_property_fields ( void )

Add property fields for gas combustion models.

◆ cs_combustion_gas_add_variable_fields()

void cs_combustion_gas_add_variable_fields ( void )

Add variable fields for gas combustion models.

◆ 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.

Steady flamelet model

◆ 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_setup()

void cs_combustion_gas_setup ( void )

Specific setup operations for gas combustion models.

◆ 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

◆ cs_f_combustion_map_properties()

void cs_f_combustion_map_properties ( int iym_c[])

◆ cs_f_combustion_map_variables()

void cs_f_combustion_map_variables ( void )

Variable Documentation

◆ cs_glob_combustion_gas_model

cs_combustion_gas_model_t* cs_glob_combustion_gas_model = NULL

Combustion model parameters structure