My Project
programmer's documentation
Loading...
Searching...
No Matches
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-2019 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 * Static global variables
46 *============================================================================*/
47
48/*============================================================================
49 * Public function prototypes for Fortran API
50 *============================================================================*/
51
52/*----------------------------------------------------------------------------
53 * Boundary conditions treatment
54 *
55 * Remember: rdoccl[k][j][i] = rcodcl[ k * dim1 *dim2 + j *dim1 + i]
56 *
57 * Fortran Interface:
58 *
59 * subroutine uiclim
60 * *****************
61 *----------------------------------------------------------------------------*/
62
63void CS_PROCF (uiclim, UICLIM)(const int *idarcy,
64 const int *nozppm,
65 const int *ncharm,
66 const int *ncharb,
67 const int *nclpch,
68 int *iqimp,
69 int *icalke,
70 int *ientat,
71 int *ientcp,
72 int *inmoxy,
73 int *ientox,
74 int *ientfu,
75 int *ientgf,
76 int *ientgb,
77 int *iprofm,
78 int *iautom,
79 int *itypfb,
80 int *izfppp,
81 int *icodcl,
82 double *qimp,
83 double *qimpat,
84 double *qimpcp,
85 double *dh,
86 double *xintur,
87 double *timpat,
88 double *timpcp,
89 double *tkent,
90 double *fment,
91 double *distch,
92 int *nvar,
93 double *rcodcl);
94
95/*----------------------------------------------------------------------------
96 * Boundary conditions input verification
97 *
98 * Fortran Interface:
99 *
100 * SUBROUTINE UICLVE
101 * *****************
102 *
103 * integer nozppm <-- max number of boundary conditions zone
104 * integer itypfb <-- type of boundary for each face
105 * integer izfppp <-- zone number
106 *----------------------------------------------------------------------------*/
107
108void CS_PROCF (uiclve, UICLVE)(const int *nozppm,
109 int *itypfb,
110 int *izfppp);
111
112/*=============================================================================
113 * Public function prototypes
114 *============================================================================*/
115
116/*----------------------------------------------------------------------------
117 * Free boundary conditions structures
118 *
119 * parameters:
120 * ncharb <-- number of coals
121 *----------------------------------------------------------------------------*/
122
123void
125
126/*----------------------------------------------------------------------------*/
127
129
130#endif /* __CS_GUI_BOUNDARY_CONDITION_H__ */
#define BEGIN_C_DECLS
Definition cs_defs.h:467
#define CS_PROCF(x, y)
Definition cs_defs.h:481
#define END_C_DECLS
Definition cs_defs.h:468
void uiclim(const int *idarcy, const int *nozppm, const int *ncharm, const int *ncharb, const int *nclpch, 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:1529
void cs_gui_boundary_conditions_free_memory(void)
Definition cs_gui_boundary_conditions.c:2812
void uiclve(const int *nozppm, int *itypfb, int *izfppp)
Definition cs_gui_boundary_conditions.c:2652
integer, dimension(nozppm), save iprofm
iprofm --> read zone boundary conditions from profile
Definition atincl.f90:124
integer, dimension(:), allocatable iautom
iautom --> automatic inlet/outlet boundary condition flag (0: not auto (default); 1,...
Definition atincl.f90:131
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:752
integer, dimension(nozppm), save icalke
condition type turbulence indicator
Definition ppincl.f90:758
double precision, dimension(nozppm), save dh
hydraulic diameter
Definition ppincl.f90:764
double precision, dimension(nozppm), save xintur
turbulent intensity (k=1.5(uref*xintur)**2)
Definition ppincl.f90:761
integer idarcy
pointer to specify richards model
Definition ppincl.f90:238
integer, dimension(:), pointer izfppp
to identify boundary zones associated with boundary faces (specific physics models)
Definition pointe.f90:108
integer, dimension(:), pointer, save itypfb
boundary condition type at the boundary face ifac (see user subroutine cs_user_boundary_conditions)
Definition pointe.f90:100
integer, save nvar
number of solved variables (must be lower than nvarmx)
Definition dimens.f90:42
integer nozppm
maximum index of boundary zones
Definition ppppar.f90:45
integer ncharm
maximum number of coals
Definition ppppar.f90:55
integer, dimension(nozppm), save ientox
Definition coincl.f90:82
double precision, dimension(nozppm), save tkent
Definition coincl.f90:108
integer, dimension(nozppm), save ientgb
Definition coincl.f90:107
double precision, dimension(nozppm), save fment
Definition coincl.f90:108
integer, dimension(nozppm), save ientgf
Definition coincl.f90:107
integer, dimension(nozppm), save ientfu
Definition coincl.f90:82
double precision, dimension(nozppm), save qimp
Definition coincl.f90:108
double precision, dimension(nozppm, ncharm), save timpcp
Definition cpincl.f90:273
integer, save ncharb
Number of coals.
Definition cpincl.f90:51
double precision, dimension(nozppm), save timpat
Definition cpincl.f90:250
integer, dimension(nozppm), save ientat
Definition cpincl.f90:249
integer, dimension(ncharm), save nclpch
Number of classes per coal.
Definition cpincl.f90:58
double precision, dimension(nozppm, ncharm, ncpcmx), save distch
Definition cpincl.f90:274
integer, dimension(nozppm), save ientcp
Definition cpincl.f90:249
double precision, dimension(nozppm, ncharm), save qimpcp
Definition cpincl.f90:273
double precision, dimension(nozppm), save qimpat
Definition cpincl.f90:272
integer, dimension(nozppm), save inmoxy
Definition ppcpfu.f90:179