Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ModGlobal.F90
Go to the documentation of this file.
1 ! *********************************************************************
2 ! * Rocstar Simulation Suite *
3 ! * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4 ! * *
5 ! * Illinois Rocstar LLC *
6 ! * Champaign, IL *
7 ! * www.illinoisrocstar.com *
8 ! * sales@illinoisrocstar.com *
9 ! * *
10 ! * License: See LICENSE file in top level of distribution package or *
11 ! * http://opensource.org/licenses/NCSA *
12 ! *********************************************************************
13 ! *********************************************************************
14 ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15 ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16 ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17 ! * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18 ! * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19 ! * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20 ! * Arising FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21 ! * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22 ! *********************************************************************
23 ! ******************************************************************************
24 !
25 ! Purpose: Define global variables and global input data.
26 !
27 ! Description: none
28 !
29 ! Notes: none
30 !
31 ! ******************************************************************************
32 !
33 ! $Id: ModGlobal.F90,v 1.133 2009/03/02 00:19:33 mtcampbe Exp $
34 !
35 ! Copyright: (c) 2001-2005 by the University of Illinois
36 !
37 ! ******************************************************************************
38 
39 MODULE modglobal
40 
41  USE moddatatypes
42  USE modmaterials, ONLY : t_material
43 
44  IMPLICIT NONE
45 
46 ! ******************************************************************************
47 ! Type definition
48 ! ******************************************************************************
49 
50  TYPE t_global
51 
52 ! ******************************************************************************
53 ! Input
54 ! ******************************************************************************
55 
56 ! ==============================================================================
57 ! Case name, grid & solution format, directories
58 ! ==============================================================================
59 
60  LOGICAL :: calcCellCtr, calcFaceCtr
61 #ifdef RFLO
62  LOGICAL :: degenrtEc
63 #endif
64  CHARACTER(CHRLEN) :: winName,caseName
65  CHARACTER(CHRLEN) :: inDir,outDir
66  INTEGER :: gridFormat,solutFormat
67  INTEGER :: gridSource,initFlowFlag
68 
69 #ifdef GENX
70  CHARACTER(CHRLEN) :: outDirHDF
71 #ifdef PLAG
72  CHARACTER(CHRLEN) :: winp
73 #endif
74 #endif
75 
76 ! ==============================================================================
77 ! Reference values
78 ! ==============================================================================
79 
80  REAL(RFREAL) :: refVelocity,refPressure,refDensity,refCp,refGamma, &
81  refLength,refREnum,refVisc,prLam,prTurb,scnLam,scnTurb
82 
83 
84 ! ==============================================================================
85 ! Reference values for Gas-Liquid Mixture
86 ! ==============================================================================
87 
88  REAL(RFREAL) :: refBetaPLiq,refBetaTLiq,refCvLiq,refDensityLiq, &
89  refPressLiq,refTempLiq
90 
91 ! ==============================================================================
92 ! Acceleration
93 ! ==============================================================================
94 
95  LOGICAL :: accelOn
96  REAL(RFREAL) :: accelX,accelY,accelZ
97  REAL(RFREAL) :: gravity
98 
99 ! ==============================================================================
100 ! Time stepping
101 ! ==============================================================================
102 
103  LOGICAL :: dualTstSource,predCorrIter,predictSol,dtFixed
104  INTEGER :: flowType,maxSubIter,solverType,tstepOrder
105  INTEGER :: nrkSteps,currentIter,maxIter,printIter,rkScheme,writeIter
106  REAL(RFREAL) :: currentTime,dTimeSystem,dtImposed,maxTime,printTime, &
107  resTol,stopRun,timeStamp,timeStampPrep,tolSubIter, &
108  writeTime
109 
110 #ifdef RFLU
111 
112  LOGICAL :: restartFromScratch
113  INTEGER :: iterSinceRestart,restartIter
114  REAL(RFREAL) :: currentTimeRK,restartTime,timeSincePrint,timeSinceProbe, &
115  timeSinceRestart,timeSinceWrite,ZoomFactor
116 
117 ! ==============================================================================
118 ! Time Zooming
119 ! ==============================================================================
120 
121  REAL(RFREAL) :: tzMinPlane, tzMaxPlane, tzRhos, tzA, tzN, tzThroatRad, tzLenChamb, &
122  tzEpsNozz, tzVolBulk, tzDvolBulkDt, tzRadChamber, &
123  tzNozInlet, tzNozRad
124  REAL(RFREAL), POINTER :: tzCvBulk(:),tzResBarQBulk(:),tzCvdVdtBulk(:)
125  LOGICAL :: tzSubNoz
126  INTEGER :: tzCoordLong, tzCoordTrans1, tzCoordTrans2
127 
128 ! REAL(RFREAL),Dimension(CV_MIXT_DENS:CV_MIXT_ENER) :: CvBulk,resbar_Qbulk,CvdVdtBulk
129 
130 ! ==============================================================================
131 ! Constraints
132 ! ==============================================================================
133 
134  REAL(RFREAL) :: cnstrCaseRad, cnstrTol1, cnstrTol2, cnstrEllipsL, cnstrEllipsT
135  REAL(RFREAL) :: cnstrHeadEnd, cnstrAftEnd, cnstrNozY
136  REAL(RFREAL) :: cnstrLMinPlane, cnstrLMaxPlane, cnstrT1MinPlane
137  REAL(RFREAL) :: cnstrT1MaxPlane, cnstrT2MinPlane, cnstrT2MaxPlane
138  INTEGER :: cnstrCoordL, cnstrCoordT1, cnstrCoordT2
139 
140 
141 #endif
142 
143 ! ==============================================================================
144 ! Multigrid
145 ! ==============================================================================
146 
147  INTEGER :: startLevel,cycleType,refineIter
148 
149 ! ==============================================================================
150 ! Grid motion
151 ! ==============================================================================
152 
153  INTEGER :: moveGridScheme, moveGridNiter, moveGridViter, moveGridSiter
154  INTEGER :: moveGridNbour, moveGridRegNc, moveGridNsmatch, moveGridNsharedMax
155  INTEGER :: moveGridOrthDir
156  REAL(RFREAL) :: moveGridWeight, moveGridPower
157  REAL(RFREAL) :: moveGridAmplifX, moveGridAmplifY, moveGridAmplifZ
158  REAL(RFREAL) :: moveGridOrthWghtX, moveGridOrthWghtY, moveGridOrthWghtZ
159  REAL(RFREAL) :: moveGridOrthCell
160 
161 ! ==============================================================================
162 ! Probe
163 ! ==============================================================================
164 
165  LOGICAL :: probeOpenClose
166  INTEGER :: nProbes, probeSaveIter
167  INTEGER, POINTER :: probePos(:,:)
168  REAL(RFREAL) :: probeSaveTime
169  REAL(RFREAL), POINTER :: probeXYZ(:,:)
170 
171 ! ==============================================================================
172 ! Thrust
173 ! ==============================================================================
174 
175  LOGICAL :: thrustOpenClose
176  INTEGER :: thrustType,thrustPlane,thrustSaveIter
177  REAL(RFREAL) :: thrustCoord,thrustMom,thrustPamb,thrustPress, &
178  thrustSaveTime,thrustTotal
179 
180 ! ==============================================================================
181 ! Boundary conditions
182 ! ==============================================================================
183 
184 #ifdef RFLO
185  INTEGER :: infloNijk, internDeform
186  REAL(RFREAL), POINTER :: infloPlanEdges(:,:,:), xyzMinmax(:,:)
187 #endif
188 
189 #ifdef STATS
190 ! ==============================================================================
191 ! Statistics
192 ! ==============================================================================
193 
194 #ifdef GENX
195  CHARACTER(CHRLEN), POINTER :: mixtStatNm(:,:,:), turbStatNm(:,:,:), &
196  plagStatNm(:,:,:), peulStatNm(:,:,:)
197 #endif
198  INTEGER :: doStat,reStat,mixtNStat,turbNStat,plagNStat,peulNStat,statBc
199  INTEGER, POINTER :: mixtStatId(:,:),mixtStatCode(:,:,:)
200  INTEGER, POINTER :: turbStatId(:,:),turbStatCode(:,:,:)
201  INTEGER, POINTER :: plagStatId(:,:),plagStatCode(:,:,:)
202  INTEGER, POINTER :: peulStatId(:,:),peulStatCode(:,:,:)
203  REAL(RFREAL) :: integrTime
204 #endif
205 
206 ! ==============================================================================
207 ! Checking and verbosity level, warning counter
208 ! ==============================================================================
209 
210  INTEGER :: checkLevel,verbLevel,warnCounter
211 #ifdef GENX
212  INTEGER :: verbLevelCOM
213 #endif
214 
215 ! ==============================================================================
216 ! Transformation of grid and solution, enforcement of patch coordinates
217 ! ==============================================================================
218 
219  LOGICAL :: distortFlag,enforceFlag,transformFlag
220  REAL(RFREAL) :: angleX,angleY,angleZ,distortX,distortY,distortZ,scaleX, &
221  scaleY,scaleZ
222 
223 
224 ! ******************************************************************************
225 ! Variables
226 ! ******************************************************************************
227 
228 ! ==============================================================================
229 ! MPI related data
230 ! ==============================================================================
231 
232  INTEGER :: mpiComm,mpiTagMax,nProcs
233  INTEGER :: nProcAlloc,myProcid,nRegionsProc,nRequests,iRequest
234  INTEGER, POINTER :: requests(:)
235 ! INTEGER :: nProcs
236  INTEGER, DIMENSION(:), POINTER :: proc2RegMap,regMap
237  INTEGER, DIMENSION(:,:), POINTER :: proc2RegMapInfo
238 
239 ! ==============================================================================
240 ! GENX - NOTE always need to define
241 ! ==============================================================================
242 
243  CHARACTER(CHRLEN) :: surfWinName,surfWinNameInput,volWinName, &
244  volWinNameInput,winNameIn,winNameOut
245  INTEGER :: communicator,handleObtain
246  INTEGER, DIMENSION(:), POINTER :: reg2PaneMap
247 
248 ! ==============================================================================
249 ! Overall problem dimensions
250 ! ==============================================================================
251 
252  INTEGER :: nRegions,nRegionsLocal
253  INTEGER :: nLevels,nPatches
254 
255 ! ==============================================================================
256 ! Time stepping
257 ! ==============================================================================
258 
259  REAL(RFREAL) :: dtMin,dtMinLimit,residual,resInit
260 
261 ! ==============================================================================
262 ! Limiter
263 ! ==============================================================================
264 
265  REAL(RFREAL) :: limRef(3),limVolRef
266 
267 ! ==============================================================================
268 ! Optimal LES
269 ! ==============================================================================
270 
271  REAL(RFREAL) :: dissOLES,enerOLES,uVarOLES,vVarOLES,wVarOLES
272 
273 ! ==============================================================================
274 ! Error codes, function tree
275 ! ==============================================================================
276 
277  INTEGER :: error,mpierr,nFunTree
278  CHARACTER(CHRLEN) :: functionTree(2,30)
279 
280 ! ==============================================================================
281 ! Grid quality
282 ! ==============================================================================
283 
284  REAL(RFREAL) :: skewness, minVol
285 
286 ! ==============================================================================
287 ! Forces
288 ! ==============================================================================
289 
290  REAL(RFREAL) :: forceX,forceY,forceZ
291  REAL(RFREAL) :: forceRefArea,forceRefLength,forceRefXCoord,forceRefYCoord, &
292  forceRefZCoord
293 #ifdef RFLO
294  INTEGER :: forcesOn, aeroCoeffs
295  REAL(RFREAL) :: forceCoeffs(3,2), momentCoeffs(3,2)
296  REAL(RFREAL) :: acBndBoxXmin, acBndBoxYmin, acBndBoxZmin
297  REAL(RFREAL) :: acBndBoxXmax, acBndBoxYmax, acBndBoxZmax
298 #endif
299 #ifdef RFLU
300  LOGICAL :: forceFlag,patchCoeffFlag
301  INTEGER :: forceWriteCntr,thrustWriteCntr
302 #endif
303 
304 ! ==============================================================================
305 ! Mass flow
306 ! ==============================================================================
307 
308  REAL(RFREAL) :: massIn,massOut
309 
310 ! ==============================================================================
311 ! Total volume and mass
312 ! ==============================================================================
313 
314  REAL(RFREAL) :: totalMass,totalVol
315 
316 ! ==============================================================================
317 ! Material properties
318 ! ==============================================================================
319 
320  INTEGER :: nMaterials
321  TYPE(t_material), POINTER :: materials(:)
322 
323 ! ==============================================================================
324 ! Portable random number generator
325 ! ==============================================================================
326 
327  INTEGER :: randSeedOffset,randSeedType
328 
329 ! ==============================================================================
330 ! Helpful constants
331 ! ==============================================================================
332 
333  REAL(RFREAL) :: pi,rad
334 #ifdef RFLU
335  REAL(RFREAL) :: deg2rad,rad2deg
336 #endif
337 
338 ! ==============================================================================
339 ! Work-variables reserved for common use by physical modules
340 ! ==============================================================================
341 
342  REAL(RFREAL) :: moduleVar(9)
343 
344 ! ==============================================================================
345 ! Miscellaneous
346 ! ==============================================================================
347 
348  INTEGER :: progressCounter
349  INTEGER :: genxHandleBc,genxHandleGm
350  INTEGER :: moduleType
351 
352 ! ==============================================================================
353 ! Multiphysics modules
354 ! ==============================================================================
355 
356  LOGICAL :: inrtUsed,peulUsed,plagUsed,plagUsedSave,specUsed
357 
358 #ifdef PLAG
359 ! ------------------------------------------------------------------------------
360 ! Particle module
361 ! ------------------------------------------------------------------------------
362 
363  INTEGER :: initPlagFlag,nPclsCommTot,nPclsMax
364 #endif
365 
366 #ifdef PEUL
367 ! ------------------------------------------------------------------------------
368 ! Smoke module
369 ! ------------------------------------------------------------------------------
370 
371  REAL(RFREAL) :: peulResInit,peulResidual
372 #endif
373 
374 #ifdef RADI
375 ! ------------------------------------------------------------------------------
376 ! Radiation module
377 ! ------------------------------------------------------------------------------
378 
379  LOGICAL :: radiActive
380 #endif
381 
382 #ifdef SPEC
383 ! ------------------------------------------------------------------------------
384 ! Species
385 ! ------------------------------------------------------------------------------
386 
387  INTEGER :: nSpecies ! Needed for postprocessing
388 #endif
389 
390 #ifdef TURB
391 ! ------------------------------------------------------------------------------
392 ! Turbulence module
393 ! ------------------------------------------------------------------------------
394 
395  LOGICAL :: turbActive,turbCalcWDist,turbWorkUnused
396  INTEGER :: turbWorkDim,turbWallDim,turbCalcWDistFreq
397  REAL(RFREAL) :: esg1Sum,esg4Sum,esg1Psum,esg4Psum
398  REAL(RFREAL), POINTER :: turbWork1D(:)
399 #endif
400 
401 ! ==============================================================================
402 ! Preprocessing
403 ! ==============================================================================
404 
405  LOGICAL, POINTER :: prepBcDefined(:)
406 #ifdef RFLU
407  LOGICAL :: syPePatchesFlag
408  INTEGER :: prepPartMode
409 #endif
410 
411 ! ==============================================================================
412 ! Postprocessing
413 ! ==============================================================================
414 
415  INTEGER :: postPlotType
416 
417 #ifdef RFLO
418  INTEGER :: postIter,postOutFmt
419  LOGICAL :: postStatsFlag,postTurbFlag,postPlagFlag,postRadiFlag, &
420  postSpecFlag
421  REAL(RFREAL) :: postTime
422 #endif
423 #ifdef RFLU
424  LOGICAL :: postCompErrFlag,postDiscFlag,postExtractFlag,postGradFlag, &
425  postLag2EulFlag,postMergeFlag,postPlotPatchFlag, &
426  postPlotVolFlag,postSpecFlag,postVortFlag,postVortCoreFlag, &
427  postWriteMergeFlag
428  INTEGER :: postInterpOrder,postInterpType,postNFringes,postNServers, &
429  postOutputFormat,postPartNumber,postPartNumberSave,postSchType
430  REAL(RFREAL) :: postSchExp
431 #endif
432 
433 #ifdef RFLU
434 ! ==============================================================================
435 ! Picking
436 ! ==============================================================================
437 
438  LOGICAL :: pickCoordFlag
439  REAL(RFREAL) :: pickXCoordLow,pickXCoordUpp,pickYCoordLow, &
440  pickYCoordUpp,pickZCoordLow,pickZCoordUpp
441 #endif
442 
443 #ifdef RFLO
444 ! ==============================================================================
445 ! Flo2Flu conversion
446 ! ==============================================================================
447 
448  INTEGER :: tofluNPatches,tofluNHexs,tofluNVerts,tofluNbfMax,tofluNbnMax
449  INTEGER :: tofluNFaces,tofluNEdges, tofluMaxBind
450  INTEGER, POINTER :: tofluNbVerts(:),tofluNbFaces(:)
451  INTEGER, POINTER :: tofluHex2v(:,:),tofluQuad2v(:,:,:),tofluBLoc2g(:,:)
452  INTEGER, POINTER :: tofluIq(:),tofluBType(:,:)
453  REAL(RFREAL), POINTER :: tofluXyz(:,:)
454 #endif
455 
456  END TYPE t_global
457 
458 END MODULE modglobal
459 
460 ! ******************************************************************************
461 !
462 ! RCS Revision history:
463 !
464 ! $Log: ModGlobal.F90,v $
465 ! Revision 1.133 2009/03/02 00:19:33 mtcampbe
466 ! Added some ifdefs around Rocflo to disable particle injection on INFLOW
467 ! boundaries and added some checks around MPI tags utilizing a new global
468 ! data item, global%mpiTagMax.
469 !
470 ! Revision 1.132 2008/12/06 08:44:18 mtcampbe
471 ! Updated license.
472 !
473 ! Revision 1.131 2008/11/19 22:17:29 mtcampbe
474 ! Added Illinois Open Source License/Copyright
475 !
476 ! Revision 1.130 2008/01/14 22:08:57 mtcampbe
477 ! added planar constr
478 !
479 ! Revision 1.129 2007/04/14 22:36:57 mtcampbe
480 ! Updated for TZ w/generalized geometry and support for submerged nozzle
481 !
482 ! Revision 1.128 2007/04/14 14:29:10 mtcampbe
483 ! Updated for TZ and rocket case constraints
484 !
485 ! Revision 1.127 2007/03/06 23:11:38 fnajjar
486 ! Renamed nPclsTot to nPclsMax
487 !
488 ! Revision 1.126 2006/10/20 21:30:14 mparmar
489 ! Added gravity and thrustWriteCntr
490 !
491 ! Revision 1.125 2006/08/04 03:03:57 haselbac
492 ! Added grid distortion parameters
493 !
494 ! Revision 1.124 2006/05/09 23:36:56 wasistho
495 ! added dtFixed
496 !
497 ! Revision 1.123 2006/05/05 17:18:52 haselbac
498 ! Cosmetics only
499 !
500 ! Revision 1.122 2006/03/26 20:21:50 haselbac
501 ! Added reference values for GL model
502 !
503 ! Revision 1.121 2006/03/25 21:45:58 haselbac
504 ! Added syPePatchesFlag
505 !
506 ! Revision 1.120 2006/03/24 04:52:55 wasistho
507 ! added forceCoeffs and momentCoeffs in RFLO
508 !
509 ! Revision 1.119 2006/03/18 13:27:38 wasistho
510 ! added orthDir and orthWghtX,Y,Z
511 !
512 ! Revision 1.118 2006/03/18 11:04:46 wasistho
513 ! added minvol
514 !
515 ! Revision 1.117 2006/03/15 06:41:18 wasistho
516 ! added global skewness
517 !
518 ! Revision 1.116 2006/03/10 01:44:21 wasistho
519 ! changed coeffsBox to acBndBox
520 !
521 ! Revision 1.115 2006/03/10 00:56:40 wasistho
522 ! added aeroCoeffs and coeffBox
523 !
524 ! Revision 1.114 2006/03/09 19:38:15 wasistho
525 ! made forceVariables available for RFLO
526 !
527 ! Revision 1.113 2006/03/08 06:37:35 wasistho
528 ! added moveGridSiter and Viter
529 !
530 ! Revision 1.112 2006/01/06 22:10:26 haselbac
531 ! Added entry for postGradFlag
532 !
533 ! Revision 1.111 2005/12/10 23:28:51 haselbac
534 ! Renamed geom post variables to pick variables
535 !
536 ! Revision 1.110 2005/12/10 16:55:09 haselbac
537 ! Added postLag2EulFlag
538 !
539 ! Revision 1.109 2005/12/01 17:10:51 fnajjar
540 ! Added randSeedType in global
541 !
542 ! Revision 1.108 2005/10/28 22:49:48 wasistho
543 ! added moveGridOrthCell
544 !
545 ! Revision 1.107 2005/10/28 19:17:49 haselbac
546 ! Added postPlotPatchFlag
547 !
548 ! Revision 1.106 2005/10/20 06:49:08 wasistho
549 ! added calcFaceCtr
550 !
551 ! Revision 1.105 2005/10/05 20:04:39 haselbac
552 ! Added vars for ENSIGHT filter
553 !
554 ! Revision 1.104 2005/09/30 01:01:19 wasistho
555 ! added internDeform for rflo bc
556 !
557 ! Revision 1.103 2005/09/20 23:17:42 wasistho
558 ! added infloNijk for Rocflo
559 !
560 ! Revision 1.102 2005/08/28 23:47:38 wasistho
561 ! added orthoWght for block orthogonality of RFLO global-gridmotion
562 !
563 ! Revision 1.101 2005/08/25 23:05:15 wasistho
564 ! added moveGridNsharedMax
565 !
566 ! Revision 1.100 2005/08/18 19:47:04 wasistho
567 ! added moveGridNsmatch
568 !
569 ! Revision 1.99 2005/08/10 00:33:48 haselbac
570 ! Added postVortCoreFlag
571 !
572 ! Revision 1.98 2005/08/09 00:58:05 haselbac
573 ! Added patchCoeffFlag, postCompErrFlag, postWriteMergeFlag
574 !
575 ! Revision 1.97 2005/07/25 12:21:39 haselbac
576 ! Added postVortFlag, changed postSchExp to float
577 !
578 ! Revision 1.96 2005/07/05 19:27:21 haselbac
579 ! Added postSchType and postSchExp
580 !
581 ! Revision 1.95 2005/07/01 15:12:39 haselbac
582 ! Added verbLevelCOM
583 !
584 ! Revision 1.94 2005/06/25 03:16:28 wasistho
585 ! enabled nRegions /= nProcs in type 2 gridmotion
586 !
587 ! Revision 1.93 2005/06/23 01:34:48 wasistho
588 ! added moveGridNbour
589 !
590 ! Revision 1.92 2005/06/04 01:01:45 wasistho
591 ! distinguished to AMPLIFX,Y,Z
592 !
593 ! Revision 1.91 2005/06/02 22:57:29 wasistho
594 ! added moveGridAmplif and moveGridPower
595 !
596 ! Revision 1.90 2005/05/21 01:44:20 wasistho
597 ! added statBc
598 !
599 ! Revision 1.89 2005/05/18 22:06:17 fnajjar
600 ! Added vars for initial parallelization of PLAG
601 !
602 ! Revision 1.88 2005/05/03 08:14:55 wasistho
603 ! added xyzMinmax for rflo
604 !
605 ! Revision 1.87 2005/05/02 18:03:57 wasistho
606 ! added infloPlanEdges
607 !
608 ! Revision 1.86 2005/05/01 14:19:30 haselbac
609 ! Added postDiscFlag and postNFringes
610 !
611 ! Revision 1.85 2005/04/15 15:06:29 haselbac
612 ! Removed Charm/FEM variables, added winNameIn
613 !
614 ! Revision 1.84 2005/03/31 16:52:32 haselbac
615 ! Added currentTimeRK
616 !
617 ! Revision 1.83 2004/12/29 23:26:39 wasistho
618 ! prepared statistics for PLAG and PEUL
619 !
620 ! Revision 1.82 2004/11/17 16:29:01 haselbac
621 ! Added rkScheme
622 !
623 ! Revision 1.81 2004/10/26 15:17:12 haselbac
624 ! Added postExtractFlag
625 !
626 ! Revision 1.80 2004/10/21 15:32:32 haselbac
627 ! Added reg2PaneMap
628 !
629 ! Revision 1.79 2004/10/19 19:28:42 haselbac
630 ! Added GENX variables, clean-up
631 !
632 ! Revision 1.78 2004/10/09 16:34:28 fnajjar
633 ! Added initialization flag for PLAG
634 !
635 ! Revision 1.77 2004/08/21 00:30:01 wasistho
636 ! added logical degenrtEc
637 !
638 ! Revision 1.76 2004/08/18 02:08:56 wasistho
639 ! added new toflu variables
640 !
641 ! Revision 1.75 2004/08/17 00:55:08 wasistho
642 ! prepared for utilities/rocflo/toflu
643 !
644 ! Revision 1.74 2004/07/28 15:29:20 jferry
645 ! created global variable for spec use
646 !
647 ! Revision 1.73 2004/07/27 20:39:59 wasistho
648 ! added pointer prepBcDefined(:)
649 !
650 ! Revision 1.72 2004/07/25 05:03:15 wasistho
651 ! fixed bug postSpecFlag already made general
652 !
653 ! Revision 1.71 2004/07/24 03:46:51 wasistho
654 ! define global variables for Rocflo-post
655 !
656 ! Revision 1.70 2004/07/21 14:55:12 haselbac
657 ! Added postInterpType
658 !
659 ! Revision 1.69 2004/07/02 22:03:05 fnajjar
660 ! Added winp for PLAG running in Gen3
661 !
662 ! Revision 1.68 2004/06/16 20:00:51 haselbac
663 ! Added variables, cosmetics
664 !
665 ! Revision 1.67 2004/06/07 23:06:53 wasistho
666 ! added mixtStatNm and turbStatNm
667 !
668 ! Revision 1.66 2004/04/20 20:44:51 wasistho
669 ! added calcTurbWDistFreq within ifdef TURB
670 !
671 ! Revision 1.65 2004/03/05 22:09:01 jferry
672 ! created global variables for peul, plag, and inrt use
673 !
674 ! Revision 1.64 2004/02/26 21:16:17 wasistho
675 ! added esg1Sum, esg4Sum, esg1Psum, esg4Psum
676 !
677 ! Revision 1.63 2004/01/29 22:57:21 haselbac
678 ! Added deg2rad and rad2deg
679 !
680 ! Revision 1.62 2003/11/21 22:38:21 fnajjar
681 ! Added Random Seed Offset and Active flags for PLAG and PEUL
682 !
683 ! Revision 1.61 2003/10/29 21:38:52 haselbac
684 ! Added new global variables for time stepping
685 !
686 ! Revision 1.60 2003/10/15 02:41:26 haselbac
687 ! Added dtMinLimit and field flag for min dt location
688 !
689 ! Revision 1.59 2003/10/07 20:30:08 wasistho
690 ! rocturb work space made from 2D to 1D
691 !
692 ! Revision 1.57 2003/08/28 20:05:39 jblazek
693 ! Added acceleration terms.
694 !
695 ! Revision 1.56 2003/08/11 21:50:00 jblazek
696 ! Splitted ModInterfaces into 4 sections.
697 !
698 ! Revision 1.55 2003/08/07 15:31:55 haselbac
699 ! Added and changed var names
700 !
701 ! Revision 1.54 2003/08/01 22:11:48 wasistho
702 ! radiWrite/turbWrite to radiActive/turbActive
703 !
704 ! Revision 1.53 2003/07/22 03:22:24 wasistho
705 ! Added logical write-parameter for RADI and TURB
706 !
707 ! Revision 1.52 2003/07/22 02:00:30 haselbac
708 ! Added postInterOrder and warnCounter
709 !
710 ! Revision 1.51 2003/07/03 21:48:45 jblazek
711 ! Implemented dual-time stepping.
712 !
713 ! Revision 1.50 2003/06/02 17:11:32 jblazek
714 ! Added computation of thrust.
715 !
716 ! Revision 1.49 2003/05/29 17:28:43 jblazek
717 ! Implemented Roe scheme.
718 !
719 ! Revision 1.48 2003/05/05 18:40:39 haselbac
720 ! Added plotType
721 !
722 ! Revision 1.47 2003/05/01 14:08:30 haselbac
723 ! Added fieldFlagCntr
724 !
725 ! Revision 1.46 2003/04/29 21:49:36 haselbac
726 ! Added surfDiverFlag
727 !
728 ! Revision 1.45 2003/04/28 22:41:32 haselbac
729 ! Added vars for post and prep modules
730 !
731 ! Revision 1.44 2003/04/12 21:37:08 haselbac
732 ! FEMRocfluGrid now under global
733 !
734 ! Revision 1.43 2003/04/07 14:22:57 haselbac
735 ! Added field flag for probe positions
736 !
737 ! Revision 1.42 2003/04/04 21:05:00 jblazek
738 ! Corrected bug in dumping out the solution.
739 !
740 ! Revision 1.41 2003/03/29 03:27:26 wasistho
741 ! install ROCPERI
742 !
743 ! Revision 1.40 2003/03/15 17:45:54 haselbac
744 ! Added more field flags, removed splitFace
745 !
746 ! Revision 1.39 2003/03/11 15:57:46 jferry
747 ! Created data type for material properties
748 !
749 ! Revision 1.38 2003/02/11 22:52:50 jferry
750 ! Initial import of Rocsmoke
751 !
752 ! Revision 1.37 2003/02/05 21:07:30 jblazek
753 ! Coordinated stop of a run works now for MPI.
754 !
755 ! Revision 1.36 2003/02/01 00:29:36 haselbac
756 ! Added enforceFlag, transformFlag now LOGICAL
757 !
758 ! Revision 1.35 2003/01/30 19:07:05 haselbac
759 ! Added timeStampPrep variable
760 !
761 ! Revision 1.34 2003/01/23 17:48:53 jblazek
762 ! Changed algorithm to dump convergence, solution and probe data.
763 !
764 ! Revision 1.33 2002/12/02 20:10:41 jblazek
765 ! Moved RFLU_ModGrid inside ifdef RFLU in ScaleGridSpeeds.
766 !
767 ! Revision 1.32 2002/11/15 21:24:41 haselbac
768 ! Changed field flag for integrals and added totalMass, totalVol
769 !
770 ! Revision 1.31 2002/11/08 21:23:50 haselbac
771 ! Added fieldFlagMass
772 !
773 ! Revision 1.30 2002/11/02 01:53:57 wasistho
774 ! Added TURB statistics
775 !
776 ! Revision 1.29 2002/09/20 22:22:35 jblazek
777 ! Finalized integration into GenX.
778 !
779 ! Revision 1.28 2002/09/11 17:04:39 jblazek
780 ! Added number of current predictor-corrector cycle.
781 !
782 ! Revision 1.27 2002/09/11 16:29:00 jblazek
783 ! Integrated into GENX.
784 !
785 ! Revision 1.26 2002/09/09 14:53:16 haselbac
786 ! Added several variables for OLES
787 !
788 ! Revision 1.25 2002/09/05 17:40:20 jblazek
789 ! Variable global moved into regions().
790 !
791 ! Revision 1.24 2002/08/30 01:47:58 jblazek
792 ! Added support for moving grids.
793 !
794 ! Revision 1.23 2002/08/15 19:48:05 jblazek
795 ! Implemented grid deformation capability.
796 !
797 ! Revision 1.22 2002/07/25 15:14:36 haselbac
798 ! Added progress counter
799 !
800 ! Revision 1.21 2002/07/12 21:50:07 jblazek
801 ! Added tool to split single grid into multiple regions.
802 !
803 ! Revision 1.20 2002/06/14 21:34:32 wasistho
804 ! Added time avg statistics
805 !
806 ! Revision 1.19 2002/06/14 20:16:01 haselbac
807 ! Added nRegionsLocal (as ModLocal deleted) and nPatches
808 !
809 ! Revision 1.18 2002/06/07 16:40:37 jblazek
810 ! Grid & solution for all regions in one file.
811 !
812 ! Revision 1.17 2002/05/07 18:52:53 haselbac
813 ! Added transformation variables
814 !
815 ! Revision 1.16 2002/04/11 18:51:16 haselbac
816 ! Added flag for initialization of solution
817 !
818 ! Revision 1.15 2002/03/29 23:15:22 jblazek
819 ! Corrected bug in MPI send.
820 !
821 ! Revision 1.14 2002/03/26 19:17:05 haselbac
822 ! Added gridSource and changed dimensions of probeXYZ to 2
823 !
824 ! Revision 1.13 2002/03/18 23:07:19 jblazek
825 ! Finished multiblock and MPI.
826 !
827 ! Revision 1.12 2002/03/01 16:48:06 haselbac
828 ! Added nLevels
829 !
830 ! Revision 1.11 2002/02/21 23:25:05 jblazek
831 ! Blocks renamed as regions.
832 !
833 ! Revision 1.10 2002/02/09 01:47:01 jblazek
834 ! Added multi-probe option, residual smoothing, physical time step.
835 !
836 ! Revision 1.9 2002/01/31 20:23:59 jblazek
837 ! Added treatment of edge & corner cells.
838 !
839 ! Revision 1.8 2002/01/16 22:03:34 jblazek
840 ! Added time-stepping routines.
841 !
842 ! Revision 1.7 2002/01/11 17:20:19 jblazek
843 ! Added time stamp or iteration number to file names.
844 !
845 ! Revision 1.6 2002/01/10 18:21:29 jblazek
846 ! Added iteration number and initial residual to solution file.
847 !
848 ! Revision 1.5 2002/01/02 16:20:19 jblazek
849 ! Added flow initialization and dummy cell geometry.
850 !
851 ! Revision 1.4 2001/12/21 23:06:15 haselbac
852 ! Added nRegionsProc for ROCFLU
853 !
854 ! Revision 1.3 2001/12/19 23:09:21 jblazek
855 ! Added routines to read grid and solution.
856 !
857 ! Revision 1.2 2001/12/04 16:43:27 jblazek
858 ! Makefiles modified because the modules Global, BndPatch and Grid moved
859 ! to the modfloflu directory.
860 !
861 ! Revision 1.1 2001/12/04 00:07:00 jblazek
862 ! Modules BndPatch, Global and Grid moved to modfloflu directory.
863 !
864 ! Revision 1.1.1.1 2001/12/03 21:44:05 jblazek
865 ! Import of RocfluidMP
866 !
867 ! ******************************************************************************
868 
869 
870 
871 
872 
873