xref: /phasta/phSolver/common/common.h (revision d06028c1ed09954bf598b0145fe1ac8aecabad11)
1 c----------------------------------------------------------------------
2 c
3 c This file contains the common blocks and the data declaration needed
4 c for the routines.
5 c
6 c Input variables that have been previously declared in common_c.h have to be
7 c re-declared here, in a consistant block.
8 c
9 c Zdenek Johan, Winter 1991.  (Fortran 90)
10 c----------------------------------------------------------------------
11 
12 	IMPLICIT REAL*8 (a-h,o-z)
13 c
14 c.... parameters  IF YOU CHANGE THES YOU HAVE TO CHANGE THEM IN
15 c                  common_c.h ALSO
16 c
17         parameter     ( MAXBLK = 50000, MAXTS = 100)
18         parameter     ( MAXSH = 32, NSD = 3 , NSDSQ = 9)
19 c
20 c  The five types of region topology are  1= Tet, 2=Hex, 3= Wedge (tri-start),
21 c                                         4= Wedge (quad-first) 5=pyramid
22 c
23 c  The two types of face topology are  1= tri, 2=quad
24 c
25         parameter     ( MAXTOP = 6, MAXSURF=1000 )
26 
27 c the common block nomodule holds all the things which have been removed
28 c from different modules
29 
30         integer seqsize, stepseq
31         integer consrv_sclr_conv_vel
32         integer spongecontinuity, spongemomentum1, spongemomentum2
33         integer spongeenergy, spongemomentum3
34         integer*8 nshgt,minowned, maxowned
35 	common /amgvarr/strong_eps,ramg_eps,ramg_relax,ramg_trunc,
36      &              ramg_chebyratio
37 	common /amgvari/irun_amg,irun_amg_prec,
38      &                  iamg_verb,
39      &                  iamg_neg_sten,iamg_nlevel,
40      &                  iamg_c_solver,
41      &                  iamg_init,
42      &        iamg_setup_frez,
43      &        iamg_interp,maxnev,maxncv,iamg_smoother,mlsdeg,
44      &        iamg_reduce
45 
46         common /nomodule/ bcttimescale,ValueListResist(0:MAXSURF),
47      &  rhovw,thicknessvw, evw, rnuvw, rshearconstantvw, betai,
48      &  icardio, itvn, ipvsq, numResistSrfs, nsrflistResist(0:MAXSURF),
49      &  numImpSrfs, nsrflistImp(0:MAXSURF),impfile,
50      &  numRCRSrfs, nsrflistRCR(0:MAXSURF),ircrfile,
51      &  ideformwall, iwallmassfactor, iwallstiffactor, iviscflux
52         common /sequence/ seqsize, stepseq(100)
53 	common /workfc/ master, numpe, myrank
54 	common /fronts/ maxfront, nlwork
55 	common /newdim/ nshgt, minowned,maxowned, numper, nshg0
56 	common /timer4/ birth, death, comtim
57         common /extrat/ ttim(100)
58         common /spongevar/ zoutSponge, radSponge, zinSponge,
59      &            grthOSponge,grthISponge,betamax,
60      &            spongecontinuity, spongemomentum1, spongemomentum2,
61      &            spongeenergy, spongemomentum3
62         common /turbvar/ eles,ylimit(3,9), rampmdot(2,3),
63      &                   rmutarget, pzero,  wtavei,
64      &                   dtavei, dke,  fwr1, flump, DES_SA_hmin,
65      &                   ierrcalc, ihessian, itwmod, ngaussf,idim,
66      &                   nlist, nintf(MAXTOP)
67         common /turbvari/iRANS, iLES, idistcalc, isubmod, ifproj,
68      &                   i2filt, modlstats, idis, nohomog,
69      &                   ierrsmooth, iramp
70         common /mpistats/iISend, iISendScal, iIRecv, iIRecvScal,
71      &                   iWaitAll,iWaitAllScal, iAllR, iAllRScal,
72      &                   impistat, impistat2, rmpitmr,
73      &                   rISend, rISendScal, rIRecv, rIRecvScal,
74      &                   rWaitAll, rWaitAllScal, rAllR, rAllRScal,
75      &                   rCommu, rCommuScal
76 
77         common /memstats/rheap,rheapavail,rstack,rstackavail,rshared,
78      &                   rpersist,rguard,rmmap,rmemstats
79 
80         common /spebcvr/ irscale, intpres, plandist,
81      &            thetag, ds, tolerence, radcyl, rbltin, rvscal
82 
83         common /sclrs/ scdiff(5),tdecay,nsclr,isclr,nsolt,nosource,
84      &            consrv_sclr_conv_vel
85 c
86 c.... common blocks
87 c
88       parameter (MAXQPT = 125)
89 c
90 c.... common blocks for hierarchic basis functions
91 c
92       common /intpt/  Qpt (MAXTOP ,4,MAXQPT), Qwt (MAXTOP ,MAXQPT),
93      &                Qptb(MAXTOP,4,MAXQPT),  Qwtb(MAXTOP,MAXQPT),
94      &                nint(MAXTOP),           nintb(MAXTOP),
95      &                ngauss,                 ngaussb,   intp,
96      &                   maxnint
97 
98 c nsrflist is a binary switch that tells us if a given srfID should be
99 c included in the consistent flux calculation.  It starts from zero
100 c since we need to be able to handle/ignore surfaces with no srfID attached
101 c
102 c flxID(numfluxes,nIDs+1)
103 c numfluxes = area, mass, fx, fy, fz, heat, scalar_flux_{1,2,3,4}
104 c nIDs currently set to MAXSURF, each surface has its own
105 c
106         common /aerfrc/ flxID(10,0:MAXSURF), Force(3),HFlux,
107      &                  nsrflist(0:MAXSURF), isrfIM,
108      &                  flxIDsclr(4,MAXSURF),
109      &                  irankfilesforce(0:MAXSURF)
110 c
111         common /blkdat/ lcblk(10,MAXBLK+1),      lcblkb(10,MAXBLK+1)
112 c
113         common /mbndnod/ mnodeb(9,8,3)
114 c
115 	integer, target :: numnp,  numel,  numelb, numpbc, nen,    nfaces,
116      &                  numflx, ndof,   nelblk, nelblb,ntopsh, nlwork,
117      &                  nedof,
118      &                  nshg,   nnz,    nflow,
119      &                  nfath, ncorpsize, iownnodes, usingpetsc, numerr
120 
121         common /conpar/ numnp,  numel,  numelb, numpbc, nen,    nfaces,
122      &                  numflx, ndof,   iALE,   icoord, navier,
123      &                  irs,    iexec,  necho,  ichem,  iRK,    nedof,
124      &                  nshg,   nnz,    istop,  nflow,  nnz_tot, idtn,
125      &                  ncorpsize, iownnodes, usingpetsc, numerr
126 c......................NASA Inlet Woolwine.................................
127         common /nasavari/ BCdtKW, tsBase
128         common /nasavar/  PresFreq, PresAmp, AlphaFreq, AlphaAmp
129 c..........................................................................
130 c...........................................................................
131         common /ctrlvari/ iI2Binlet, isetOutPres, isetInitial
132 
133         common /Ductvari/  BlowingVelDuct,
134      &                    BlowingIniMdotDuct,
135      &                    BlowingFnlMdotDuct,
136      &                    suctionVbottom,
137      &                    suctionVside_lower,
138      &                    suctionVside_upper,
139      &                    suctionVtop,
140      &                    blowerVelocity,
141      &                    blowerTemperature,
142      &                    blowerEV,
143      &                    isetOutletID,
144      &                    isetInitial_Duct,
145      &                    isetInlet_Duct,
146      &                    isetSuctionID_Duct,
147      &                    isetBlowerID_Duct,
148      &                    iDuctgeometryType,
149      &                    iStraightPrint,
150      &                    isetEV_IC_BC,
151      &                    isetEVramp,
152      &                    isetBlowing_Duct,
153      &                    ifixBlowingVel_Duct,
154      &                    nBlowingStepsDuct
155         real*8 inletVelX
156         common /ctrlvar/  inletVelX,   outPres1,
157      &                    xvel_ini,    yvel_ini,    zvel_ini,
158      &                    temp_ini,    pres_ini,    evis_ini
159 
160         common /Ductvar/   evis_IC_BC,
161      &                    EVrampXmin,
162      &                    EVrampXmax,
163      &                    EVrampMin,
164      &                    EVrampMax
165 c...........................................................................
166 
167 c
168         common /levlset/ epsilon_ls, epsilon_lsd, dtlset, iLSet,
169      &                   ivconstraint, iExpLSSclr1, iExpLSSclr2
170 
171 c
172         common /shpdat/ nshape, nshapeb, maxshb,
173      &                  nshl, nshlb,nfath,  ntopsh,  nsonmax
174 c
175         common /melmcat/ mcsyst, melCat, nenCat(8,3),    nfaCat(8,3)
176 c
177         common /elmpar/ lelCat, lcsyst, iorder, nenb,
178      &                  nelblk, nelblb, ndofl,  nsymdl, nenl,   nfacel,
179      &                  nenbl,  intind, mattyp
180 c
181 
182         integer EntropyPressure
183 
184         common /genpar/ E3nsd,  I3nsd,  nsymdf, ndofBC, ndiBCB, ndBCB,
185      &                  Jactyp, jump,   ires,   iprec,  iprev,  ibound,
186      &                  idiff,  lhs,    itau,   ipord,  ipred,  lstres,
187      &                  iepstm, dtsfct, taucfct, ibksiz, iabc, isurf,
188      &                  idflx,  Bo,     EntropyPressure, irampViscOutlet,
189      &                  istretchOutlet, iremoveStabTimeTerm, iLHScond
190 
191 c
192         integer :: svLSType, svLSFlag
193         common /inpdat/ epstol(6),  Delt(MAXTS),    CFLfl(MAXTS),
194      &                  CFLsl(MAXTS),   nstep(MAXTS),   niter(MAXTS),
195      &                  impl(MAXTS),    rhoinf(MAXTS),
196      &                  LHSupd(6),  loctim(MAXTS),  deltol(MAXTS,2),
197      &                  leslib,     svLSFlag,   svLSType
198 c
199         common /intdat/ intg(2,MAXTS),  intpt(3),       intptb(3)
200 c
201         common /mintpar/ indQpt(3,3,4),  numQpt(3,3,4),
202      &                  intmax
203 c
204         common /mio    / iin,    igeom,  ipar,   ibndc,  imat,   iecho,
205      &                  iout,   ichmou, irstin, irstou, ihist,  iflux,
206      &                  ierror, itable, iforce, igraph, itime
207 c
208 c /*         common /andres/ fwr1,ngaussf,idim,nlist */
209 
210         character*80    fin,    fgeom,  fpar,   fbndc,  fmat,   fecho,
211      &                  frstin, frstou, fhist,  ferror, ftable, fforce,
212      &                  fgraph, ftime,  iotype
213         common /mioname/ fin,    fgeom,  fpar,   fbndc,  fmat,   fecho,
214      &                  frstin, frstou, fhist,  ferror, ftable, fforce,
215      &                  fgraph, ftime
216 c
217         common /itrpar/ eGMRES, lGMRES, lGMRESs, iKs, iKss,    ntotGM, ntotGMs
218 c
219         REAL*8          Nh, Msh
220         common /mmatpar/ pr,     Planck, Stefan, Nh,     Rh,     Rgas,
221      &                  gamma,  gamma1, s0,     const,  xN2,    xO2,
222      &                  yN2,    yO2,    Msh(5), cpsh(5),s0sh(5),h0sh(5),
223      &                  Rs(5),  cps(5), cvs(5), h0s(5), Trot(5),sigs(5),
224      &                  Tvib(5),g0s(5), dofs(5),ithm
225 c
226         logical         mexist
227         common /matdat/ datmat(3,7,MAXTS),      matflg(6,MAXTS),
228      &                  nummat,                 mexist
229 
230         integer input_mode, output_mode
231         common /outpar/ ro,     vel,    temper, press,  entrop, ntout,
232      &                  ioform, iowflux, iofieldv, iotype, ioybar,
233      &                  nstepsincycle, nphasesincycle,
234      &                  ncycles_startphaseavg, ivort, icomputevort,
235      &                  nsynciofiles, nsynciofieldswriterestart,
236      &                  iv_rankpercore, iv_corepernode,
237      &                  input_mode, output_mode
238 
239         common /point / mbeg,   mend,   mprec
240 c
241         common /precis/ epsM,   iabres
242 c
243         common /propar/ npro
244 c
245         common /resdat/ resfrt(2), resfrts
246 c
247         common /solpar/ imap,   ivart,  iDC,    iPcond, Kspace, nGMRES,
248      &                  iconvflow, iconvsclr, idcsclr(2)
249 c
250         common /msympar/ indsym(5,5)
251 c
252         common /timdat/ time,   CFLfld, CFLsld, Dtgl,   Dtmax,  alpha,
253      &                  etol,   lstep,  ifunc,  itseq,  istep,  iter,
254      &                  nitr,   almi,   alfi,   gami,   flmpl,  flmpr,
255      &                  dtol(2), iCFLworst, lskeep
256 c
257         common /timpar/ LCtime, ntseq
258 c
259         common /incomp/ numeqns(100), minIters, maxIters,
260      &                  iprjFlag,     nPrjs,    ipresPrjFlag, nPresPrjs,
261      &                  prestol,      statsflow(6), statssclr(6),
262      &                  iverbose
263 c
264         character(8) :: ccode(13)
265         common /mtimer1/ ccode
266 c
267         integer       flops,  gbytes, sbytes
268         common /mtimer2/ flops,  gbytes, sbytes, iclock, icd,    icode,
269      &                  icode2, icode3
270 c
271         common /timer3/ cpu(11),        cpu0(11),       nacess(11)
272 c
273         character*80    title,  ititle
274         common /title / title,  ititle
275 c
276         character*8     machin
277         parameter     ( machin = 'RS/6000 ' )
278         parameter     ( machfl = 4 )
279 
280         parameter
281      &           ( zero   = 0.0000000000000000000000000000000d0,
282      &             pt125  = 0.1250000000000000000000000000000d0,
283      &             pt25   = 0.2500000000000000000000000000000d0,
284      &             pt33   = 0.3333333333333333333333333333333d0,
285      &             pt39   = 0.3968502629920498686879264098181d0,
286      &             pt5    = 0.5000000000000000000000000000000d0,
287      &             pt57   = 0.5773502691896257645091487805020d0,
288      &             pt66   = 0.6666666666666666666666666666667d0,
289      &             pt75   = 0.7500000000000000000000000000000d0,
290      &             one    = 1.0000000000000000000000000000000d0,
291      &             sqt2   = 1.4142135623730950488016887242097d0,
292      &             onept5 = 1.5000000000000000000000000000000d0,
293      &             two    = 2.0000000000000000000000000000000d0,
294      &             three  = 3.0000000000000000000000000000000d0,
295      &             four   = 4.0000000000000000000000000000000d0,
296      &             five   = 5.0000000000000000000000000000000d0,
297      &             pi     = 3.1415926535897932384626433832795d0,
298      &             inv1024sq = 9.5367431640625e-7)
299 
300 c
301 c----------------------------------------------------------------------
302 c
303 c.... element pointers
304 c
305 c mmat   (MAXBLK)  : pointer to interior element material number
306 c mmatb  (MAXBLK)  : pointer to boundary element material number
307 c mien   (MAXBLK)  : pointer to ien array
308 c mienb  (MAXBLK)  : pointer to ienb array
309 c miBCB  (MAXBLK)  : pointer to iBCB array
310 c mDt    (MAXBLK)  : pointer to Dt array
311 c mDC    (MAXBLK)  : pointer to DC array
312 c mBCB   (MAXBLK)  : pointer to BCB array
313 c mstiff (MAXBLK)  : pointer to stiff array
314 c
315 c----------------------------------------------------------------------
316 c
317 c.... common /aerfrc/   : aerodynamic forces
318 c
319 c Force(3)      : components of the aerodynamic forces
320 c HFlux         : total heat flux
321 c
322 c.... common /blkdat/   : blocking data
323 c
324 c lcblk  (10,MAXBLK+1) : blocking data for the interior elements
325 c lcblkb (10,MAXBLK+1) : blocking data for the boundary elements
326 c
327 c----------------------------------------------------------------------
328 c
329 c.... common /bndnod/   : boundary nodes of boundary elements
330 c
331 c mnodeb (9,8,3) : boundary nodes of each element category and dimension
332 c
333 c----------------------------------------------------------------------
334 c
335 c.... common /conpar/   : input constants
336 c
337 c numnp         : number of nodal points
338 c numel         : number of elements
339 c numelb        : number of boundary elements
340 c numpbc        : number of nodes having a boundary condition
341 c nen           : maximum number of element nodes
342 c nfaces        : maximum number of element faces
343 c nsd           : number of space dimensions
344 c numflx        : number of flux boundary nodes
345 c ndof          : number of degrees of freedom per node
346 c iALE          : ALE formulation flag
347 c icoord        : coordinate system flag
348 c navier        : Navier-Stokes calculation flag
349 c irs           : restart option
350 c iexec         : execute flag
351 c necho         : input echo parameter
352 c ichem         : equilibrium chemistry flag (for outchem.step dump)
353 c iRK           : Runge-Kutta flag
354 c nshg          : global number of shape functions (degrees of freedom,
355 c                 or equations). Computed from the specified p-order,
356 c                 the number of edges, and the number of faces (in the
357 c                 entire mesh)
358 c
359 c----------------------------------------------------------------------
360 c
361 c.... common /elmcat/   : element category information
362 c
363 c mcsyst        : maximum number of element coordinate system
364 c melCat        : maximum number of element categories
365 c nenCat (8,3)  : number of nodes for each category and dimension
366 c nfaCat (8,3)  : number of faces for each category and dimension
367 c
368 c----------------------------------------------------------------------
369 c
370 c.... common /elmpar/   : element parameters
371 c
372 c lelCat        : element category (P1, Q1, P2, Q2, etc.)
373 c lcsyst        : element coordinate system
374 c iorder        : element order (=k for Pk and Qk)
375 c nenb          : number of element nodes per boundary sides
376 c maxsh         : total number integration points
377 c maxshb        : total number integration points of boundary elements
378 c nelblk        : number of element blocks
379 c nelblb        : number of boundary element blocks
380 c ndofl         : number of degrees of freedom (for current block)
381 c nsymdl        : number of d.o.f for symm. storage (for current block)
382 c nenl          : number of element nodes (for current block)
383 c nfacel        : number of element faces (for current block)
384 c nenbl         : number of boundary element nodes
385 c intind        : integration data index
386 c nintg         : number of integration points
387 c mattyp        : material type ( = 0 for fluid; = 1 for solid )
388 c
389 c----------------------------------------------------------------------
390 c
391 c.... common /genpar/   : control parameters
392 c
393 c E3nsd         : NSD .eq. 3 flag; 0. for 2D, 1. for 3D
394 c I3nsd         : NSD .eq. 3 flag; 0  for 2D, 1  for 3D
395 c nsymdf        : number of d.o.f.'s in symm. storage (= ndof*(ndof+1)/2)
396 c ndofBC        : dimension size of the boundary condition array BC
397 c ndiBCB        : dimension size of the boundary condition array iBCB
398 c ndBCB         : dimension size of the boundary condition array BCB
399 c Jactyp        : Jacobian type flag
400 c jump          : jump term computation flag
401 c ires          : residual type computation flag
402 c iprec         : block-diagonal preconditioner flag
403 c iprev         : ypl array allocation flag
404 c ibound        : boundary element flag
405 c idiff         : diffusive flux vector flag
406 c                 ( = 0 not used; = 1 global reconstruction )
407 c itau          : type of tau to be used
408 c iLHScond      : add contributiosn from the heat flux BC to the LHS
409 c                 tangency matrix.
410 c
411 c----------------------------------------------------------------------
412 c
413 c.... common /inpdat/   : time sequence input data
414 c
415 c epstol (MAXTS)  : tolerance for GMRES solvers
416 c Delt   (MAXTS)  : global time step
417 c CFLfl  (MAXTS)  : CFL number for fluid flow
418 c CFLsl  (MAXTS)  : CFL number for structural heating
419 c nstep  (MAXTS)  : number of time steps
420 c niter  (MAXTS)  : number of iterations per time step
421 c impl   (MAXTS)  : solver flag
422 c iturb  (MAXTS)  : turbulence model flag
423 c rhoinf (MAXTS)  : time integration spectral radius paramter
424 c                             (0=Gears       1= trapezoidal rule)
425 c LHSupd (MAXTS)  : LHS/preconditioner update
426 c loctim (MAXTS)  : local time stepping flag
427 c
428 c----------------------------------------------------------------------
429 c
430 c.... common /intdat/   : integration data
431 c
432 c intg  (2,MAXTS) : integration parameters
433 c intpt (3)       : integration pointers
434 c intptb(3)       : integration pointers of boundary elements
435 c
436 c----------------------------------------------------------------------
437 c
438 c.... common /shpdat/   : hierarchic shape function quadrature data
439 c
440 c Qpt  (3,MAXQPT)  : interior element quadrature points (xi,eta,zeta)
441 c Qwt  (MAXQPT)    : interior element quad. weights
442 c Qptb (2,MAXQPT)  : boundary element quad. pnts.
443 c Qwtb (MAXQPT)    : boundary element quad. weights
444 c nshape           : number of interior element shape functions
445 c nshapeb          :   "    "  boundary  "        "       "
446 c ngauss           : number of interior element integration points
447 c ngaussb          :   "    "  boundary  "        "           "
448 c----------------------------------------------------------------------
449 c
450 c.... common /intpar/   : integration parameters
451 c
452 c Qpt   (4,*)   : xi, eta, zeta, weight of quadrature points
453 c indQpt(3,3,4) : index to quadrature points for a given rule
454 c numQpt(3,3,4) : number of quadrature points for a given rule
455 c intmax        : number of allowable spatial integ. points per nsd
456 c
457 c----------------------------------------------------------------------
458 c
459 c.... common /io    /   : io channels
460 c
461 c iin           : input  (main parameters)          [INPUT.DAT]
462 c igeom         : input  (problem geometry)         [GEOM.DAT]
463 c ipar          : in/out (spectral mapping)         [PARTITION.DAT]
464 c ibndc         : input  (problem boundary cond.)   [BC.DAT]
465 c imat          : input  (element material types)   [MATERIAL.DAT]
466 c iecho         : output (echo of input)            [ECHO.DAT]
467 c iout          : output (result output)            [OUTPUT.lstep]
468 c ichmou        : output (chemistry output)         [OUTCHM.lstep]
469 c irstin        : input  (input restart)            [RESTAR.INP]
470 c irstou        : output (output restart)           [RESTAR.OUT]
471 c ihist         : output (history output)           [HISTOR.DAT]
472 c iflux         : output (boundary flux)            [FLUX.lstep]
473 c ierror        : output (error messages)           [ERROR.DAT]
474 c itable        : input  (equilibrium chemistry)    [TABLE.DAT]
475 c iforce        : output (aerodynamic forces)       [FORCES.DAT]
476 c
477 c----------------------------------------------------------------------
478 c
479 c.... common /ioname/   : io file names
480 c
481 c fin           : input.dat
482 c fgeom         : geom.dat
483 c fpar          : partition.dat
484 c fbndc         : bc.dat
485 c fmat          : material.dat
486 c fecho         : echo.dat
487 c frstin        : restar.inp
488 c frstou        : restar.out
489 c fhist         : histor.dat
490 c ferror        : error.dat
491 c ftable        : table.dat
492 c fforce        : forces.dat
493 c
494 c----------------------------------------------------------------------
495 c
496 c.... common /itrpar/   : Preconditioned GMRES parameters
497 c
498 c eGMRES        : finite difference interval
499 c lGMRES        : number of GMRES cycles
500 c iKs           : current Krylov vector
501 c ntotGM        : total number of GMRES iterations
502 c
503 c----------------------------------------------------------------------
504 c
505 c.... common /itrpnt/   : Preconditioned GMRES array pointers
506 c
507 c mHBrg         : pointer to Hessenberg matrix
508 c meBrg         : pointer to Hessenberg's RHS matrix
509 c myBrg         : pointer to minimize solution matrix
510 c mRcos         : pointer to Rotation Cosine of QR algorithm
511 c mRsin         : pointer to Rotation Sine   of QR algorithm
512 c
513 c----------------------------------------------------------------------
514 c
515 c.... common /matpar/   : material constants
516 c
517 c pr            : Prandtl number
518 c Planck        : Planck's constant
519 c Stefan        : Stefan's constant (for radiation)
520 c Nh            : Avogadro's number
521 c Rh            : universal gas constant
522 c Rgas          : specific gas constant
523 c gamma         : specific heat ratio
524 c gamma1        : gamma - 1
525 c s0            : reference specific entropy
526 c const         : special constant
527 c xN2           : mole fraction of diatomic nitrogen
528 c xO2           : mole fraction of diatomic oxygen
529 c yN2           : mole fraction of diatomic nitrogen
530 c yO2           : mole fraction of diatomic oxygen
531 c Msh  (5)      : molar mass of species
532 c cpsh (5)      : molar heat at constant pressure of species
533 c s0sh (5)      : molar reference entropy of species
534 c h0sh (5)      : molar heat of formation of species
535 c Rs   (5)      : specific gas constant of species
536 c cps  (5)      : specific heat at constant pressure of species
537 c cvs  (5)      : specific heat at constant volume of species
538 c h0s  (5)      : specific heat of formation of species
539 c Trot (5)      : characteristic rotational temperature of species
540 c sigs (5)      : symmetry factor of species
541 c Tvib (5)      : characteristic vibrational temperature of species
542 c g0s  (5)      : ground degeneracy of electronic energy
543 c dofs (5)      : degrees of freedom of species
544 c ithm          : thermodynamic property flag
545 c
546 c----------------------------------------------------------------------
547 c
548 c.... common /matdat/   : material data
549 c
550 c datmat (3,5,2) : material data
551 c matflg (5,100)   : material type flag
552 c nummat           : number of materials
553 c mexist           : flag indicating the presence of MATERIAL.DAT
554 c
555 c----------------------------------------------------------------------
556 c
557 c.... common /outpar/   : output parameters
558 c
559 c ro            : density     rescaling factor for output
560 c vel           : velocity    rescaling factor for output
561 c temper        : temperature rescaling factor for output
562 c press         : pressure    rescaling factor for output
563 c entrop        : entropy     rescaling factor for output
564 c ntout         : number of steps between consecutive printouts
565 c ioform        : output I/O format
566 c
567 c----------------------------------------------------------------------
568 c
569 c.... common /point /   : dynamic storage pointer management data
570 c
571 c mbeg          : pointer to the beginning of the free storage
572 c mend          : pointer to the end of the storage
573 c mprec         : precision of the floating point data
574 c
575 c----------------------------------------------------------------------
576 c
577 c.... common /precis/   : finite difference interval data
578 c
579 c epsM          : square root of machine precision
580 c iabres        : absolute value residual flag
581 c
582 c----------------------------------------------------------------------
583 c
584 c....common /propar/    : processor related information
585 c
586 c npro          : number of virtual processors for the current block
587 c
588 c----------------------------------------------------------------------
589 c
590 c....common /resdat/    : residual statistics data
591 c
592 c resfrt        : first residual of convergence
593 c
594 c----------------------------------------------------------------------
595 c
596 c.... common /solpar/   : solution parameters
597 c
598 c imap          : permutation mapping flag
599 c ivart         : variational formulation type
600 c iDC           : DC type
601 c iPcond        : type of preconditioner
602 c Kspace        : dimension of Krylov space
603 c nGMRES        : maximum number of GMRES iterations
604 c
605 c----------------------------------------------------------------------
606 c
607 c.... common /sympar/   : symmetric storage parameters
608 c
609 c indsym (5,5)  : mapping from 2D storage to symmetric one
610 c
611 c----------------------------------------------------------------------
612 c
613 c.... common /timdat/   : time data
614 c
615 c time          : current run time
616 c CFLfld        : CFL number for fluid flow
617 c CFLsld        : CFL number for structural heating
618 c Dtgl          : inverse of global time step
619 c Dtmax         : maximum delta-time
620 c alpha         : trapezoidal rule parameter
621 c etol          : epsilon tolerance for GMRES
622 c lstep         : current time step
623 c ifunc         : func. eval. counter (=niter*(lstep-lstep0) + iter)
624 c itseq         : sequence number
625 c istep         : step number (reseted at the beginning of the run)
626 c iter          : iteration number
627 c nitr          : number of multi-corrector iterations for this sequence
628 c
629 c----------------------------------------------------------------------
630 c
631 c.... common /timpar/   : time integration parameters
632 c
633 c LCtime        : local time stepping flag
634 c ntseq         : number of time sequences
635 c
636 c----------------------------------------------------------------------
637 c
638 c.... common /timer1/   : timer parameters
639 c.... common /timer2/   : timer parameters
640 c.... common /timer3/   : timer parameters
641 c
642 c ccode(13)     : timing entities codes
643 c flops         : flop counter
644 c gbytes        : byte counter for gather operation
645 c sbytes        : byte counter for scatter operation
646 c iclock        : wall-clock time (in milliseconds)
647 c icd           : number of timing entities
648 c icode         : current timer code
649 c icode2        : last timer code
650 c icode3        : next-to-last timer code
651 c cpu(11)       : cpu time of each entity
652 c cpu0(11)      : initial cpu time of each entity
653 c nacess(11)    : number of times each entity is accessed
654 c
655 c----------------------------------------------------------------------
656 c
657 c.... common /title /   : problem title
658 c
659 c title         : problem title
660 c ititle        : problem title (with form feed)
661 c
662 c----------------------------------------------------------------------
663 c
664 c.... common /avging / : nfath
665 c
666 c nfath         : total number of global fathers over which certain
667 c                 quantities will be averaged
668 c
669 c----------------------------------------------------------------------
670 c
671 c.... parameters        : machine data
672 c
673 c machin        : machine type
674 c                  (set parameter)
675 c machfl        : single precision floating point lenght in bytes
676 c                  (set parameter)
677 c
678 c----------------------------------------------------------------------
679 c
680 c.... parameters        : useful constants
681 c
682 c zero          : 0.0
683 c pt125         : 0.125
684 c pt25          : 0.25
685 c pt33          : 0.33 (1/3)
686 c pt39          : 2^(-4/3)
687 c pt5           : 0.5
688 c pt57          : 1/sqrt(3)
689 c pt66          : 0.66 (2/3)
690 c pt75          : 0.75
691 c one           : 1.0
692 c sqt2          : sqrt(2)
693 c onept5        : 1.5
694 c two           : 2.0
695 c three         : 3.0
696 c four          : 4.0
697 c five          : 5.0
698 c pi            : the magical number :-)
699 c
700 c----------------------------------------------------------------------
701 c
702 c Zdenek Johan, Winter 1991.
703 c
704 c----------------------------------------------------------------------
705