8.3
general documentation
cs_combustion_model.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_file.h"
#include "cs_log.h"
#include "cs_math.h"
#include "cs_physical_constants.h"
#include "cs_physical_model.h"
#include "cs_combustion_gas.h"
#include "cs_coal.h"
#include "cs_combustion_model.h"
+ Include dependency graph for cs_combustion_model.c:

Macros

#define MAX_ELEMENTARY_COMPONENTS   20
 

Functions

void cs_combustion_enthalpy_and_cp_from_janaf (int ncoel, int ngazem, int npo, const char nomcoel[][13], double ehcoel[], double cpcoel[], const double wmolce[], const double th[])
 Compute Enthalpy and Cp based on the JANAF band. More...
 

Detailed Description

Combustion model selection parameters.

Macro Definition Documentation

◆ MAX_ELEMENTARY_COMPONENTS

#define MAX_ELEMENTARY_COMPONENTS   20

Function Documentation

◆ cs_combustion_enthalpy_and_cp_from_janaf()

void cs_combustion_enthalpy_and_cp_from_janaf ( int  ncoel,
int  ngazem,
int  npo,
const char  nomcoel[][13],
double  ehcoel[],
double  cpcoel[],
const double  wmolce[],
const double  th[] 
)

Compute Enthalpy and Cp based on the JANAF band.

Parameters
[in]ncoelnumber of elementary constituents
[in]ngazemnumber of elementary constituents
[in]nponumber of interpolation points
[in]nomcoelnames of elementary constituants
[out]ehcoelenthalpy for each elementary species (for point i and species j, ehcoel[i*ngazem + j])
[out]cpcoelcp for each elementary species (for point i and species j, cpcoel[i*ngazem + j])
[in]wmolcemolar mass of each species
[in]thtemperature in K