9.1
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-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 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
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/*----------------------------------------------------------------------------*/
66/*----------------------------------------------------------------------------*/
67
68void
70
71/*----------------------------------------------------------------------------*/
80/*----------------------------------------------------------------------------*/
81
82void
84
85/*----------------------------------------------------------------------------*/
95/*----------------------------------------------------------------------------*/
96
97void
99 const cs_real_t *cpro_rho,
100 const cs_real_t *fp2m,
101 cs_real_t *cpro_totki);
102
103/*----------------------------------------------------------------------------*/
111/*----------------------------------------------------------------------------*/
112
113void
115 const cs_real_t *fsqm,
116 cs_real_t *recvr);
117
118/*----------------------------------------------------------------------------*/
129/*----------------------------------------------------------------------------*/
130
131void
133 cs_real_t *cmax,
134 cs_real_t *cmid,
135 cs_real_t *cmin);
136
137/*----------------------------------------------------------------------------*/
164/*----------------------------------------------------------------------------*/
165
166void
168 cs_real_t smbrs[],
169 cs_real_t rovsdt[]);
170
171/*----------------------------------------------------------------------------*/
172
174
175#endif /* CS_COMBUSTION_SLFM_H */
void cs_combustion_slfm_fields_init(void)
Initialize specific fields for slfm gas combustion model.
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.
void cs_combustion_slfm_physical_properties(int iterns)
Compute physical properties for steady laminar flamelet model.
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...
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...
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.
#define BEGIN_C_DECLS
Definition: cs_defs.h:554
double cs_real_t
Floating-point value.
Definition: cs_defs.h:357
#define END_C_DECLS
Definition: cs_defs.h:555
@ fp2m
Definition: cs_field_pointer.h:131
@ fm
Definition: cs_field_pointer.h:130
Field descriptor.
Definition: cs_field.h:156