9.2
general documentation
cs_combustion_boundary_conditions.h
Go to the documentation of this file.
1#ifndef CS_COMBUSTION_BOUNDARY_CONDITIONS_H
2#define CS_COMBUSTION_BOUNDARY_CONDITIONS_H
3
4/*============================================================================
5 * Gas combustion model boundary conditions.
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/*----------------------------------------------------------------------------
35 * Local headers
36 *----------------------------------------------------------------------------*/
37
38#include "base/cs_defs.h"
40#include "base/cs_zone.h"
41
42/*----------------------------------------------------------------------------*/
43
44/*============================================================================
45 * Macro definitions
46 *============================================================================*/
47
48/*============================================================================
49 * Local type definitions
50 *============================================================================*/
51
54typedef struct {
55
56 const cs_zone_t *zone;
58 int ientox;
59 int ientfu;
60 int ientgf;
61 int ientgb;
70
71/*=============================================================================
72 * Global variables
73 *============================================================================*/
74
75/*============================================================================
76 * Public function prototypes
77 *============================================================================*/
78
79/*----------------------------------------------------------------------------*/
90/*----------------------------------------------------------------------------*/
91
94
95/*----------------------------------------------------------------------------*/
101/*----------------------------------------------------------------------------*/
102
103void
105
106/*----------------------------------------------------------------------------*/
112/*----------------------------------------------------------------------------*/
113
114void
116
117/*----------------------------------------------------------------------------*/
124/*----------------------------------------------------------------------------*/
125
126void
128
129/*----------------------------------------------------------------------------*/
136/*----------------------------------------------------------------------------*/
137
138void
140
141/*----------------------------------------------------------------------------*/
149/*----------------------------------------------------------------------------*/
150
151void
153
154/*----------------------------------------------------------------------------*/
162/*----------------------------------------------------------------------------*/
163
164void
166 cs_real_t *tkm);
167
168/*----------------------------------------------------------------------------*/
169
170#endif /* CS_COMBUSTION_BOUNDARY_CONDITIONS_H */
void cs_combustion_boundary_conditions_density_ebu_lw(void)
Compute density at boundary for gas combustion, using EBU or Libby-Williams models.
Definition: cs_combustion_boundary_conditions.cpp:697
void cs_combustion_boundary_conditions(int bc_type[])
Automatic boundary condition for gas combustion.
Definition: cs_combustion_boundary_conditions.cpp:190
void cs_combustion_boundary_conditions_mean_inlet_ebu_lw(cs_real_t *fmm, cs_real_t *tkm)
Compute mean inlet enthalpy at boundary for EBU and Libby-Williams models.
Definition: cs_combustion_boundary_conditions.cpp:795
cs_combustion_bc_inlet_t * cs_combustion_boundary_conditions_get_inlet(const cs_zone_t *zone)
Return pointer to combustion boundary conditions inlet structure.
Definition: cs_combustion_boundary_conditions.cpp:140
void cs_combustion_boundary_conditions_density(void)
Compute density at boundary for gas combustion.
Definition: cs_combustion_boundary_conditions.cpp:607
void cs_combustion_boundary_conditions_ebu(int bc_type[])
Automatic boundary condition for gas combustion with EBU model.
Definition: cs_combustion_boundary_conditions.cpp:354
void cs_combustion_boundary_conditions_lw(int bc_type[])
Automatic boundary condition for gas combustion with Libby-Williams model.
Definition: cs_combustion_boundary_conditions.cpp:461
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
Inlet definition for gas combustion.
Definition: cs_combustion_boundary_conditions.h:54
int ientox
Definition: cs_combustion_boundary_conditions.h:58
cs_real_t fment
Definition: cs_combustion_boundary_conditions.h:63
int ientfu
Definition: cs_combustion_boundary_conditions.h:59
cs_real_t tkent
Definition: cs_combustion_boundary_conditions.h:64
cs_real_t tgf
Definition: cs_combustion_boundary_conditions.h:66
const cs_zone_t * zone
Definition: cs_combustion_boundary_conditions.h:56
int ientgf
Definition: cs_combustion_boundary_conditions.h:60
int ientgb
Definition: cs_combustion_boundary_conditions.h:61
Definition: cs_zone.h:51