65 CHARACTER(*),
INTENT(IN) :: casename
73 CHARACTER(CHRLEN) :: rcsidentstring
79 rcsidentstring =
'$RCSfile: RFLU_InitGlobal.F90,v $ $Revision: 1.52 $'
91 global%casename = casename
93 global%verbLevel = verblevel
95 global%verbLevelCOM = 0
98 global%checkLevel = check_high
103 global%nRegionsLocal = 1
104 global%nRegionsProc = 1
110 global%gridFormat = format_ascii
111 global%solutFormat = format_ascii
117 global%nProcAlloc = 1
118 global%myProcid = masterproc
120 global%mpierr = err_none
126 global%flowType = flow_steady
127 global%solverType = solv_explicit
129 global%currentIter = 0
130 global%iterSinceRestart = 0
131 global%maxIter = 10000
133 global%restartIter = 0
134 global%resTol = 1.0e-5_rfreal
135 global%writeIter = 1000
137 global%currentTime = 0.0_rfreal
138 global%currentTimeRK = 0.0_rfreal
139 global%dtImposed = 1.0e-5_rfreal
140 global%dtMinLimit = 1.0e-10_rfreal
141 global%maxTime = 1.0e-4_rfreal
142 global%printTime = 1.0e-12_rfreal
143 global%restartTime = 0.0_rfreal
144 global%timeSinceRestart = 0.0_rfreal
145 global%timeSincePrint = 0.0_rfreal
146 global%timeSinceProbe = 0.0_rfreal
147 global%timeSinceWrite = 0.0_rfreal
148 global%writeTime = 5.0e-5_rfreal
150 global%rkScheme = rk_scheme_4_classical
153 global%timeStamp = 0.0e+0_rfreal
156 global%restartFromScratch = .false.
158 global%dualTstSource = .false.
164 global%dissOLES = 0.0_rfreal
165 global%enerOLES = 0.0_rfreal
167 global%progressCounter = 1
178 global%integrTime = 0.0_rfreal
185 global%error = err_none
191 global%pi = 4.0_rfreal*atan(1.0_rfreal)
192 global%rad2deg = 180.0_rfreal/global%pi
193 global%deg2rad = 1.0_rfreal/global%rad2deg
194 global%rad = global%deg2rad
200 global%startLevel = 1
201 global%cycleType = mgcycle_no
202 global%refineIter = 9999999
208 global%refVelocity = 100.0_rfreal
209 global%refPressure = 1.0e+5_rfreal
210 global%refDensity = 1.2_rfreal
211 global%refCp = 1004.5_rfreal
212 global%refGamma = 1.4_rfreal
213 global%refLength = 1.0_rfreal
214 global%refREnum = 100.0_rfreal
215 global%prLam = 0.72_rfreal
216 global%prTurb = 0.9_rfreal
217 global%scnLam = 0.22_rfreal
218 global%scnTurb = 0.9_rfreal
224 global%refBetaPLiq = 4.5e-7_rfreal
225 global%refBetaTLiq = -4.5e-7_rfreal
226 global%refCvLiq = 4179.0_rfreal
227 global%refDensityLiq = 1000.0_rfreal
228 global%refPressLiq = 1.0e+5_rfreal
229 global%refTempLiq = 273.0_rfreal
235 global%transformFlag = .false.
236 global%distortFlag = .false.
237 global%enforceFlag = .false.
239 global%angleX = 0.0_rfreal
240 global%angleY = 0.0_rfreal
241 global%angleZ = 0.0_rfreal
242 global%scaleX = 1.0_rfreal
243 global%scaleY = 1.0_rfreal
244 global%scaleZ = 1.0_rfreal
245 global%distortX = 1.0_rfreal
246 global%distortY = 1.0_rfreal
247 global%distortZ = 1.0_rfreal
255 global%probeSaveIter = 1
256 global%probeSaveTime = 0.0_rfreal
262 global%accelOn = .false.
263 global%forceFlag = .false.
264 global%patchCoeffFlag = .true.
266 global%forceWriteCntr = 0
267 global%thrustWriteCntr = 0
269 global%accelX = 0.0_rfreal
270 global%accelY = 0.0_rfreal
271 global%accelZ = 0.0_rfreal
273 global%gravity = 9.81_rfreal
275 global%forceRefArea = 1.0_rfreal
276 global%forceRefLength = 1.0_rfreal
277 global%forceRefXCoord = 0.0_rfreal
278 global%forceRefYCoord = 0.0_rfreal
279 global%forceRefZCoord = 0.0_rfreal
285 global%randSeedOffset = 0
286 global%randSeedType = rand_seed_type_fixed
292 global%inrtUsed = .false.
293 global%peulUsed = .false.
294 global%plagUsed = .false.
295 global%specUsed = .false.
297 global%plagUsedSave = global%plagUsed
307 global%resInit = 0.0_rfreal
309 global%warnCounter = 0
311 global%moduleType = module_type_none
313 global%cnstrCaseRad = -1.0
319 global%initFlowFlag = crazy_value_int
321 global%initPlagFlag = crazy_value_int
328 global%prepPartMode = partition_mode_proper
329 global%syPePatchesFlag = .false.
335 global%postOutputFormat = post_output_format_tecplot
337 global%postInterpOrder = 1
338 global%postInterpType = interp_type_proper
339 global%postPlotType = plot_grid_flow
341 global%postCompErrFlag = .false.
342 global%postMergeFlag = .true.
343 global%postPlotPatchFlag = .true.
344 global%postPlotVolFlag = .true.
345 global%postWriteMergeFlag = .false.
347 global%postDiscFlag = .false.
348 global%postExtractFlag = .false.
349 global%postLag2EulFlag = .false.
350 global%postSpecFlag = .false.
351 global%postVortFlag = .false.
352 global%postVortCoreFlag = .false.
354 global%postSchType = 0
355 global%postSchExp = 10.0_rfreal
356 global%postNFringes = 32
358 global%postNServers = 1
364 global%pickCoordFlag = .false.
366 global%pickXCoordLow = -huge(1.0_rfreal)
367 global%pickXCoordUpp = huge(1.0_rfreal)
368 global%pickYCoordLow = -huge(1.0_rfreal)
369 global%pickYCoordUpp = huge(1.0_rfreal)
370 global%pickZCoordLow = -huge(1.0_rfreal)
371 global%pickZCoordUpp = huge(1.0_rfreal)
378 global%surfWinName =
''
379 global%surfWinNameInput =
''
380 global%volWinName =
''
381 global%volWinNameInput =
''
MPI_Comm communicator() const
subroutine rflu_initglobal(casename, verbLevel, communicator, global)