9.0
general documentation
Loading...
Searching...
No Matches
cs_combustion_model.h File Reference
#include <stdarg.h>
#include "base/cs_defs.h"
Include dependency graph for cs_combustion_model.h:

Go to the source code of this file.

Functions

void cs_combustion_enthalpy_and_cp_from_janaf (int ncoel, int ngazem, int npo, const char nomcoel[][13], double ehcoel[], double cpcoel[], double coeff_therm[][2][5], const double wmolce[], const double th[])
 Compute Enthalpy and Cp based on the JANAF band.
void cs_combustion_dirac_pdf (cs_lnum_t n_cells, int indpdf[], cs_real_t tpdf[], const cs_real_t fm[], cs_real_t fp2m[], const cs_real_t fmini[], const cs_real_t fmaxi[], cs_real_t dirmin[], cs_real_t dirmax[], cs_real_t fdeb[], cs_real_t ffin[], cs_real_t hrec[])
 Compute rectangle-Dirac pdf parameters.

Function Documentation

◆ cs_combustion_dirac_pdf()

void cs_combustion_dirac_pdf ( cs_lnum_t n_cells,
int indpdf[],
cs_real_t tpdf[],
const cs_real_t fm[],
cs_real_t fp2m[],
const cs_real_t fmini[],
const cs_real_t fmaxi[],
cs_real_t dirmin[],
cs_real_t dirmax[],
cs_real_t fdeb[],
cs_real_t ffin[],
cs_real_t hrec[] )

Compute rectangle-Dirac pdf parameters.

From P. Plion & A. Escaich

Parameters
[in]n_cellsnumber of cells
[out]indpdfindicator for pdf integration or mean value
[out]tpdfindicator for pdf shape:
  • 0: Dirac at mean value
  • 1: rectangle
  • 2: Dirac's peak at $ f_{min} $
  • 3: Dirac's peak at $ f_{max} $
  • 4: rectangle and 2 Dirac's pics
[in]fmmean mixture fraction at cell centers
[in,out]fp2mmean mixture fraction variance at cell centers
[in,out]fminimixture fraction low boundary
[in]fmaximixture fraction high boundary
[out]dirminDirac's peak value at $ f_{min} $
[out]dirmaxDirac's peak value at $ f_{max} $
[out]fdebabscissa of rectangle low boundary
[out]ffinabscissa of rectangle high boundary
[out]hrecrectangle height

◆ 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[],
double coeff_therm[][2][5],
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])
[out]coeff_thermcoefficients for the Burke-Scumann model, or null otherwise
[in]wmolcemolar mass of each species
[in]thtemperature in K