7.1
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-2021 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 
37 /*----------------------------------------------------------------------------*/
38 
40 
41 /*============================================================================
42  * Type definitions
43  *============================================================================*/
44 
45 /*============================================================================
46  * Static global variables
47  *============================================================================*/
48 
49 /*============================================================================
50  * Public function prototypes for Fortran API
51  *============================================================================*/
52 
53 /*----------------------------------------------------------------------------
54  * Boundary conditions treatment
55  *
56  * Remember: rdoccl[k][j][i] = rcodcl[ k * dim1 *dim2 + j *dim1 + i]
57  *
58  * Fortran Interface:
59  *
60  * subroutine uiclim
61  * *****************
62  *----------------------------------------------------------------------------*/
63 
64 void CS_PROCF (uiclim, UICLIM)(const int *nozppm,
65  int *iqimp,
66  int *icalke,
67  int *ientat,
68  int *ientcp,
69  int *inmoxy,
70  int *ientox,
71  int *ientfu,
72  int *ientgf,
73  int *ientgb,
74  int *iprofm,
75  int *iautom,
76  int *itypfb,
77  int *izfppp,
78  int *icodcl,
79  double *qimp,
80  double *qimpat,
81  double *qimpcp,
82  double *dh,
83  double *xintur,
84  double *timpat,
85  double *timpcp,
86  double *tkent,
87  double *fment,
88  double *distch,
89  int *nvar,
90  double *rcodcl);
91 
92 /*----------------------------------------------------------------------------
93  * Boundary conditions input verification
94  *
95  * Fortran Interface:
96  *
97  * SUBROUTINE UICLVE
98  * *****************
99  *
100  * integer nozppm <-- max number of boundary conditions zone
101  *----------------------------------------------------------------------------*/
102 
103 void CS_PROCF (uiclve, UICLVE)(const int *nozppm);
104 
105 /*=============================================================================
106  * Public function prototypes
107  *============================================================================*/
108 
109 /*----------------------------------------------------------------------------*/
116 /*----------------------------------------------------------------------------*/
117 
118 void
120 
121 /*----------------------------------------------------------------------------*/
125 /*----------------------------------------------------------------------------*/
126 
127 void
129 
130 /*----------------------------------------------------------------------------*/
131 
133 
134 #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:2613
double precision, dimension(nozppm), save xintur
turbulent intensity (k=1.5(uref*xintur)**2)
Definition: ppincl.f90:753
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:1505
integer, dimension(nozppm), save ientfu
Definition: coincl.f90:82
integer, dimension(nozppm), save ientox
Definition: coincl.f90:82
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:108
integer, dimension(nozppm), save ientat
Definition: cpincl.f90:249
integer, dimension(nozppm), save ientgb
Definition: coincl.f90:107
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:107
void cs_gui_boundary_conditions_free_memory(void)
Free GUI boundary condition structures.
Definition: cs_gui_boundary_conditions.c:2802
double precision, dimension(nozppm, ncharm), save timpcp
Definition: cpincl.f90:273
double precision, dimension(nozppm), save dh
hydraulic diameter
Definition: ppincl.f90:756
integer, dimension(nozppm), save icalke
condition type turbulence indicator
Definition: ppincl.f90:750
integer, dimension(:), pointer, save itypfb
Definition: pointe.f90:100
double precision, dimension(nozppm), save tkent
Definition: coincl.f90:108
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:2550
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:744
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:108
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