Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLU_PrintUserInput.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: Write out user input for checking purposes.
26 !
27 ! Description: None.
28 !
29 ! Input:
30 ! regions Region data
31 !
32 ! Output: None.
33 !
34 ! Notes: None.
35 !
36 ! ******************************************************************************
37 !
38 ! $Id: RFLU_PrintUserInput.F90,v 1.60 2008/12/06 08:44:12 mtcampbe Exp $
39 !
40 ! Copyright: (c) 2002-2006 by the University of Illinois
41 !
42 ! ******************************************************************************
43 
44 SUBROUTINE rflu_printuserinput(regions)
45 
46  USE moddatatypes
47  USE modglobal, ONLY: t_global
48  USE moddatastruct, ONLY: t_region
49  USE moderror
50  USE modparameters
51  USE modmixture, ONLY: t_mixt_input
52 
53 #ifdef PERI
55 #endif
56 
57 #ifdef PLAG
59 #endif
60 
61 #ifdef SPEC
63 #endif
64 
65 #ifdef TURB
67 #endif
68 
69 #ifdef INRT
72 #endif
73 
74  IMPLICIT NONE
75 
76 ! ******************************************************************************
77 ! Declarations and definitions
78 ! ******************************************************************************
79 
80 ! ==============================================================================
81 ! Arguments
82 ! ==============================================================================
83 
84  TYPE(t_region), DIMENSION(:), POINTER :: regions
85 
86 ! ==============================================================================
87 ! Locals
88 ! ==============================================================================
89 
90  INTEGER :: ireg
91  CHARACTER(CHRLEN) :: rcsidentstring
92  TYPE(t_mixt_input), POINTER :: pmixtinput
93  TYPE(t_global), POINTER :: global
94 
95 ! ******************************************************************************
96 ! Start
97 ! ******************************************************************************
98 
99  rcsidentstring = '$RCSfile: RFLU_PrintUserInput.F90,v $ $Revision: 1.60 $'
100 
101  global => regions(1)%global
102 
103  CALL registerfunction(global,'RFLU_PrintUserInput',&
104  'RFLU_PrintUserInput.F90')
105 
106 ! ******************************************************************************
107 ! Set pointers and variables
108 ! ******************************************************************************
109 
110  pmixtinput => regions(1)%mixtInput
111 
112  ireg = 1
113 
114 ! ******************************************************************************
115 ! Echo user input
116 ! ******************************************************************************
117 
118  WRITE(stdout,'(A,1X,A)') solver_name
119  WRITE(stdout,'(A,1X,A)') solver_name,'Echoing user input...'
120 
121 ! ==============================================================================
122 ! Region-independent variables
123 ! ==============================================================================
124 
125 ! ------------------------------------------------------------------------------
126 ! Formats
127 ! ------------------------------------------------------------------------------
128 
129  WRITE(stdout,'(A,3X,A)') solver_name,'Formats:'
130  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Grid:',global%gridFormat
131  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Solution:',global%solutFormat
132  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Grid source:',global%gridSource
133 
134 ! ------------------------------------------------------------------------------
135 ! Reference values
136 ! ------------------------------------------------------------------------------
137 
138  WRITE(stdout,'(A,3X,A)') solver_name,'Reference values:'
139  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Velocity:',global%refVelocity
140  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Pressure:',global%refPressure
141  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Density:',global%refDensity
142  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name, &
143  'Specific heat at constant pressure:', &
144  global%refCp
145  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Ratio of specific heats:', &
146  global%refGamma
147  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Length:',global%refLength
148  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Reynolds number:', &
149  global%refREnum
150  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Viscosity:',global%refVisc
151  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Laminar Prandtl number:', &
152  global%prLam
153  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Turbulent Prandtl number:', &
154  global%prTurb
155  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Laminar Schmidt number:', &
156  global%scnLam
157  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Turbulent Schmidt number:', &
158  global%scnTurb
159 
160  IF ( pmixtinput%gasModel == gas_model_mixt_gasliq ) THEN
161  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'BetaPLiq:',global%refBetaPLiq
162  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'BetaTLiq:',global%refBetaTLiq
163  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'CvLiq:',global%refCvLiq
164  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'DensityLiq:', &
165  global%refDensityLiq
166  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'PressLiq:',global%refPressLiq
167  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'TempLiq:',global%refTempLiq
168  END IF ! pMixtInput%gasModel
169 
170 ! ------------------------------------------------------------------------------
171 ! Forces
172 ! ------------------------------------------------------------------------------
173 
174  WRITE(stdout,'(A,3X,A)') solver_name,'Forces:'
175  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Flag:',global%forceFlag
176  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Patch coefficient flag:', &
177  global%patchCoeffFlag
178 
179  IF ( global%forceFlag .EQV. .true. ) THEN
180  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Reference area:', &
181  global%forceRefArea
182  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Reference length:', &
183  global%forceRefLength
184  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Reference x-coordinate:', &
185  global%forceRefXCoord
186  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Reference y-coordinate:', &
187  global%forceRefYCoord
188  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Reference z-coordinate:', &
189  global%forceRefZCoord
190  END IF ! global%forceFlag
191 
192 ! ------------------------------------------------------------------------------
193 ! Acceleration
194 ! ------------------------------------------------------------------------------
195 
196  WRITE(stdout,'(A,3X,A)') solver_name,'Acceleration:'
197  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Flag:',global%accelOn
198 
199  IF ( global%accelOn .EQV. .true. ) THEN
200  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'x-component:',global%accelX
201  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'y-component:',global%accelY
202  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'z-component:',global%accelZ
203  END IF ! global%accelOn
204 
205  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'gravity:',global%gravity
206 
207 ! ------------------------------------------------------------------------------
208 ! Time stepping
209 ! ------------------------------------------------------------------------------
210 
211  WRITE(stdout,'(A,3X,A)') solver_name,'Time stepping:'
212  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Solver type:',global%solverType
213 
214  IF ( global%flowType == flow_unsteady ) THEN
215  WRITE(stdout,'(A,5X,A)') solver_name,'Flow type: Unsteady'
216  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Timestep:',global%dtImposed
217  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Current time:', &
218  global%timeStamp
219  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Maximum time:', &
220  global%maxTime
221  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Writing interval:', &
222  global%writeTime
223  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Printing interval:', &
224  global%printTime
225  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Runge-Kutta scheme:', &
226  global%rkScheme
227  ELSE
228  WRITE(stdout,'(A,5X,A)') solver_name,'Flow type: Steady'
229  WRITE(stdout,'(A,5X,A,1X,I8)') solver_name,'Current iteration:', &
230  global%currentIter
231  WRITE(stdout,'(A,5X,A,1X,I8)') solver_name,'Maximum iteration:', &
232  global%maxIter
233  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Residual tolerance:', &
234  global%resTol
235  WRITE(stdout,'(A,5X,A,1X,I8)') solver_name,'Writing interval:', &
236  global%writeIter
237  WRITE(stdout,'(A,5X,A,1X,I8)') solver_name,'Printing interval:', &
238  global%printIter
239  END IF ! global%flowType
240 
241 ! ------------------------------------------------------------------------------
242 ! Time zooming
243 ! ------------------------------------------------------------------------------
244 
245  WRITE(stdout,'(A,3X,A)') solver_name,'Time Zooming:'
246  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Min Plane:',global%tzMinPlane
247  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Max Plane:',global%tzMaxPlane
248  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Propellant Density:',global%tzRhos
249  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Burn A:',global%tzA
250  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Burn N:',global%tzN
251  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Throat Radius:',global%tzThroatRad
252  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Chamber Length:',global%tzLenChamb
253  IF(global%tzSubNoz) THEN
254  WRITE(stdout,'(A,5X,A)') solver_name, 'Submerged Nozzle: Yes'
255  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Nozzle Inlet:',global%tzNozInlet
256  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Nozzle Radius:',global%tzNozRad
257  ELSE
258  WRITE(stdout,'(A,5X,A)') solver_name, 'Submerged Nozzle: No'
259  ENDIF
260  IF(global%tzCoordLong == xcoord) THEN
261  WRITE(stdout,'(A,5X,A)') solver_name,'Rocket Axis: X'
262  ELSE IF (global%tzCoordLong == ycoord) THEN
263  WRITE(stdout,'(A,5X,A)') solver_name,'Rocket Axis: Y'
264  ELSE
265  WRITE(stdout,'(A,5X,A)') solver_name,'Rocket Axis: Z'
266  ENDIF
267 
268 ! ------------------------------------------------------------------------------
269 ! Case Constraints
270 ! ------------------------------------------------------------------------------
271 
272  IF(global%cnstrCaseRad > 0.0) THEN
273  WRITE(stdout,'(A,3X,A)') solver_name,'Case Constraints:'
274  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Case Radius:',global%cnstrCaseRad
275  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Head End:',global%cnstrHeadEnd
276  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Aft End:',global%cnstrAftEnd
277  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Ellipse Major:',global%cnstrEllipsL
278  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Ellipse Minor:',global%cnstrEllipsT
279  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Sub Nozzle Rad:',global%cnstrNozY
280  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Tolerance 1:',global%cnstrTol1
281  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Tolerance 2:',global%cnstrTol2
282  IF(global%cnstrCoordL == xcoord) THEN
283  WRITE(stdout,'(A,5X,A)') solver_name,'Rocket Axis: X'
284  ELSE IF (global%cnstrCoordL == ycoord) THEN
285  WRITE(stdout,'(A,5X,A)') solver_name,'Rocket Axis: Y'
286  ELSE
287  WRITE(stdout,'(A,5X,A)') solver_name,'Rocket Axis: Z'
288  ENDIF
289  ELSE
290  WRITE(stdout,'(A,3X,A)') solver_name,'No case constraints:'
291  ENDIF
292 
293 ! ------------------------------------------------------------------------------
294 ! Random number generator values
295 ! ------------------------------------------------------------------------------
296 
297  WRITE(stdout,'(A,3X,A)') solver_name,'Random number generator values:'
298  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'SeedOffset:',&
299  global%randSeedOffset
300  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'SeedType:',&
301  global%randSeedType
302 
303 #ifdef STATS
304 ! ------------------------------------------------------------------------------
305 ! Statistics
306 ! ------------------------------------------------------------------------------
307 
308  IF ( global%doStat == active ) THEN
309  IF ( global%reStat == active ) THEN
310  WRITE(stdout,'(A,3X,A)') solver_name,'Continued statistics:'
311  ELSE
312  WRITE(stdout,'(A,3X,A)') solver_name,'New statistics:'
313  END IF ! global%reStat
314 
315  IF ( global%mixtNStat > 0 ) THEN
316  WRITE(stdout,'(A,5X,A,1X,I3)') solver_name,'mixture NStat ', &
317  global%mixtNStat
318  WRITE(stdout,'(A,5X,A,1X,20I3)') solver_name,'mixture StatID', &
319  global%mixtStatID(1,:)*10+global%mixtStatID(2,:)
320  END IF ! global%mixtNStat
321 
322  IF ( global%turbNStat > 0 ) THEN
323  WRITE(stdout,'(A,5X,A,1X,I3)') solver_name,'TURB NStat ', &
324  global%turbNStat
325  WRITE(stdout,'(A,5X,A,1X,20I3)') solver_name,'TURB StatID ', &
326  global%turbStatID(1,:)*10+global%turbStatID(2,:)
327  END IF ! global%turbNStat
328  END IF ! global%doStat
329 #endif
330 
331 ! ------------------------------------------------------------------------------
332 ! Flow specific info
333 ! ------------------------------------------------------------------------------
334 
335 #ifdef PERI
336  IF (regions(1)%periInput%flowKind /= off) THEN
337  CALL peri_printuserinput( regions(1) )
338  ENDIF ! periodic flows
339 #endif
340 
341 ! ------------------------------------------------------------------------------
342 ! Preprocessor
343 ! ------------------------------------------------------------------------------
344 
345  WRITE(stdout,'(A,3X,A)') solver_name,'Preprocessor:'
346  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Partition mode:', &
347  global%prepPartMode
348 
349 ! ------------------------------------------------------------------------------
350 ! Postprocessor
351 ! ------------------------------------------------------------------------------
352 
353  WRITE(stdout,'(A,3X,A)') solver_name,'Postprocessor:'
354  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Output format:', &
355  global%postOutputFormat
356  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Plot type:', &
357  global%postPlotType
358  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Merge flag:', &
359  global%postMergeFlag
360  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Write merged files flag:', &
361  global%postWriteMergeFlag
362  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Plot volume flag:', &
363  global%postPlotVolFlag
364  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Interpolation type:', &
365  global%postInterpType
366  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Interpolation order:', &
367  global%postInterpOrder
368  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Special cell flag:', &
369  global%postSpecFlag
370  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Extraction flag:', &
371  global%postExtractFlag
372  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Discontinuity flag:', &
373  global%postDiscFlag
374  WRITE(stdout,'(A,5X,A,1X,I3)') solver_name,'Schlieren type:', &
375  global%postSchType
376  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Schlieren exponent:', &
377  global%postSchExp
378  WRITE(stdout,'(A,5X,A,1X,I3)') solver_name,'Number of fringes:', &
379  global%postNFringes
380  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Vorticity flag:', &
381  global%postVortFlag
382  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Vortex core flag:', &
383  global%postVortCoreFlag
384  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Error flag:', &
385  global%postCompErrFlag
386  WRITE(stdout,'(A,5X,A,1X,I3)') solver_name,'Number of servers:', &
387  global%postNServers
388  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Patch plotting flag:', &
389  global%postPlotPatchFlag
390  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Lagrangian to Eulerian '// &
391  'flag:',global%postLag2EulFlag
392  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Gradient flag:', &
393  global%postGradFlag
394 
395 #ifdef INRT
396 ! ------------------------------------------------------------------------------
397 ! Material input
398 ! ------------------------------------------------------------------------------
399 
400  CALL inrt_printmaterialinput(global)
401 #endif
402 
403 ! ==============================================================================
404 ! Region-dependent variables. NOTE these are not really region-dependent,
405 ! just stored that way for commonality with Rocflo, so only write out for
406 ! first region.
407 ! ==============================================================================
408 
409 ! ------------------------------------------------------------------------------
410 ! Flow model and grid motion
411 ! ------------------------------------------------------------------------------
412 
413  WRITE(stdout,'(A,3X,A)') solver_name,'Flow type:'
414 
415  IF ( pmixtinput%flowModel == flow_euler ) THEN
416  WRITE(stdout,'(A,5X,A)') solver_name,'Flow model: Euler'
417  ELSE
418  WRITE(stdout,'(A,5X,A)') solver_name,'Flow model: Navier-Stokes'
419  END IF ! pMixtInput%flowModel
420 
421  IF ( pmixtinput%moveGrid .EQV. .true. ) THEN
422  WRITE(stdout,'(A,5X,A)') solver_name,'Grid motion: Active'
423  ELSE
424  WRITE(stdout,'(A,5X,A)') solver_name,'Grid motion: Not active'
425  END IF ! pMixtInput%moveGrid
426 
427 ! ------------------------------------------------------------------------------
428 ! Mixture
429 ! ------------------------------------------------------------------------------
430 
431  WRITE(stdout,'(A,3X,A)') solver_name,'Mixture:'
432  WRITE(stdout,'(A,5X,A,1X,L1)') solver_name,'Frozen flag:', &
433  pmixtinput%frozenFlag
434  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Gas model:',pmixtinput%gasModel
435 
436 ! ------------------------------------------------------------------------------
437 ! Viscosity model
438 ! ------------------------------------------------------------------------------
439 
440  IF ( pmixtinput%computeTv ) THEN
441  WRITE(stdout,'(A,3X,A)') solver_name,'Viscosity model:'
442 
443  IF ( pmixtinput%viscModel == visc_suthr ) THEN
444  WRITE(stdout,'(A,5X,A)') solver_name,'Viscosity model: Sutherland'
445  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Reference viscosity:', &
446  pmixtinput%refVisc
447  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Reference temperature:', &
448  pmixtinput%refTemp
449  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Sutherland coefficient:', &
450  pmixtinput%suthCoef
451  ELSE IF ( pmixtinput%viscModel == visc_fixed ) THEN
452  WRITE(stdout,'(A,5X,A)') solver_name,'Viscosity model: Fixed'
453  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Viscosity value:', &
454  pmixtinput%refVisc
455  ELSE IF ( pmixtinput%viscModel == visc_antib ) THEN
456  WRITE(stdout,'(A,5X,A)') solver_name,'Viscosity model: Antibes'
457  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Reference viscosity:', &
458  pmixtinput%refVisc
459  END IF ! pMixtInput%viscModel
460  END IF ! pMixtInput%computeTv
461 
462 ! ------------------------------------------------------------------------------
463 ! Numerics
464 ! ------------------------------------------------------------------------------
465 
466  WRITE(stdout,'(A,3X,A)') solver_name,'Numerics:'
467 
468  IF ( pmixtinput%timeScheme == tst_hyb5rk ) THEN
469  WRITE(stdout,'(A,5X,A)') solver_name, &
470  'Time discretization: Explicit multistage'
471  ELSE IF ( pmixtinput%timeScheme == tst_std4rk ) THEN
472  WRITE(stdout,'(A,5X,A)') solver_name, &
473  'Time discretization: Explicit classical Runge-Kutta'
474  END IF ! pMixtInput%timeScheme
475 
476  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'CFL number:',pmixtinput%cfl
477 
478  IF ( pmixtinput%spaceDiscr == discr_upw_roe ) THEN
479  WRITE(stdout,'(A,5X,A)') solver_name, &
480  'Inviscid flux function: Roe'
481  ELSE IF ( pmixtinput%spaceDiscr == discr_upw_hllc ) THEN
482  WRITE(stdout,'(A,5X,A)') solver_name, &
483  'Inviscid flux function: HLLC'
484  ELSE IF ( pmixtinput%spaceDiscr == discr_upw_ausmplus ) THEN
485  WRITE(stdout,'(A,5X,A)') solver_name, &
486  'Inviscid flux function: AUSM+'
487  END IF ! pMixtInput%spaceDiscr
488 
489  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Spatial order of accuracy:', &
490  pmixtinput%spaceOrder
491  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Reconstruction:', &
492  pmixtinput%reconst
493  WRITE(stdout,'(A,5X,A)') solver_name,'Constrained reconstruction:'
494  WRITE(stdout,'(A,7X,A,1X,I2,1X,E12.5)') solver_name,'Cells:', &
495  pmixtinput%cReconstCells, &
496  pmixtinput%cReconstCellsWeight
497  WRITE(stdout,'(A,7X,A,1X,I2,1X,E12.5)') solver_name,'Faces:', &
498  pmixtinput%cReconstFaces, &
499  pmixtinput%cReconstFacesWeight
500  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Entropy fix coefficient:', &
501  pmixtinput%epsentr
502  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'Dissipation factor:', &
503  pmixtinput%dissFact
504  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Dimensionality:', &
505  pmixtinput%dimens
506  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Cell-stencil dimensionality:', &
507  pmixtinput%stencilDimensCells
508  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'Face-stencil dimensionality:', &
509  pmixtinput%stencilDimensFaces
510  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name, &
511  'Boundary-face-stencil dimensionality:', &
512  pmixtinput%stencilDimensBFaces
513  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name, &
514  'Boundary-face-stencil space Order', &
515  pmixtinput%spaceOrderBFaces
516 
517  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'In-cell test tolerance:', &
518  pmixtinput%tolerICT
519 
520 ! ------------------------------------------------------------------------------
521 ! Grid motion
522 ! ------------------------------------------------------------------------------
523 
524  IF ( pmixtinput%moveGrid .EQV. .true. ) THEN
525  WRITE(stdout,'(A,3X,A)') solver_name,'Grid motion:'
526  WRITE(stdout,'(A,5X,A,2X,I2)') solver_name,'Type:', &
527  pmixtinput%moveGridType
528 
529  IF ( pmixtinput%moveGridType /= movegrid_type_genx ) THEN
530  WRITE(stdout,'(A,5X,A,1X,I2)') solver_name,'NIter:', &
531  pmixtinput%moveGridNIter
532  WRITE(stdout,'(A,5X,A,1X,E12.5)') solver_name,'SFact:', &
533  pmixtinput%moveGridSFact
534  END IF ! pMixtInput%moveGridType
535  END IF ! pMixtInput%moveGrid
536 
537 ! ------------------------------------------------------------------------------
538 ! Initialization
539 ! ------------------------------------------------------------------------------
540 
541  WRITE(stdout,'(A,3X,A)') solver_name,'Initialization:'
542  WRITE(stdout,'(A,5X,A,2X,I2)') solver_name,'Flag: ', &
543  global%initFlowFlag
544  WRITE(stdout,'(A,5X,A,2X,I12)') solver_name,'Integer 1:', &
545  pmixtinput%prepIntVal1
546  WRITE(stdout,'(A,5X,A,2X,I12)') solver_name,'Integer 2:', &
547  pmixtinput%prepIntVal2
548  WRITE(stdout,'(A,5X,A,2X,I12)') solver_name,'Integer 3:', &
549  pmixtinput%prepIntVal3
550  WRITE(stdout,'(A,5X,A,2X,I12)') solver_name,'Integer 4:', &
551  pmixtinput%prepIntVal4
552  WRITE(stdout,'(A,5X,A,2X,I12)') solver_name,'Integer 5:', &
553  pmixtinput%prepIntVal5
554  WRITE(stdout,'(A,5X,A,2X,I12)') solver_name,'Integer 6:', &
555  pmixtinput%prepIntVal6
556  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 1: ', &
557  pmixtinput%prepRealVal1
558  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 2: ', &
559  pmixtinput%prepRealVal2
560  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 3: ', &
561  pmixtinput%prepRealVal3
562  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 4: ', &
563  pmixtinput%prepRealVal4
564  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 5: ', &
565  pmixtinput%prepRealVal5
566  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 6: ', &
567  pmixtinput%prepRealVal6
568  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 7: ', &
569  pmixtinput%prepRealVal7
570  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 8: ', &
571  pmixtinput%prepRealVal8
572  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 9: ', &
573  pmixtinput%prepRealVal9
574  WRITE(stdout,'(A,5X,A,2X,E12.5)') solver_name,'Real 10: ', &
575  pmixtinput%prepRealVal10
576 
577 ! ------------------------------------------------------------------------------
578 ! Multi-physics modules
579 ! ------------------------------------------------------------------------------
580 
581  WRITE(stdout,'(A,3X,A)') solver_name,'Multi-physics modules:'
582 
583 ! Turbulence -------------------------------------------------------------------
584 
585  IF ( pmixtinput%flowModel == flow_navst ) THEN
586  IF ( pmixtinput%turbModel /= turb_model_none ) THEN
587 #ifdef TURB
588  WRITE(stdout,'(A,5X,A)') solver_name,'Turbulence module: Active'
589  CALL turb_printuserinput(regions(ireg))
590 #endif
591  ELSE
592  WRITE(stdout,'(A,5X,A)') solver_name,'Turbulence module: Not active'
593  END IF ! MixtInput%turbModel
594  END IF ! pMixtInput%flowModel
595 
596 ! Species ----------------------------------------------------------------------
597 
598  IF ( global%specUsed .EQV. .true. ) THEN
599 #ifdef SPEC
600  WRITE(stdout,'(A,5X,A)') solver_name,'Species module: Active'
601  CALL spec_printuserinput(regions(ireg))
602 #endif
603  ELSE
604  WRITE(stdout,'(A,5X,A)') solver_name,'Species module: Not active'
605  END IF ! global%specUsed
606 
607 ! Particles --------------------------------------------------------------------
608 
609  IF ( global%plagUsed .EQV. .true. ) THEN
610 #ifdef PLAG
611  WRITE(stdout,'(A,5X,A)') solver_name,'Particle module: Active'
612  CALL plag_printuserinput(regions(ireg))
613 #endif
614  ELSE
615  WRITE(stdout,'(A,5X,A)') solver_name,'Particle module: Not active'
616  END IF ! global%plagUsed
617 
618 ! Radiation --------------------------------------------------------------------
619 
620  IF ( pmixtinput%radiUsed .EQV. .true. ) THEN
621 #ifdef RADI
622  WRITE(stdout,'(A,5X,A)') solver_name,'Radiation module: Active'
623  CALL radi_printuserinput(regions(ireg))
624 #endif
625  ELSE
626  WRITE(stdout,'(A,5X,A)') solver_name,'Radiation module: Not active'
627  END IF ! pMixtInput%radiUsed
628 
629 #ifdef INRT
630 ! Interactions -----------------------------------------------------------------
631 
632  IF ( global%inrtUsed .EQV. .true. ) THEN
633  CALL inrt_printuserinput( regions(ireg) )
634  ENDIF
635 
636 #endif
637 
638 ! ******************************************************************************
639 ! End
640 ! ******************************************************************************
641 
642  WRITE(stdout,'(A,1X,A)') solver_name,'Echoing user input done.'
643  WRITE(stdout,'(A,1X,A)') solver_name
644 
645  CALL deregisterfunction(global)
646 
647 END SUBROUTINE rflu_printuserinput
648 
649 ! ******************************************************************************
650 !
651 ! RCS Revision history:
652 !
653 ! $Log: RFLU_PrintUserInput.F90,v $
654 ! Revision 1.60 2008/12/06 08:44:12 mtcampbe
655 ! Updated license.
656 !
657 ! Revision 1.59 2008/11/19 22:17:25 mtcampbe
658 ! Added Illinois Open Source License/Copyright
659 !
660 ! Revision 1.58 2007/04/23 14:47:51 mtcampbe
661 ! Added notification for NO case constraints
662 !
663 ! Revision 1.57 2007/04/14 23:27:46 mtcampbe
664 ! Updated for generalized geometry and support for submerged nozzles
665 !
666 ! Revision 1.56 2007/04/14 21:13:35 mtcampbe
667 ! Updated for TZ and Constraints
668 !
669 ! Revision 1.55 2006/10/20 21:26:52 mparmar
670 ! Added printing of gravity
671 !
672 ! Revision 1.54 2006/08/19 15:38:46 mparmar
673 ! Added printing of mixtInput%spaceOrderBFaces
674 !
675 ! Revision 1.53 2006/04/07 15:19:16 haselbac
676 ! Removed tabs
677 !
678 ! Revision 1.52 2006/04/07 14:42:45 haselbac
679 ! Added printing of stencilDimens params
680 !
681 ! Revision 1.51 2006/03/26 20:21:39 haselbac
682 ! Added printing of GL ref params, cosmetics
683 !
684 ! Revision 1.50 2006/01/06 22:07:13 haselbac
685 ! Added printing of postGradFlag and stencilDimens
686 !
687 ! Revision 1.49 2005/12/25 15:27:56 haselbac
688 ! Added printing for constrained reconstruction
689 !
690 ! Revision 1.48 2005/12/24 21:26:26 haselbac
691 ! Added printing of ICT tolerance
692 !
693 ! Revision 1.47 2005/12/22 19:49:12 gzheng
694 ! fixed a wrong format using L to print an integer, changed to 'I3'
695 !
696 ! Revision 1.46 2005/12/10 23:28:26 haselbac
697 ! Removed geom post variables
698 !
699 ! Revision 1.45 2005/12/10 16:58:24 haselbac
700 ! Added printing of postLag2EulFlag
701 !
702 ! Revision 1.44 2005/12/01 17:09:53 fnajjar
703 ! Added appropriate initialization, checking and printing of random seed type
704 !
705 ! Revision 1.43 2005/11/17 14:37:53 haselbac
706 ! Added printing of new prepRealVal vars
707 !
708 ! Revision 1.42 2005/11/10 22:22:05 fnajjar
709 ! ACH: Added frozenFlag
710 !
711 ! Revision 1.41 2005/11/10 02:02:29 haselbac
712 ! Added printing of acceleration components
713 !
714 ! Revision 1.40 2005/10/31 19:25:48 haselbac
715 ! Added printing of gasModel
716 !
717 ! Revision 1.39 2005/10/28 19:17:29 haselbac
718 ! Added printing of postPlotPatchFlag
719 !
720 ! Revision 1.38 2005/10/27 18:56:51 haselbac
721 ! Added printing of constr variable
722 !
723 ! Revision 1.37 2005/10/05 20:03:09 haselbac
724 ! Added printing of post output format and nservers
725 !
726 ! Revision 1.36 2005/08/24 01:35:58 haselbac
727 ! Fixed bug in writing solverType
728 !
729 ! Revision 1.35 2005/08/10 00:32:08 haselbac
730 ! Added printing of postVortCoreFlag
731 !
732 ! Revision 1.34 2005/08/09 00:55:01 haselbac
733 ! Added printing of patchCoeffFlag, postWriteMergeFlag, postCompErrFlag
734 !
735 ! Revision 1.33 2005/08/03 18:19:24 hdewey2
736 ! Added printing solverType
737 !
738 ! Revision 1.32 2005/07/25 12:21:00 haselbac
739 ! Added postVortFlag, changed format of postSchExp
740 !
741 ! Revision 1.31 2005/07/14 21:58:45 haselbac
742 ! Added output for AUSM flux function
743 !
744 ! Revision 1.30 2005/07/11 19:24:13 mparmar
745 ! Added printing of reconst option
746 !
747 ! Revision 1.29 2005/07/05 19:26:58 haselbac
748 ! Added printing of postSchType and postSchExp
749 !
750 ! Revision 1.28 2005/05/01 14:19:04 haselbac
751 ! Added printing of postDiscFlag and postNFringes
752 !
753 ! Revision 1.27 2005/04/20 14:39:39 haselbac
754 ! Added printing of additional int and read vals
755 !
756 ! Revision 1.26 2005/03/22 03:33:14 haselbac
757 ! Added printing of prep init helper variables
758 !
759 ! Revision 1.25 2005/03/09 14:53:46 haselbac
760 ! Added printing of dimensionality
761 !
762 ! Revision 1.24 2004/11/17 16:28:11 haselbac
763 ! Added printing of rkScheme
764 !
765 ! Revision 1.23 2004/10/26 15:16:35 haselbac
766 ! Added printing of postExtractFlag
767 !
768 ! Revision 1.22 2004/10/19 19:25:14 haselbac
769 ! Removed printing of surfDiverFlag
770 !
771 ! Revision 1.21 2004/07/28 15:29:19 jferry
772 ! created global variable for spec use
773 !
774 ! Revision 1.20 2004/07/23 22:43:15 jferry
775 ! Integrated rocspecies into rocinteract
776 !
777 ! Revision 1.19 2004/07/21 14:54:49 haselbac
778 ! Added printing of postInterpType
779 !
780 ! Revision 1.18 2004/07/08 02:17:43 haselbac
781 ! Added printing of dissFact
782 !
783 ! Revision 1.17 2004/06/17 23:04:09 wasistho
784 ! added PERI_PrintUserInput
785 !
786 ! Revision 1.16 2004/06/16 20:00:22 haselbac
787 ! Added force variables, clean-up, cosmetics
788 !
789 ! Revision 1.15 2004/03/05 22:09:01 jferry
790 ! created global variables for peul, plag, and inrt use
791 !
792 ! Revision 1.14 2004/03/02 21:49:21 jferry
793 ! Added inrtUsed flag to mixture data structure
794 !
795 ! Revision 1.13 2004/02/02 22:49:40 haselbac
796 ! Added printing of input for materials and particles
797 !
798 ! Revision 1.12 2004/01/29 22:56:36 haselbac
799 ! Cosmetic changes only
800 !
801 ! Revision 1.11 2003/12/04 03:23:59 haselbac
802 ! Cosmetic changes only
803 !
804 ! Revision 1.10 2003/11/25 21:02:50 haselbac
805 ! Added support for rocspecies, some clean-up
806 !
807 ! Revision 1.9 2003/08/07 15:31:20 haselbac
808 ! Added vars and changed some var names
809 !
810 ! Revision 1.8 2003/07/22 01:57:51 haselbac
811 ! Added writing of global%postInterpOrder
812 !
813 ! Revision 1.7 2003/05/16 22:06:15 haselbac
814 ! Fixed bug: LOGICALs should be written out using L format
815 !
816 ! Revision 1.6 2003/05/05 18:40:15 haselbac
817 ! Added printing of plotType, changed pltVolFlag to plotVolFlag
818 !
819 ! Revision 1.5 2003/04/29 21:48:32 haselbac
820 ! Added printing of surfDiverFlag
821 !
822 ! Revision 1.4 2003/04/28 22:40:46 haselbac
823 ! Added output of post and prep flags
824 !
825 ! Revision 1.3 2003/04/10 23:29:59 fnajjar
826 ! Added printouts for viscosity models
827 !
828 ! Revision 1.2 2003/03/31 16:12:39 haselbac
829 ! Cosmetics, added printing of grid-motion type
830 !
831 ! Revision 1.1 2003/01/28 15:53:32 haselbac
832 ! Initial revision, moved from rocflu
833 !
834 ! Revision 1.7 2002/11/04 22:12:16 haselbac
835 ! Bug fix: Added ifdef STATS
836 !
837 ! Revision 1.6 2002/11/02 02:04:34 wasistho
838 ! Added TURB statistics
839 !
840 ! Revision 1.5 2002/09/17 22:51:23 jferry
841 ! Removed Fast Eulerian particle type
842 !
843 ! Revision 1.4 2002/09/09 15:51:56 haselbac
844 ! global now under region and deleted debug output
845 !
846 ! Revision 1.3 2002/06/17 13:34:12 haselbac
847 ! Prefixed SOLVER_NAME to all screen output
848 !
849 ! Revision 1.2 2002/05/04 17:11:25 haselbac
850 ! Cosmetic changes
851 !
852 ! Revision 1.1 2002/03/26 19:25:09 haselbac
853 ! Initial revision
854 !
855 ! ******************************************************************************
856 
857 
858 
859 
860 
861 
862 
subroutine plag_printuserinput(region)
subroutine rflu_printuserinput(regions)
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine turb_printuserinput(region)
subroutine inrt_printmaterialinput(global)
subroutine spec_printuserinput(region)
subroutine inrt_printuserinput(region)
subroutine deregisterfunction(global)
Definition: ModError.F90:469
subroutine peri_printuserinput(region)