7.2
general documentation
cs_gui_boundary_conditions.h
Go to the documentation of this file.
1 #ifndef __CS_GUI_BOUNDARY_CONDITION_H__
2 #define __CS_GUI_BOUNDARY_CONDITION_H__
3 
4 /*============================================================================
5  * Management of the GUI parameters file: boundary conditions
6  *============================================================================*/
7 
8 /*
9  This file is part of code_saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2022 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 #include "cs_boundary.h"
36 #include "cs_zone.h"
37 
38 /*----------------------------------------------------------------------------*/
39 
41 
42 /*============================================================================
43  * Type definitions
44  *============================================================================*/
45 
46 /*============================================================================
47  * Static global variables
48  *============================================================================*/
49 
50 /*============================================================================
51  * Public function prototypes for Fortran API
52  *============================================================================*/
53 
54 /*----------------------------------------------------------------------------
55  * Boundary conditions treatment
56  *
57  * Remember: rdoccl[k][j][i] = rcodcl[ k * dim1 *dim2 + j *dim1 + i]
58  *
59  * Fortran Interface:
60  *
61  * subroutine uiclim
62  * *****************
63  *----------------------------------------------------------------------------*/
64 
65 void CS_PROCF (uiclim, UICLIM)(const int *nozppm,
66  int *iqimp,
67  int *icalke,
68  int *ientat,
69  int *ientcp,
70  int *inmoxy,
71  int *ientox,
72  int *ientfu,
73  int *ientgf,
74  int *ientgb,
75  int *iprofm,
76  int *iautom,
77  int *itypfb,
78  int *izfppp,
79  int *icodcl,
80  double *qimp,
81  double *qimpat,
82  double *qimpcp,
83  double *dh,
84  double *xintur,
85  double *timpat,
86  double *timpcp,
87  double *tkent,
88  double *fment,
89  double *distch,
90  int *nvar,
91  double *rcodcl);
92 
93 /*----------------------------------------------------------------------------
94  * Boundary conditions input verification
95  *
96  * Fortran Interface:
97  *
98  * SUBROUTINE UICLVE
99  * *****************
100  *
101  * integer nozppm <-- max number of boundary conditions zone
102  *----------------------------------------------------------------------------*/
103 
104 void CS_PROCF (uiclve, UICLVE)(const int *nozppm);
105 
106 /*=============================================================================
107  * Public function prototypes
108  *============================================================================*/
109 
110 /*----------------------------------------------------------------------------*/
117 /*----------------------------------------------------------------------------*/
118 
119 void
121 
122 /*----------------------------------------------------------------------------*/
126 /*----------------------------------------------------------------------------*/
127 
128 void
130 
131 /*----------------------------------------------------------------------------*/
132 
134 
135 #endif /* __CS_GUI_BOUNDARY_CONDITION_H__ */
void cs_gui_boundary_conditions_define(cs_boundary_t *bdy)
Define boundary conditions based on setup file.
Definition: cs_gui_boundary_conditions.c:3475
double precision, dimension(nozppm), save xintur
turbulent intensity (k=1.5(uref*xintur)**2)
Definition: ppincl.f90:808
void uiclim(const int *nozppm, int *iqimp, int *icalke, int *ientat, int *ientcp, int *inmoxy, int *ientox, int *ientfu, int *ientgf, int *ientgb, int *iprofm, int *iautom, int *itypfb, int *izfppp, int *icodcl, double *qimp, double *qimpat, double *qimpcp, double *dh, double *xintur, double *timpat, double *timpcp, double *tkent, double *fment, double *distch, int *nvar, double *rcodcl)
Definition: cs_gui_boundary_conditions.c:2823
integer, dimension(nozppm), save ientfu
Definition: coincl.f90:83
integer, dimension(nozppm), save ientox
Definition: coincl.f90:83
integer, dimension(nozppm), save iprofm
read zone boundary conditions from profile
Definition: atincl.f90:151
double precision, dimension(nozppm, ncharm), save qimpcp
Definition: cpincl.f90:273
#define BEGIN_C_DECLS
Definition: cs_defs.h:510
double precision, dimension(nozppm), save fment
Definition: coincl.f90:155
integer, dimension(nozppm), save ientat
Definition: cpincl.f90:249
integer, dimension(nozppm), save ientgb
Definition: coincl.f90:154
double precision, dimension(nozppm), save timpat
Definition: cpincl.f90:250
Structure storing information related to the "physical" boundaries associated with the computational ...
Definition: cs_boundary.h:155
integer nozppm
maximum index of boundary zones
Definition: ppppar.f90:45
integer, dimension(:), allocatable, target iautom
automatic inlet/outlet boundary condition flag (0: not auto (default); 1,2: auto) When meteo momentum...
Definition: atincl.f90:159
integer, dimension(nozppm), save ientgf
Definition: coincl.f90:154
void cs_gui_boundary_conditions_free_memory(void)
Free GUI boundary condition structures.
Definition: cs_gui_boundary_conditions.c:3664
double precision, dimension(nozppm, ncharm), save timpcp
Definition: cpincl.f90:273
double precision, dimension(nozppm), save dh
hydraulic diameter
Definition: ppincl.f90:811
integer, dimension(nozppm), save icalke
condition type turbulence indicator
Definition: ppincl.f90:805
integer, dimension(:), pointer, save itypfb
Definition: pointe.f90:100
double precision, dimension(nozppm), save tkent
Definition: coincl.f90:155
integer, dimension(nozppm), save ientcp
Definition: cpincl.f90:249
integer, save nvar
number of solved variables (must be lower than nvarmx)
Definition: dimens.f90:42
double precision, dimension(nozppm), save qimpat
Definition: cpincl.f90:272
void uiclve(const int *nozppm)
Definition: cs_gui_boundary_conditions.c:3412
integer, dimension(nozppm), save iqimp
imposed flow zone indicator in a way which is similar to the process described in the framework of th...
Definition: ppincl.f90:799
double precision, dimension(nozppm, ncharm, ncpcmx), save distch
Definition: cpincl.f90:274
#define END_C_DECLS
Definition: cs_defs.h:511
double precision, dimension(nozppm), save qimp
Definition: coincl.f90:155
integer, dimension(nozppm), save inmoxy
Definition: ppcpfu.f90:179
#define CS_PROCF(x, y)
Definition: cs_defs.h:524
integer, dimension(:), pointer izfppp
to identify boundary zones associated with boundary faces (specific physics models) ...
Definition: pointe.f90:108