9.2
general documentation
cs_combustion_slfm.h
Go to the documentation of this file.
1#ifndef CS_COMBUSTION_SLFM_H
2#define CS_COMBUSTION_SLFM_H
3
4/*============================================================================
5 * Steady laminar flamelet gas combustion model.
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 library headers
32 *----------------------------------------------------------------------------*/
33
34/*----------------------------------------------------------------------------
35 * Local headers
36 *----------------------------------------------------------------------------*/
37
38#include "base/cs_defs.h"
39#include "base/cs_field.h"
41
42/*----------------------------------------------------------------------------*/
43
44/*============================================================================
45 * Macro definitions
46 *============================================================================*/
47
48/*============================================================================
49 * Type definitions
50 *============================================================================*/
51
52/*============================================================================
53 * Global variables
54 *============================================================================*/
55
56/*=============================================================================
57 * Public function prototypes
58 *============================================================================*/
59
60/*----------------------------------------------------------------------------*/
64/*----------------------------------------------------------------------------*/
65
66void
68
69/*----------------------------------------------------------------------------*/
78/*----------------------------------------------------------------------------*/
79
80void
82
83/*----------------------------------------------------------------------------*/
93/*----------------------------------------------------------------------------*/
94
95void
97 const cs_real_t *cpro_rho,
98 const cs_real_t *fp2m,
99 cs_real_t *cpro_totki);
100
101/*----------------------------------------------------------------------------*/
109/*----------------------------------------------------------------------------*/
110
111void
113 const cs_real_t *fsqm,
114 cs_real_t *recvr);
115
116/*----------------------------------------------------------------------------*/
127/*----------------------------------------------------------------------------*/
128
129void
131 cs_real_t *cmax,
132 cs_real_t *cmid,
133 cs_real_t *cmin);
134
135/*----------------------------------------------------------------------------*/
162/*----------------------------------------------------------------------------*/
163
164void
166 cs_real_t smbrs[],
167 cs_real_t rovsdt[]);
168
169/*----------------------------------------------------------------------------*/
170
171#endif /* CS_COMBUSTION_SLFM_H */
Field descriptor.
Definition: cs_field.h:275
void cs_combustion_slfm_fields_init(void)
Initialize specific fields for slfm gas combustion model.
Definition: cs_combustion_slfm.cpp:979
void cs_combustion_scalar_dissipation_rate(const cs_field_t *f, const cs_real_t *cpro_rho, const cs_real_t *fp2m, cs_real_t *cpro_totki)
Compute scalar dissipation rate for steady laminar flamelet model.
Definition: cs_combustion_slfm.cpp:1295
void cs_combustion_slfm_physical_properties(int iterns)
Compute physical properties for steady laminar flamelet model.
Definition: cs_combustion_slfm.cpp:1027
void cs_combustion_slfm_source_terms(cs_field_t *f_sc, cs_real_t smbrs[], cs_real_t rovsdt[])
Defines the source terms for the soot mass fraction and the precursor number for soot model of Moss e...
Definition: cs_combustion_slfm.cpp:1475
void cs_combustion_slfm_max_mid_min_progvar(const cs_real_t zm, cs_real_t *cmax, cs_real_t *cmid, cs_real_t *cmin)
Retrieve maximal, middle and minimal values of progress variable respectively on stable/unstable/mixi...
Definition: cs_combustion_slfm.cpp:1376
void cs_combustion_reconstruct_variance(const cs_real_t *fm, const cs_real_t *fsqm, cs_real_t *recvr)
Reconstruct scalar variance in case of transporting 2nd order moment.
Definition: cs_combustion_slfm.cpp:1345
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
@ fp2m
Definition: cs_field_pointer.h:127
@ fm
Definition: cs_field_pointer.h:126