9.0
general documentation
Loading...
Searching...
No Matches
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-2025 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
45
46/*=============================================================================
47 * Macro definitions
48 *============================================================================*/
49
50/*============================================================================
51 * Type definitions
52 *============================================================================*/
53
54/*============================================================================
55 * Global variables
56 *============================================================================*/
57
58/*=============================================================================
59 * Public function prototypes
60 *============================================================================*/
61
62/*----------------------------------------------------------------------------*/
79/*----------------------------------------------------------------------------*/
80
81void
83 int ngazem,
84 int npo,
85 const char nomcoel[][13],
86 double ehcoel[],
87 double cpcoel[],
88 double coeff_therm[][2][5],
89 const double wmolce[],
90 const double th[]);
91
92/*----------------------------------------------------------------------------*/
116/*----------------------------------------------------------------------------*/
117
118void
120 int indpdf[],
121 cs_real_t tpdf[],
122 const cs_real_t fm[],
123 cs_real_t fp2m[],
124 const cs_real_t fmini[],
125 const cs_real_t fmaxi[],
126 cs_real_t dirmin[],
127 cs_real_t dirmax[],
128 cs_real_t fdeb[],
129 cs_real_t ffin[],
130 cs_real_t hrec[]);
131
132/*----------------------------------------------------------------------------*/
133
135
136#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:699
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:477
#define BEGIN_C_DECLS
Definition cs_defs.h:542
double cs_real_t
Floating-point value.
Definition cs_defs.h:342
#define END_C_DECLS
Definition cs_defs.h:543
int cs_lnum_t
local mesh entity id
Definition cs_defs.h:335
@ fp2m
Definition cs_field_pointer.h:130
@ fm
Definition cs_field_pointer.h:129