1
!-------------------------------------------------------------------------------
3
! This file is part of the Code_Saturne Kernel, element of the
4
! Code_Saturne CFD tool.
6
! Copyright (C) 1998-2009 EDF S.A., France
8
! contact: saturne-support@edf.fr
10
! The Code_Saturne Kernel is free software; you can redistribute it
11
! and/or modify it under the terms of the GNU General Public License
12
! as published by the Free Software Foundation; either version 2 of
13
! the License, or (at your option) any later version.
15
! The Code_Saturne Kernel is distributed in the hope that it will be
16
! useful, but WITHOUT ANY WARRANTY; without even the implied warranty
17
! of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
! GNU General Public License for more details.
20
! You should have received a copy of the GNU General Public License
21
! along with the Code_Saturne Kernel; if not, write to the
22
! Free Software Foundation, Inc.,
23
! 51 Franklin St, Fifth Floor,
24
! Boston, MA 02110-1301 USA
26
!-------------------------------------------------------------------------------
29
!===============================================================================
32
! NFECRA : UNITE SORTIE STD
33
! IWARNI : NIVEAU D'IMPRESSION
35
integer nfecra,iwarni(nvarmx)
36
common / icontr / nfecra,iwarni
38
! --- FICHIER GEOMETRIE
41
common / ageotl / ficgeo
44
common / igeotl / impgeo
46
! --- FICHIER SUITE AMONT
48
! FICAMO --> fichier suite de base
49
! FICAMX --> fichier suite auxiliaire
50
! FICMT1 --> fichier suite module thermique 1D
51
! FICMCT --> fichier suite module aerorefrigerants
52
! FICMVO,IMPMVO --> fichier suite methode des vortex (ASCII
53
! obligatoirement, structure specifique)
54
! IMPDVO --> fichier de donnees de la methode des vortex
55
! (nom FICDAT laisse a l'utilisateur dans usvort)
57
character*13 ficamo,ficamx,ficmt1,ficmct,ficmvo
58
common / afamon / ficamo,ficamx,ficmt1,ficmct,ficmvo
60
integer impmvo, impdvo
61
common / ifamon / impmvo, impdvo
63
! --- FICHIERS SUITE AVAL
65
! FICAVA --> fichier suite de base
66
! FICAVX --> fichier suite auxiliaire
67
! FICVT1 --> fichier suite module thermique 1D
68
! FICVCT --> fichier suite module aerorefrigerants
69
! FICVVO,IMPVVO --> fichier suite methode des vortex (ASCII
70
! obligatoirement, structure specifique)
73
character*13 ficava,ficavx,ficvt1,ficvct,ficvvo
74
common / afaval / ficava,ficavx,ficvt1,ficvct,ficvvo
76
integer ntsuit, impvvo
77
common / ifaval / ntsuit, impvvo
79
! --- FICHIER SUITE AMONT RAYONNEMENT
82
common / afamrd / ficamr
84
! --- FICHIER SUITE AVAL RAYONNEMENT
87
common / afavrd / ficavr
90
common / ifavrd / ntsuir
96
common / afarre / ficstp
99
common / ifarre / impstp
101
! --- LECTURE PREPROCESSEUR
104
common / ifenvp / ifoenv
106
! --- SORTIES POST TRAITEMENT (via FVM)
108
! ICHRVL : Post traitement du domaine fluide
109
! ICHRBO : Post traitement du bord du domaine
110
! ICHRSY : Post traitement des zones de bord couplees avec SYRTHES
111
! ICHRZE : Post traitement des zones d'echange aerorefrigerants
112
! ICHRMD : Indique si les maillages ecrits seront :
114
! 1 : deformables a topologie constante,
115
! 2 : modifiables (pourront etre completement redefinis
116
! en cours de calcul via le sous-programme USMPST),
117
! 10 : comme INDMOD = 0, avec champ de deplacement,
118
! 11 : comme INDMOD = 1, avec champ de deplacement,
119
! 12 : comme INDMOD = 2, avec champ de deplacement.
120
! NTCHR : frequence de sortie par defaut ( > 0 ou -1 (a la fin) )
121
! ICHRVR : on sort la variable (1) ou non (0) ou non initialise
122
! FMTCHR : format de sortie ('EnSight Gold', 'MED_fichier', 'CGNS')
123
! OPTCHR : options associees au format de sortie
125
integer ichrvl, ichrbo, ichrsy, ichrze, &
126
ichrmd, ntchr , ichrvr(nvppmx)
127
common / iepost / ichrvl, ichrbo, ichrsy, ichrze, &
128
ichrmd, ntchr, ichrvr
132
common / aepost / fmtchr, optchr
134
! --- FICHIER THERMOPHYSIQUE SPECIFIQUE PHYSIQUE PARTICULIERE
136
! IMP --> Unite logique du fichier
137
! FPP --> Fichier utilisateur lorsqu'on utilise Janaf
139
! JON --> Utilisation de Janaf ou non
143
common / afcppp / ficfpp, ficjnf
145
integer impfpp, impjnf, indjon
146
common / ifcppp / impfpp, impjnf, indjon
148
! --- INPUT FILES FOR THE ATMOSPHERIC SPECIFIC PHYSICS
149
! IMPMET --> logical unit of the meteo profile file
150
! FICMET --> name of the meteo profile file
153
common / ifcmet / impmet
156
common / afcmet / ficmet
158
! --- FICHIERS HISTORIQUES
160
! IMPHIS : fichier stock + unite d'ecriture des variables
161
! EMPHIS : EMPlacement
162
! PREHIS : PREfixe des fichiers
163
! EXTHIS : EXTension des fichiers
164
! IMPUSH : Unite fichiers specifiques ushist
165
! FICUSH : Nom fichiers specifiques ushist
166
! IMPSTH : fichier stock + unite d'ecriture des variables
167
! des structures mobiles
169
character*80 emphis, prehis, exthis
170
common / avhist / emphis, prehis, exthis
172
character*13 ficush(nushmx)
173
common / afhist / ficush
175
integer imphis(2), impush(nushmx), impsth(2)
176
common / ifhist / imphis, impush, impsth
178
! NCAPT : nombre de sondes total (limite a NCAPTM)
179
! NTHIST : Frequence de sortie
180
! ( > 0 ou -1 (jamais) ou non initialise -999)
181
! NTHSAV : Frequence de sauvegarde
182
! ( > 0 ou -1 (a la fin) ou non initialise -999)
183
! IHISVR : nb de sonde et numero par variable
184
! (-999 non initialise)
185
! IHISTR : indicateur d'ecriture des historiques des structures
186
! mobiles internes (=0 ou 1)
187
! NCAPT : nombre de sondes total (limite a NCAPTM)
188
! NODCAP : element correspondant aux sondes
189
! NDRCAP : rang processus contenant NODCAP (parallelisme)
190
! XYZCAP : position demandee des sondes
192
integer ncapt, nthist, nthsav, &
193
ihisvr(nvppmx,ncaptm+1), ihistr, &
194
nodcap(ncaptm), ndrcap(ncaptm)
196
common / ivhist / ncapt , nthist, nthsav, &
200
double precision xyzcap(3,ncaptm)
201
common / rvhist / xyzcap
204
! --- FICHIERS LAGRANGIENS
206
! - FICHIER SUITE ET SUITE STATISTISQUE AMONT LAGRANGIEN
208
character*13 ficaml, ficmls
209
common / afamla / ficaml, ficmls
211
! - FICHIER SUITE ET SUITE STATISTISQUE AVAL LAGRANGIEN
213
character*13 ficavl, ficvls
214
common / afavla / ficavl, ficvls
217
! - FICHIER LISTING LAGRANGIEN
219
! FICLAL : Nom du fichier
220
! IMPLAL : Unite du fichier
221
! NTLAL : Periode de sortie du listing
223
common / afalal / ficlal
225
integer implal, ntlal
226
common / ifalal / implal, ntlal
228
! - FICHIER HISTORIQUE LAGRANGIEN
230
integer impli1, impli2
231
common / ifalah / impli1, impli2
233
! - AUTRES FICHIERS LAGRANGIEN
235
integer impla1 , impla2 , impla3 , impla4 , impla5(15)
236
common / ifalag / impla1 , impla2 , impla3 , impla4 , impla5
239
! --- FICHIERS UTILISATEURS
241
character*13 ficusr(nusrmx)
242
common / afuser / ficusr
244
integer impusr(nusrmx)
245
common / ifuser / impusr
248
! --- SORTIES LISTING
251
! IPP* : Pointeurs de reperage des variables pour les sorties
252
! NOMVAR : Nom des variables
253
! ILISVR : on suit la variable (1) ou non (0) ou non initialise
254
! ITRSVR : numero de variable si IPP correspond a une variable resolue (p,u,k...)
255
! 0 si IPP correspond a une variable annexe (cp, mut...)ou a rien
256
! NTLIST : periode ecriture
257
! ( -1 : dernier pas de temps : > 0 : periode)
259
integer ipprtp(nvarmx), &
262
ipptx , ippty , ipptz , &
264
common / ipntpp / ipprtp , &
267
ipptx , ippty , ipptz , &
270
character*80 nomvar(nvppmx)
271
common / anampp / nomvar
273
integer ilisvr(nvppmx),itrsvr(nvppmx)
274
common / ipostp / ilisvr ,itrsvr
278
common / ilisti / ntlist
280
! PARAMETRES DE SUIVI DE CALCUL, MIN-MAX, CLIPMIN, CLIPMAX
282
integer iclpmn(nvppmx) , iclpmx(nvppmx)
283
common / isuivi / iclpmn , iclpmx
285
double precision varmin(nvppmx) , varmax(nvppmx), &
286
varmna(nvppmx) , varmxa(nvppmx)
287
common / rsuivi / varmin , varmax, &
291
! PARAMETRES DE CONVERGENCE, NORME DU SECOND MEMBRE, NOMBRE ITERATIONS
292
! RESIDU NORME, DERIVE
294
integer nbivar(nvppmx)
295
common / iconvg / nbivar
297
double precision rnsmbr(nvppmx) , &
298
resvar(nvppmx) , dervar(nvppmx)
299
common / rconvg / rnsmbr , &
303
! PARAMETRES DU PAS DE TEMPS LOCAL =
304
! NB COURANT, FOURIER ET COMBINE MIN ET MAX + POINTS ASSOCIES
305
! PTPLOC(.,1) = NOMBRE , PTPLOC(.,2 3 et 4) = POINT ASSOCIE
306
! PTPLOC(1 2,.) = COURANT MIN/MAX
307
! PTPLOC(3 4,.) = FOURIER MIN/MAX
308
! PTPLOC(5 6,.) = COU/FOU MIN/MAX
309
! PTPLOC(7 8,.) = DT MIN/MAX
310
! NCLPTR = NB DE CLIPPINGS PAR LE PDT MAX LIE AUX EFFETS DE DENSITE
311
! RPDTRO = RAPPORT MAX ENTRE DT ET DTmax LIE AUX EFFETS DE DENSITE
315
common / iptloc / nclptr
317
double precision ptploc(8,4), rpdtro(4)
318
common / rptloc / ptploc, rpdtro
321
! PARAMETRES DES SORTIES AU BORD =
323
! IPSTDV = PROPRIETES POST TRAITEES
324
! IPSTDV EST LE PRODUIT DES VALEURS ENTIERES SUIVANTES (NOMBRES PREMIERS) :
326
! IPSTCL => VARIABLES NON RECONSTRUITES (suffisant pour Dirichlet)
327
! IPSTFT => FLUX THERMIQUE RECONSTRUIT
329
! SI IPSTDV = 1 = PAS DE SORTIE
333
common / iipstd / ipstdv
338
double precision tmarus
339
common / temcpu / tmarus