Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
POST_Main.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 ROCFLO-MP`s grid and/or solution for visualization.
26 !
27 ! Description: currently supported formats are:
28 ! - generic binary
29 ! - TECPLOT
30 !
31 ! Input: case name from the list of arguments
32 !
33 ! Output: to file.
34 !
35 ! Notes: the output is collected in one file, but the regions are processed
36 ! separately to save memory.
37 !
38 !******************************************************************************
39 !
40 ! $Id: POST_Main.F90,v 1.5 2008/12/06 08:44:49 mtcampbe Exp $
41 !
42 ! Copyright: (c) 2001 by the University of Illinois
43 !
44 !******************************************************************************
45 
46 PROGRAM rocflo_post
47 
48  USE moddatatypes
49  USE moderror
50  USE moddatastruct, ONLY : t_region
51  USE modglobal, ONLY : t_global
52  USE modgrid, ONLY : t_grid
53  USE modmixture, ONLY : t_mixt
62  USE modmpi
63  USE modparameters
64 #ifdef TURB
65  USE modturbulence, ONLY : t_turb
70 #endif
71  IMPLICIT NONE
72 
73 #include "Indexing.h"
74 
75 ! ... loop variables
76  INTEGER :: ireg, ilev
77 
78 ! ... local variables
79  CHARACTER(CHRLEN) :: casename, verbosity, msg, versionstring, headerstring
80 
81  INTEGER :: ipc, jpc, kpc, ibc, iec, ibn, ien, mixtnstattec, turbnstattec
82  INTEGER :: idcbeg, idcend, jdcbeg, jdcend, kdcbeg, kdcend
83  INTEGER :: ipnbeg, ipnend, jpnbeg, jpnend, kpnbeg, kpnend
84  INTEGER :: idnbeg, idnend, jdnbeg, jdnend, kdnbeg, kdnend
85  INTEGER :: icoff, ijcoff, inoff, ijnoff
86  INTEGER :: margin, versionwidth, errorflag
87  INTEGER, PARAMETER :: headerwidth = 53
88 
89  TYPE(t_global), POINTER :: global
90  TYPE(t_region), POINTER :: regions(:)
91  TYPE(t_grid) , POINTER :: grid
92  TYPE(t_mixt) , POINTER :: mixt
93 #ifdef TURB
94  TYPE(t_turb) , POINTER :: turb
95 #endif
96 #ifdef STATS
97  LOGICAL :: statsactive
98 #endif
99 
100 !******************************************************************************
101 
102  ALLOCATE( global )
103 
104  global%nFunTree = 0
105  CALL registerfunction( global,'ROCFLO_Post', &
106  'POST_Main.F90' )
107 
108 ! initialize global parameters ------------------------------------------------
109 
110  global%verbLevel = verbose_none
111 
112  global%flowType = flow_steady ! stationary flow
113  global%currentTime = -1._rfreal ! no physical time set
114  global%currentIter = -1 ! no iteration
115 
116  global%inDir = './' ! directory path
117  global%outDir = './'
118 
119  global%nProcAlloc = 1
120  global%myProcid = masterproc ! default process number (not an MPI code)
121  global%mpierr = err_none
122  global%error = err_none
123 
124  global%pi = 4._rfreal*atan(1._rfreal)
125  global%rad = global%pi/180._rfreal
126 
127 ! print header ----------------------------------------------------------------
128 
129 #ifdef MPI
130  CALL mpi_init( global%mpierr )
131  IF (global%mpierr /=0 ) CALL errorstop( global,err_mpi_trouble,__line__ )
132 #endif
133 
134  CALL buildversionstring( versionstring )
135 
136  headerstring = ' '
137  versionwidth = len_trim(versionstring)
138  margin = (headerwidth-versionwidth)/2
139  headerstring(margin+1:margin+versionwidth) = versionstring(1:versionwidth)
140  headerstring(1:1) = '*'
141  headerstring(headerwidth:headerwidth) = '*'
142 
143  WRITE(stdout,'(/,A)') solver_name//' *****************************************************'
144  WRITE(stdout, '(A)') solver_name//' * *'
145  WRITE(stdout, '(A)') solver_name//' * ROCFLO-MP: Solution Postprocessing *'
146  WRITE(stdout, '(A)') solver_name//' * ================================== *'
147  WRITE(stdout, '(A)') solver_name//' * *'
148  WRITE(stdout, '(A)') solver_name//' '//trim(headerstring)
149  WRITE(stdout, '(A)') solver_name//' * Copyright (c) by the University of Illinois *'
150  WRITE(stdout, '(A)') solver_name//' * *'
151  WRITE(stdout,'(A,/)') solver_name//' *****************************************************'
152 
153 ! print required input and read argument list ---------------------------------
154 
155  WRITE(stdout,'(/,A,/,A,/,18(A,/))') &
156  solver_name//' Required Rocflo-Post input:', &
157  solver_name, &
158  solver_name//' <casename> => command line input', &
159  solver_name//' <verbosity> => command line input', &
160  solver_name//' grid level => .inp file: # MULTIGRID: START', &
161  solver_name//' unsteadiness => .inp file: # TIMESTEP: FLOWTYPE', &
162  solver_name//' turbulence => .inp file: # TURBULENCE: TURBMODEL', &
163  solver_name//' => .inp file: # TURBULENCE: OUTPUTNUMBER', &
164  solver_name//' gas properties => .inp file: # REFERENCE', &
165  solver_name//' => .inp file: # VISCMODEL', &
166  solver_name//' => .inp file: # MATERIAL (if MP is active)', &
167  solver_name//' plot type => .inp file: # POST: PLTTYPE', &
168  solver_name//' time (unsteady) => .inp file: # POST: TIME', &
169  solver_name//' iteration (steady) => .inp file: # POST: ITER', &
170  solver_name//' output plot format => .inp file: # POST: OUTFORMAT', &
171  solver_name//' include statistics => .inp file: # POST: STATSFLAG', &
172  solver_name//' include turbulence => .inp file: # POST: TURBFLAG', &
173  solver_name//' include particles => .inp file: # POST: PLAGFLAG', &
174  solver_name//' include radiation => .inp file: # POST: RADIFLAG', &
175  solver_name//' include species => .inp file: # POST: SPECFLAG'
176 
177  CALL getarg(1,casename)
178  CALL getarg(2,verbosity)
179 
180  IF (len_trim(casename)==0 .OR. &
181  len_trim(verbosity)==0) THEN
182  WRITE(stdout,'(/,A,/)') &
183  solver_name//' Usage: rflopost <casename> <verbosity>'
184 #ifdef MPI
185  CALL mpi_finalize( global%mpierr )
186 #endif
187  stop
188  ENDIF
189 
190  READ(casename ,*) global%casename
191  READ(verbosity,*) global%verbLevel
192 
193 ! read region topology --------------------------------------------------------
194 
195  WRITE(stdout,'(/,A)') solver_name//' Reading region topology ...'
196 
197  CALL rflo_readregiontopology( global,regions )
198 
199 ! get user parameters ---------------------------------------------------------
200 
201  WRITE(stdout,'(/,A)') solver_name//' Reading user input ...'
202 
203  CALL rflo_initinputvalues( regions )
204  CALL readinputfile( regions )
205 
206 ! copy times and iteration to corresponding post values
207 
208  global%currentTime = global%postTime
209  global%timeStamp = global%postTime
210  global%currentIter = global%postIter
211 
212 ! check grid level and obtain region grid size
213 
214  DO ireg=1,global%nRegions
215  regions(ireg)%startLevel = global%startLevel
216  regions(ireg)%currLevel = global%startLevel
217  IF (regions(ireg)%nGridLevels < regions(ireg)%currLevel) THEN
218  WRITE(msg,1000) solver_name,ireg,global%startLevel
219  CALL errorstop( global,err_grid_level,__line__,msg )
220  ENDIF
221  DO ilev=2,regions(ireg)%nGridLevels
222  ipc = regions(ireg)%levels(ilev-1)%grid%ipc
223  jpc = regions(ireg)%levels(ilev-1)%grid%jpc
224  kpc = regions(ireg)%levels(ilev-1)%grid%kpc
225  regions(ireg)%levels(ilev)%grid%ipc = ipc/2
226  regions(ireg)%levels(ilev)%grid%jpc = jpc/2
227  regions(ireg)%levels(ilev)%grid%kpc = kpc/2
228  ENDDO
229  ENDDO
230 
231 ! continue collecting remaining required user input
232 
233  CALL rflo_derivedinputvalues( regions )
234 #ifdef TURB
235  CALL turb_readinputfile( regions )
236  CALL turb_derivedinputvalues( regions )
237 #endif
238 
239 #ifdef STATS
240  statsactive = (global%postStatsFlag .AND. &
241  (global%flowType == flow_unsteady) .AND. &
242  (global%doStat == active))
243 #endif
244 
245 ! check for TECPLOT library ---------------------------------------------------
246 
247 #ifdef NO_TECPLOT
248  IF (global%postOutFmt == plot_fmt_tecplot) THEN
249  WRITE(stdout,'(/,A,/)') solver_name// &
250  ' Sorry, not linked to TECPLOT library.'
251 #ifdef MPI
252  CALL mpi_finalize( global%mpierr )
253 #endif
254  stop
255  ENDIF
256 #endif
257 
258 ! loop over regions -----------------------------------------------------------
259 
260  IF (global%postPlotType == plot_grid_only) THEN
261  WRITE(stdout,'(A)') solver_name// &
262  ' Reading grid and writing plot file ...'
263  ELSE
264  WRITE(stdout,'(A)') solver_name// &
265  ' Reading grid+solution and writing plot file ...'
266  ENDIF
267 
268  DO ireg=1,global%nRegions
269 
270 ! - allocate memory for the grid (all grid levels)
271 
272  DO ilev=1,regions(ireg)%nGridLevels
273  CALL rflo_getdimensdummynodes( regions(ireg),ilev,idnbeg,idnend, &
274  jdnbeg,jdnend,kdnbeg,kdnend )
275  CALL rflo_getnodeoffset( regions(ireg),ilev,inoff,ijnoff )
276  ibn = indijk(idnbeg,jdnbeg,kdnbeg,inoff,ijnoff)
277  ien = indijk(idnend,jdnend,kdnend,inoff,ijnoff)
278  grid => regions(ireg)%levels(ilev)%grid
279  ALLOCATE( grid%xyz(3,ibn:ien),stat=errorflag )
280  global%error = errorflag
281  IF (global%error /= 0) CALL errorstop( global,err_allocate,__line__ )
282  ENDDO
283 
284 ! - allocate memory for the rest (current grid level)
285 
286  ilev = regions(ireg)%currLevel
287  grid => regions(ireg)%levels(ilev)%grid
288  mixt => regions(ireg)%levels(ilev)%mixt
289 
290  CALL rflo_getdimensdummy( regions(ireg),ilev,idcbeg,idcend, &
291  jdcbeg,jdcend,kdcbeg,kdcend )
292  CALL rflo_getcelloffset( regions(ireg),ilev,icoff,ijcoff )
293  ibc = indijk(idcbeg,jdcbeg,kdcbeg,icoff,ijcoff)
294  iec = indijk(idcend,jdcend,kdcend,icoff,ijcoff)
295 
296  CALL rflo_getdimensphysnodes( regions(ireg),ilev,ipnbeg,ipnend, &
297  jpnbeg,jpnend,kpnbeg,kpnend )
298  CALL rflo_getnodeoffset( regions(ireg),ilev,inoff,ijnoff )
299  ibn = indijk(ipnbeg,jpnbeg,kpnbeg,inoff,ijnoff)
300  ien = indijk(ipnend,jpnend,kpnend,inoff,ijnoff)
301 
302  IF (regions(ireg)%mixtInput%moveGrid) THEN
303  ALLOCATE( grid%siVel(ibn:ien),stat=errorflag )
304  ALLOCATE( grid%sjVel(ibn:ien),stat=errorflag )
305  ALLOCATE( grid%skVel(ibn:ien),stat=errorflag )
306  ENDIF
307  global%error = errorflag
308  IF (global%error /= 0) CALL errorstop( global,err_allocate,__line__ )
309 
310  IF (global%postPlotType == plot_grid_flow) THEN
311  ALLOCATE( mixt%cv(5,ibc:iec) ,stat=errorflag )
312  ALLOCATE( mixt%dv(mixt%nDv,ibc:iec),stat=errorflag )
313  IF (regions(ireg)%mixtInput%computeTv) THEN
314  ALLOCATE( mixt%tv(mixt%nTv,ibc:iec),stat=errorflag )
315  ENDIF
316  IF (regions(ireg)%mixtInput%gasModel == gas_model_tcperf) THEN
317  ALLOCATE( mixt%gv(mixt%nGv,0:1),stat=errorflag )
318  ELSE
319  ALLOCATE( mixt%gv(mixt%nGv,ibc:iec),stat=errorflag )
320  ENDIF
321 #ifdef TURB
322  IF (global%postTurbFlag .AND. &
323  regions(ireg)%mixtInput%turbModel /= turb_model_none) THEN
324  turb => regions(ireg)%levels(ilev)%turb
325  IF (regions(ireg)%turbInput%nOutField > 1) THEN
326  ALLOCATE( turb%vort(xcoord:zcoord,ibc:iec),stat=errorflag )
327  ENDIF
328  IF (regions(ireg)%turbInput%modelClass == model_rans) THEN
329  ALLOCATE( turb%cv(regions(ireg)%turbInput%nCv,ibc:iec),stat=errorflag )
330  ALLOCATE( turb%lens(ibc:iec),stat=errorflag )
331  ENDIF
332  ENDIF
333 #endif
334 #ifdef STATS
335  IF (statsactive) THEN
336  IF (global%mixtNStat > 0) THEN
337  IF (global%mixtNStat < nstats_tec_mixt) &
338  CALL errorstop( global,err_stats_tecplot,__line__, &
339  'mixtNStat < NSTATS_TEC_MIXT' )
340  ALLOCATE( mixt%tav(global%mixtNStat,ibc:iec),stat=errorflag )
341  ENDIF
342 #ifdef TURB
343  IF (global%turbNStat > 0) THEN
344  IF (global%turbNStat < nstats_tec_turb) &
345  CALL errorstop( global,err_stats_tecplot,__line__, &
346  'turbNStat < NSTATS_TEC_TURB' )
347  IF (global%mixtNStat <=0) &
348  CALL errorstop( global,err_stats_tecplot,__line__, &
349  'Tecplot expect mixtNStat>0 if turbNStat>0' )
350  ALLOCATE( turb%tav(global%turbNStat,ibc:iec),stat=errorflag )
351  ENDIF
352 #endif
353  ENDIF
354 #endif
355  global%error = errorflag
356  IF (global%error /= 0) CALL errorstop( global,err_allocate,__line__ )
357  ENDIF
358 
359 ! - read grid
360 
361  CALL rflo_readgridregion( ireg,regions )
362  CALL rflo_generatecoarsegrids( regions(ireg) )
363  CALL rflo_copygeometrydummy( regions(ireg) )
364 
365 ! - read solution, calc. mixture properties
366 
367  IF (global%postPlotType == plot_grid_flow) THEN
368  CALL rflo_readsolutionregion( ireg,regions )
369  CALL mixtureproperties( regions(ireg),ibc,iec,.true. )
370 #ifdef TURB
371  IF (global%postTurbFlag .AND. &
372  regions(ireg)%mixtInput%turbModel /= turb_model_none) THEN
373  IF (regions(ireg)%turbInput%modelClass == model_les) THEN
374  CALL turb_rflo_readsolutionregion( ireg,regions )
375  ELSEIF ((regions(ireg)%mixtInput%turbModel == turb_model_sa) .OR. &
376  (regions(ireg)%mixtInput%turbModel == turb_model_dessa)) THEN
377  CALL turb_rflo_readsolutionregion( ireg,regions )
378  CALL turb_ranssageteddyvis( regions(ireg) )
379  ELSE
380  ENDIF
381  ENDIF
382 #endif
383 #ifdef STATS
384  IF (statsactive) THEN
385  IF (global%mixtNStat > 0 .OR. global%turbNStat > 0) &
386  CALL rflo_readstatregion( ireg,regions )
387  ENDIF
388 #endif
389  ENDIF
390 
391 ! - print on screen actual input selected
392 
393  IF (global%verbLevel >= verbose_low) CALL printpostinput( regions(ireg) )
394  IF (global%verbLevel == verbose_low) WRITE(stdout,'(A,I5.5)') &
395  solver_name//' - region ',ireg
396 
397 ! - write data
398 
399  IF (global%postOutFmt == plot_fmt_generic) THEN
400 
401 ! --- write data to generic file
402 
403  CALL writegeneric( ireg,regions(ireg) )
404 
405  ELSE IF (global%postOutFmt == plot_fmt_tecplot) THEN
406 
407 ! --- write data to TECPLOT file (binary)
408 
409 #ifndef NO_TECPLOT
410  CALL writetecplotbinary( ireg,regions(ireg) )
411 #endif
412 
413  ELSE IF (global%postOutFmt == plot_fmt_tecascii) THEN
414 
415 ! --- write data to TECPLOT file (ASCII)
416 
417  CALL writetecplotascii( ireg,regions(ireg) )
418 
419  ENDIF
420 
421 ! - deallocate memory
422 
423  DO ilev=1,regions(ireg)%nGridLevels
424  grid => regions(ireg)%levels(ilev)%grid
425  DEALLOCATE( grid%xyz,stat=errorflag )
426  global%error = errorflag
427  IF (global%error /= 0) CALL errorstop( global,err_deallocate,__line__ )
428  ENDDO
429 
430  ilev = regions(ireg)%currLevel
431  IF (regions(ireg)%mixtInput%moveGrid) THEN
432  grid => regions(ireg)%levels(ilev)%grid
433  DEALLOCATE( grid%siVel,stat=errorflag )
434  DEALLOCATE( grid%sjVel,stat=errorflag )
435  DEALLOCATE( grid%skVel,stat=errorflag )
436  ENDIF
437  IF (global%postPlotType == plot_grid_flow) THEN
438  DEALLOCATE( mixt%cv ,stat=errorflag )
439  DEALLOCATE( mixt%dv ,stat=errorflag )
440  DEALLOCATE( mixt%tv ,stat=errorflag )
441  DEALLOCATE( mixt%gv ,stat=errorflag )
442  ENDIF
443  global%error = errorflag
444  IF (global%error /= 0) CALL errorstop( global,err_deallocate,__line__ )
445 
446 #ifdef TURB
447  IF (global%postTurbFlag .AND. &
448  regions(ireg)%mixtInput%turbModel /= turb_model_none) THEN
449 
450  IF (ASSOCIATED(turb%vort)) DEALLOCATE( turb%vort,stat=errorflag ) !general
451  IF (ASSOCIATED(turb%cv)) DEALLOCATE( turb%cv ,stat=errorflag ) !RANS
452  IF (ASSOCIATED(turb%lens)) DEALLOCATE( turb%lens,stat=errorflag ) !RANS
453  ENDIF
454 #endif
455 
456 #ifdef STATS
457  IF (statsactive) THEN
458  IF (ASSOCIATED( mixt%tav )) DEALLOCATE( mixt%tav,stat=errorflag )
459 #ifdef TURB
460  IF (ASSOCIATED( turb%tav )) DEALLOCATE( turb%tav,stat=errorflag )
461 #endif
462  ENDIF
463 #endif
464 
465  ENDDO ! iReg
466 
467 ! finalize --------------------------------------------------------------------
468 
469  CALL deregisterfunction( global )
470 
471  WRITE(stdout,'(/,A)') solver_name//' Finished.'
472 
473 #ifdef MPI
474  CALL mpi_finalize( global%mpierr )
475 #endif
476 
477 1000 FORMAT(a,' Region ',i5,', grid level= ',i2,'.')
478 
479 END PROGRAM rocflo_post
480 
481 !******************************************************************************
482 !
483 ! RCS Revision history:
484 !
485 ! $Log: POST_Main.F90,v $
486 ! Revision 1.5 2008/12/06 08:44:49 mtcampbe
487 ! Updated license.
488 !
489 ! Revision 1.4 2008/11/19 22:17:59 mtcampbe
490 ! Added Illinois Open Source License/Copyright
491 !
492 ! Revision 1.3 2005/10/31 21:09:38 haselbac
493 ! Changed specModel and SPEC_MODEL_NONE
494 !
495 ! Revision 1.2 2004/12/03 03:20:04 wasistho
496 ! rflo_modinterfacespost to post_modinterfaces
497 !
498 ! Revision 1.1 2004/12/03 02:03:16 wasistho
499 ! added prefix
500 !
501 ! Revision 1.1 2004/12/03 00:32:01 wasistho
502 ! lower to upper case
503 !
504 ! Revision 1.39 2004/11/09 10:49:30 wasistho
505 ! added statistics to rflopost
506 !
507 ! Revision 1.38 2004/08/27 04:00:41 wasistho
508 ! fixed dimensions of relative vels when grid moves
509 !
510 ! Revision 1.37 2004/08/26 01:15:43 wasistho
511 ! more complete screen-display of required input parameters
512 !
513 ! Revision 1.36 2004/08/26 00:44:30 wasistho
514 ! bug fixed interconnection turbFlag and turbModel
515 !
516 ! Revision 1.35 2004/08/10 17:40:04 wasistho
517 ! do not compile writeTecplotBinary if there is no tecplot library
518 !
519 ! Revision 1.34 2004/07/28 01:50:17 wasistho
520 ! added print input
521 !
522 ! Revision 1.33 2004/07/24 03:50:15 wasistho
523 ! use postSection instead of command line input
524 !
525 ! Revision 1.32 2004/03/11 03:36:07 wasistho
526 ! changed rocturb nomenclature
527 !
528 ! Revision 1.31 2004/03/05 21:16:17 wasistho
529 ! fixed usage to include turbulence
530 !
531 ! Revision 1.30 2004/03/03 23:55:40 jferry
532 ! Allowed particles to be run with Euler case
533 !
534 ! Revision 1.29 2004/02/11 03:25:33 wasistho
535 ! added feature: variable number of turbulence output fields
536 !
537 ! Revision 1.28 2004/02/07 01:18:37 wasistho
538 ! added turbulence related results in rocflo post processing
539 !
540 ! Revision 1.27 2003/09/19 22:38:11 jblazek
541 ! Added turbulence input.
542 !
543 ! Revision 1.26 2003/05/15 02:57:07 jblazek
544 ! Inlined index function.
545 !
546 ! Revision 1.25 2003/03/20 22:23:47 haselbac
547 ! Renamed ModInterfaces
548 !
549 ! Revision 1.24 2003/03/20 19:41:26 haselbac
550 ! Corrected mistake in phased check-in
551 !
552 ! Revision 1.23 2003/03/20 19:34:37 haselbac
553 ! Modified RegFun call to avoid probs with long 'POST_Main.F90' names
554 !
555 ! Revision 1.22 2002/10/19 00:40:31 jblazek
556 ! Added utility (rflosurf) to write out surface grids for GenX.
557 !
558 ! Revision 1.21 2002/10/12 03:20:51 jblazek
559 ! Replaced [io]stat=global%error with local errorFlag for Rocflo.
560 !
561 ! Revision 1.20 2002/09/20 22:22:37 jblazek
562 ! Finalized integration into GenX.
563 !
564 ! Revision 1.19 2002/09/05 17:40:22 jblazek
565 ! Variable global moved into regions().
566 !
567 ! Revision 1.18 2002/08/30 01:47:58 jblazek
568 ! Added support for moving grids.
569 !
570 ! Revision 1.17 2002/08/16 21:33:48 jblazek
571 ! Changed interface to MixtureProperties.
572 !
573 ! Revision 1.16 2002/08/15 19:48:05 jblazek
574 ! Implemented grid deformation capability.
575 !
576 ! Revision 1.15 2002/08/07 20:51:26 jblazek
577 ! Enhanced for moving grids.
578 !
579 ! Revision 1.14 2002/07/20 00:42:05 jblazek
580 ! Added ASCII Tecplot format.
581 !
582 ! Revision 1.13 2002/07/16 21:34:37 jblazek
583 ! Prefixed screen output with SOLVER_NAME.
584 !
585 ! Revision 1.12 2002/07/12 21:50:07 jblazek
586 ! Added tool to split single grid into multiple regions.
587 !
588 ! Revision 1.11 2002/06/14 17:16:41 jblazek
589 ! Added version string.
590 !
591 ! Revision 1.10 2002/06/07 16:40:37 jblazek
592 ! Grid & solution for all regions in one file.
593 !
594 ! Revision 1.9 2002/04/11 21:10:27 jblazek
595 ! Set correct time when writing grid only for Tecplot.
596 !
597 ! Revision 1.8 2002/03/18 21:31:54 jblazek
598 ! Made codes compatible with MPI.
599 !
600 ! Revision 1.7 2002/02/22 20:30:39 jblazek
601 ! Changed generic format. Enhanced Tecplot title.
602 !
603 ! Revision 1.6 2002/02/22 00:05:44 jblazek
604 ! Changed TECPLOT link option.
605 !
606 ! Revision 1.4 2002/02/16 07:16:00 jblazek
607 ! Added implicit residual smoothing.
608 !
609 ! Revision 1.3 2002/02/09 01:47:01 jblazek
610 ! Added multi-probe option, residual smoothing, physical time step.
611 !
612 ! Revision 1.2 2002/01/12 00:02:49 jblazek
613 ! Added postprocessor.
614 !
615 ! Revision 1.1.1.1 2001/12/03 21:44:05 jblazek
616 ! Import of RocfluidMP
617 !
618 !******************************************************************************
619 
620 
621 
622 
623 
624 
625 
626 
subroutine turb_derivedinputvalues(regions)
subroutine rflo_copygeometrydummy(region)
subroutine writetecplotbinary(iReg, region)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE idcend
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jpnbeg
subroutine turb_rflo_readsolutionregion(iReg, regions)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE kpnbeg
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine rflo_readsolutionregion(iReg, regions)
program rocflo_post
Definition: POST_Main.F90:46
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jdnbeg
subroutine writegeneric(iReg, region)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jpnend
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE idnend
subroutine rflo_getnodeoffset(region, iLev, iNodeOffset, ijNodeOffset)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jdnend
subroutine rflo_readgridregion(iReg, regions)
subroutine rflo_getdimensdummy(region, iLev, idcbeg, idcend, jdcbeg, jdcend, kdcbeg, kdcend)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE idnbeg
subroutine buildversionstring(versionString)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE kdcbeg
subroutine writetecplotascii(iReg, region)
subroutine turb_ranssageteddyvis(region)
subroutine rflo_generatecoarsegrids(region)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE ipnbeg
subroutine rflo_getcelloffset(region, iLev, iCellOffset, ijCellOffset)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE idcbeg
subroutine readinputfile(regions)
subroutine rflo_derivedinputvalues(regions)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jdcend
subroutine rflo_getdimensphysnodes(region, iLev, ipnbeg, ipnend, jpnbeg, jpnend, kpnbeg, kpnend)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jdcbeg
subroutine rflo_getdimensdummynodes(region, iLev, idnbeg, idnend, jdnbeg, jdnend, kdnbeg, kdnend)
subroutine rflo_readregiontopology(global, regions)
subroutine errorstop(global, errorCode, errorLine, addMessage)
Definition: ModError.F90:483
subroutine printpostinput(region)
subroutine mixtureproperties(region, inBeg, inEnd, gasUpdate)
subroutine grid(bp)
Definition: setup_py.f90:257
subroutine deregisterfunction(global)
Definition: ModError.F90:469
subroutine turb_readinputfile(regions)
subroutine rflo_initinputvalues(regions)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE ipnend
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE kdnbeg
subroutine rflo_readstatregion(iReg, regions)
RT a() const
Definition: Line_2.h:140