8.2
general documentation
cs_gui_specific_physics.h
Go to the documentation of this file.
1 #ifndef __CS_GUI_SPECIFIC_PHYSICS_H__
2 #define __CS_GUI_SPECIFIC_PHYSICS_H__
3 
4 /*============================================================================
5  * Management of the GUI parameters file: specific physics
6  *============================================================================*/
7 
8 /*
9  This file is part of code_saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2024 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  * Local headers
32  *----------------------------------------------------------------------------*/
33 
34 #include "cs_base.h"
35 
36 /*----------------------------------------------------------------------------*/
37 
39 
40 /*============================================================================
41  * Type definitions
42  *============================================================================*/
43 
44 /*============================================================================
45  * Public Fortran function prototypes
46  *============================================================================*/
47 
48 /*----------------------------------------------------------------------------
49  * Temperature for D3P Gas Combustion
50  *
51  * Fortran Interface:
52  *
53  * Toxy <-- Oxidant temperature
54  * Tfuel <-- Fuel temperature
55  *----------------------------------------------------------------------------*/
56 
57 void CS_PROCF (uicpi2, UICPI2) (double *const toxy,
58  double *const tfuel);
59 
60 /*=============================================================================
61  * Public function prototypes
62  *============================================================================*/
63 
64 /*-----------------------------------------------------------------------------
65  * Activate specific physical models based on XML settings.
66  *----------------------------------------------------------------------------*/
67 
68 void
70 
71 /*----------------------------------------------------------------------------
72  * Indirection between the solver numbering and the XML one
73  * for physical properties of the activated specific physics
74  * (pulverized solid fuels)
75  *----------------------------------------------------------------------------*/
76 
77 void
78 cs_gui_coal_model(void);
79 
80 /*----------------------------------------------------------------------------
81  * Gas combustion model parameters
82  *----------------------------------------------------------------------------*/
83 
84 void
86 
87 /*----------------------------------------------------------------------------
88  * Electrical model: read parameters
89  *----------------------------------------------------------------------------*/
90 
91 void
92 cs_gui_elec_model(void);
93 
94 /*----------------------------------------------------------------------------
95  * Electrical model: define plane for elreca
96  *----------------------------------------------------------------------------*/
97 
98 void
100 
101 /*-----------------------------------------------------------------------------
102  * Return the name of a thermophysical model.
103  *
104  * parameter:
105  * model_thermo --> thermophysical model category
106  *----------------------------------------------------------------------------*/
107 
108 const char *
109 cs_gui_get_thermophysical_model(const char *model_thermo);
110 
111 /*----------------------------------------------------------------------------
112  * groundwater model : read parameters
113  *
114  * parameters:
115  * permeability <-- permeability type
116  * unsteady <-- steady flow
117  * unsaturated <-- take into account unsaturated zone
118  *----------------------------------------------------------------------------*/
119 
120 void
121 cs_gui_gwf_model(int *permeability,
122  int *unsteady,
123  int *unsaturated);
124 
125 /*----------------------------------------------------------------------------*/
126 
128 
129 #endif /* __CS_GUI_SPECIFIC_PHYSICS_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:528
#define CS_PROCF(x, y)
Definition: cs_defs.h:560
#define END_C_DECLS
Definition: cs_defs.h:529
void uicpi2(double *const toxy, double *const tfuel)
Definition: cs_gui_specific_physics.c:722
void cs_gui_elec_model(void)
Definition: cs_gui_specific_physics.c:1368
void cs_gui_physical_model_select(void)
Definition: cs_gui_specific_physics.c:744
void cs_gui_gwf_model(int *permeability, int *unsteady, int *unsaturated)
Definition: cs_gui_specific_physics.c:1517
const char * cs_gui_get_thermophysical_model(const char *model_thermo)
Definition: cs_gui_specific_physics.c:1490
void cs_gui_elec_model_rec(void)
Definition: cs_gui_specific_physics.c:1451
void cs_gui_coal_model(void)
Definition: cs_gui_specific_physics.c:939
void cs_gui_combustion_gas_model(void)
Definition: cs_gui_specific_physics.c:1340