9.2
general documentation
cs_combustion_model.h
Go to the documentation of this file.
1#ifndef CS_COMBUSTION_MODEL_H
2#define CS_COMBUSTION_MODEL_H
3
4/*============================================================================
5 * Combustion model parameters.
6 *============================================================================*/
7
8/*
9 This file is part of code_saturne, a general-purpose CFD tool.
10
11 Copyright (C) 1998-2026 EDF S.A.
12
13 This program is free software; you can redistribute it and/or modify it under
14 the terms of the GNU General Public License as published by the Free Software
15 Foundation; either version 2 of the License, or (at your option) any later
16 version.
17
18 This program is distributed in the hope that it will be useful, but WITHOUT
19 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21 details.
22
23 You should have received a copy of the GNU General Public License along with
24 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
25 Street, Fifth Floor, Boston, MA 02110-1301, USA.
26*/
27
28/*----------------------------------------------------------------------------*/
29
30/*----------------------------------------------------------------------------
31 * Standard C library headers
32 *----------------------------------------------------------------------------*/
33
34#include <stdarg.h>
35
36/*----------------------------------------------------------------------------
37 * Local headers
38 *----------------------------------------------------------------------------*/
39
40#include "base/cs_defs.h"
41
42/*=============================================================================
43 * Macro definitions
44 *============================================================================*/
45
46/*============================================================================
47 * Type definitions
48 *============================================================================*/
49
50/*============================================================================
51 * Global variables
52 *============================================================================*/
53
54/*=============================================================================
55 * Public function prototypes
56 *============================================================================*/
57
58/*----------------------------------------------------------------------------*/
75/*----------------------------------------------------------------------------*/
76
77void
79 int ngazem,
80 int npo,
81 const char nomcoel[][13],
82 double ehcoel[],
83 double cpcoel[],
84 double coeff_therm[][2][5],
85 const double wmolce[],
86 const double th[]);
87
88/*----------------------------------------------------------------------------*/
112/*----------------------------------------------------------------------------*/
113
114void
116 int indpdf[],
117 cs_real_t tpdf[],
118 const cs_real_t fm[],
119 cs_real_t fp2m[],
120 const cs_real_t fmini[],
121 const cs_real_t fmaxi[],
122 cs_real_t dirmin[],
123 cs_real_t dirmax[],
124 cs_real_t fdeb[],
125 cs_real_t ffin[],
126 cs_real_t hrec[]);
127
128/*----------------------------------------------------------------------------*/
129
130#endif /* CS_COMBUSTION_MODEL_H */
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.
Definition: cs_combustion_model.cpp:352
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.
Definition: cs_combustion_model.cpp:130
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:325
@ fp2m
Definition: cs_field_pointer.h:127
@ fm
Definition: cs_field_pointer.h:126