66 CHARACTER(CHRLEN) :: &
67 RCSIdentString =
'$RCSfile: RFLU_ModTETMESH.F90,v $ $Revision: 1.8 $'
70 INTEGER :: nBFaces,nBQuads,nBTris,nBVert
71 INTEGER,
DIMENSION(:),
POINTER :: bf2p,bv
72 INTEGER,
DIMENSION(:,:),
POINTER :: bf2v
129 TYPE(t_region
),
POINTER :: pregion
135 INTEGER :: errorflag,ifl,ipatch,iv
137 TYPE(t_grid),
POINTER :: pgrid,pgridtetmesh
138 TYPE(t_patch),
POINTER :: ppatch,ppatchtetmesh
139 TYPE(t_region
),
TARGET :: regiontetmesh
140 TYPE(t_region
),
POINTER :: pregiontetmesh
146 global => pregion%global
149 'RFLU_ModTETMESH.F90')
151 IF ( global%verbLevel > verbose_none )
THEN
152 WRITE(stdout,
'(A,1X,A)') solver_name, &
153 'Converting from ROCFLU to TETMESH format...'
160 pgrid => pregion%grid
169 pregiontetmesh => regiontetmesh
170 pgridtetmesh => pregiontetmesh%grid
172 pregiontetmesh%global => global
183 pgridtetmesh%nPatches = 1
185 ALLOCATE(pregiontetmesh%patches(pgridtetmesh%nPatches),stat=errorflag)
186 global%error = errorflag
187 IF ( global%error /= err_none )
THEN
188 CALL
errorstop(global,err_allocate,__line__,
'pRegionTETMESH%patches')
195 gridtetmesh%nBTris = 0
196 gridtetmesh%nBQuads = 0
198 DO ipatch = 1,pgrid%nPatches
199 ppatch => pregion%patches(ipatch)
201 gridtetmesh%nBTris = gridtetmesh%nBTris + ppatch%nBTris
202 gridtetmesh%nBQuads = gridtetmesh%nBQuads + ppatch%nBQuads
205 gridtetmesh%nBFaces = gridtetmesh%nBTris + gridtetmesh%nBQuads
207 ppatchtetmesh => regiontetmesh%patches(pgridtetmesh%nPatches)
209 ppatchtetmesh%nBTris = gridtetmesh%nBTris
210 ppatchtetmesh%nBQuads = gridtetmesh%nBQuads
211 ppatchtetmesh%nBFaces = gridtetmesh%nBFaces
212 ppatchtetmesh%nBVert = 0
213 ppatchtetmesh%nBTrisTot = ppatchtetmesh%nBTris
214 ppatchtetmesh%nBQuadsTot = ppatchtetmesh%nBQuads
215 ppatchtetmesh%nBFacesTot = ppatchtetmesh%nBFaces
216 ppatchtetmesh%nBVertTot = 0
222 IF ( ppatchtetmesh%nBTris > 0 )
THEN
223 ALLOCATE(ppatchtetmesh%bTri2v(3,gridtetmesh%nBTris),stat=errorflag)
224 global%error = errorflag
225 IF ( global%error /= err_none )
THEN
226 CALL
errorstop(global,err_allocate,__line__,
'pPatchTETMESH%bTri2v')
230 IF ( ppatchtetmesh%nBQuads > 0 )
THEN
231 ALLOCATE(ppatchtetmesh%bQuad2v(4,gridtetmesh%nBQuads),stat=errorflag)
232 global%error = errorflag
233 IF ( global%error /= err_none )
THEN
234 CALL
errorstop(global,err_allocate,__line__,
'pPatchTETMESH%bQuad2v')
238 ALLOCATE(ppatchtetmesh%bf2v(4,gridtetmesh%nBFaces),stat=errorflag)
239 global%error = errorflag
240 IF ( global%error /= err_none )
THEN
241 CALL
errorstop(global,err_allocate,__line__,
'pPatchTETMESH%bf2v')
244 ALLOCATE(gridtetmesh%bf2p(gridtetmesh%nBFaces),stat=errorflag)
245 global%error = errorflag
246 IF ( global%error /= err_none )
THEN
247 CALL
errorstop(global,err_allocate,__line__,
'gridTETMESH%bf2p')
260 gridtetmesh%nBTris = 0
261 gridtetmesh%nBQuads = 0
262 gridtetmesh%nBFaces = 0
264 DO ipatch = 1,pgrid%nPatches
265 ppatch => pregion%patches(ipatch)
267 IF ( ppatch%nBTris > 0 )
THEN
268 DO ifl = 1,ppatch%nBTris
269 gridtetmesh%nBTris = gridtetmesh%nBTris + 1
270 ppatchtetmesh%bTri2v(1,gridtetmesh%nBTris) = ppatch%bTri2v(1,ifl)
271 ppatchtetmesh%bTri2v(2,gridtetmesh%nBTris) = ppatch%bTri2v(2,ifl)
272 ppatchtetmesh%bTri2v(3,gridtetmesh%nBTris) = ppatch%bTri2v(3,ifl)
276 IF ( ppatch%nBQuads > 0 )
THEN
277 DO ifl = 1,ppatch%nBQuads
278 gridtetmesh%nBQuads = gridtetmesh%nBQuads + 1
279 ppatchtetmesh%bQuad2v(1,gridtetmesh%nBQuads) = ppatch%bQuad2v(1,ifl)
280 ppatchtetmesh%bQuad2v(2,gridtetmesh%nBQuads) = ppatch%bQuad2v(2,ifl)
281 ppatchtetmesh%bQuad2v(3,gridtetmesh%nBQuads) = ppatch%bQuad2v(3,ifl)
282 ppatchtetmesh%bQuad2v(4,gridtetmesh%nBQuads) = ppatch%bQuad2v(4,ifl)
286 DO ifl = 1,ppatch%nBFaces
287 gridtetmesh%nBFaces = gridtetmesh%nBFaces + 1
288 ppatchtetmesh%bf2v(1,gridtetmesh%nBFaces) = ppatch%bf2v(1,ifl)
289 ppatchtetmesh%bf2v(2,gridtetmesh%nBFaces) = ppatch%bf2v(2,ifl)
290 ppatchtetmesh%bf2v(3,gridtetmesh%nBFaces) = ppatch%bf2v(3,ifl)
291 ppatchtetmesh%bf2v(4,gridtetmesh%nBFaces) = ppatch%bf2v(4,ifl)
293 gridtetmesh%bf2p(gridtetmesh%nBFaces) = ipatch
305 gridtetmesh%nBVert = pregiontetmesh%patches(1)%nBVert
311 ALLOCATE(gridtetmesh%bf2v(4,gridtetmesh%nBFaces),stat=errorflag)
312 global%error = errorflag
313 IF ( global%error /= err_none )
THEN
314 CALL
errorstop(global,err_allocate,__line__,
'gridTETMESH%bf2v')
317 ALLOCATE(gridtetmesh%bv(gridtetmesh%nBVert),stat=errorflag)
318 global%error = errorflag
319 IF ( global%error /= err_none )
THEN
320 CALL
errorstop(global,err_allocate,__line__,
'gridTETMESH%bv')
323 DO ifl = 1,gridtetmesh%nBFaces
324 gridtetmesh%bf2v(1,ifl) = ppatchtetmesh%bf2v(1,ifl)
325 gridtetmesh%bf2v(2,ifl) = ppatchtetmesh%bf2v(2,ifl)
326 gridtetmesh%bf2v(3,ifl) = ppatchtetmesh%bf2v(3,ifl)
327 gridtetmesh%bf2v(4,ifl) = ppatchtetmesh%bf2v(4,ifl)
330 DO iv = 1,gridtetmesh%nBVert
331 gridtetmesh%bv(iv) = ppatchtetmesh%bv(iv)
340 IF ( ppatchtetmesh%nBTris > 0 )
THEN
341 DEALLOCATE(ppatchtetmesh%bTri2v,stat=errorflag)
342 global%error = errorflag
343 IF ( global%error /= err_none )
THEN
344 CALL
errorstop(global,err_deallocate,__line__,
'pPatchTETMESH%bTri2v')
348 IF ( ppatchtetmesh%nBQuads > 0 )
THEN
349 DEALLOCATE(ppatchtetmesh%bQuad2v,stat=errorflag)
350 global%error = errorflag
351 IF ( global%error /= err_none )
THEN
352 CALL
errorstop(global,err_deallocate,__line__,
'pPatchTETMESH%bQuad2v')
356 DEALLOCATE(ppatchtetmesh%bf2v,stat=errorflag)
357 global%error = errorflag
358 IF ( global%error /= err_none )
THEN
359 CALL
errorstop(global,err_deallocate,__line__,
'pPatchTETMESH%bf2v')
362 DEALLOCATE(pregiontetmesh%patches,stat=errorflag)
363 global%error = errorflag
364 IF ( global%error /= err_none )
THEN
365 CALL
errorstop(global,err_deallocate,__line__,
'pRegionTETMESH%patches')
372 IF ( global%verbLevel > verbose_none )
THEN
373 WRITE(stdout,
'(A,1X,A)') solver_name, &
374 'Converting from ROCFLU to TETMESH format done.'
419 TYPE(t_region
),
POINTER :: pregion
425 CHARACTER(CHRLEN) :: ifilename
426 INTEGER :: dummyinteger,errorflag,
i,
ic,ifc,ifile,ifl,ipatch
427 INTEGER,
DIMENSION(3) :: dummyintegerarray(3)
428 TYPE(t_grid),
POINTER :: pgrid
429 TYPE(t_patch),
POINTER :: ppatch
436 global => pregion%global
439 'RFLU_ModTETMESH.F90')
441 IF ( global%verbLevel > verbose_none )
THEN
442 WRITE(stdout,
'(A,1X,A)') solver_name, &
443 'Converting from TETMESH to ROCFLU format...'
450 pgrid => pregion%grid
462 IF ( global%verbLevel > verbose_none )
THEN
463 WRITE(stdout,
'(A,3X,A)') solver_name,
'Reading TETMESH information file...'
470 OPEN(ifile,file=ifilename,
form=
"FORMATTED",
status=
"OLD",iostat=errorflag)
471 global%error = errorflag
472 IF ( global%error /= err_none )
THEN
473 CALL
errorstop(global,err_file_open,__line__,ifilename)
476 READ(ifile,*) pgrid%nPatches
478 CLOSE(ifile,iostat=errorflag)
479 global%error = errorflag
480 IF ( global%error /= err_none )
THEN
481 CALL
errorstop(global,err_file_close,__line__,ifilename)
484 IF ( global%verbLevel > verbose_none )
THEN
485 WRITE(stdout,
'(A,3X,A)') solver_name, &
486 'Reading TETMESH information file done.'
493 ALLOCATE(pregion%patches(pgrid%nPatches),stat=errorflag)
494 global%error = errorflag
495 IF ( global%error /= err_none )
THEN
496 CALL
errorstop(global,err_allocate,__line__,
'pRegion%patches')
499 DO ipatch = 1,pgrid%nPatches
500 ppatch => pregion%patches(ipatch)
507 ppatch%iPatchGlobal = ipatch
508 ppatch%iBorder = patch_iborder_default
509 ppatch%renumFlag = .false.
517 IF ( global%verbLevel > verbose_none )
THEN
518 WRITE(stdout,
'(A,3X,A)') solver_name,
'Reading .faces file...'
525 OPEN(ifile,file=ifilename,
form=
"FORMATTED",
status=
"OLD",iostat=errorflag)
526 global%error = errorflag
527 IF ( global%error /= err_none )
THEN
528 CALL
errorstop(global,err_file_open,__line__,ifilename)
531 READ(ifile,*) gridtetmesh%nBFaces
533 ALLOCATE(gridtetmesh%bf2v(3,gridtetmesh%nBFaces),stat=errorflag)
534 global%error = errorflag
535 IF ( global%error /= err_none )
THEN
536 CALL
errorstop(global,err_allocate,__line__,
'gridTETMESH%bf2v')
539 ALLOCATE(gridtetmesh%bf2p(gridtetmesh%nBFaces),stat=errorflag)
540 global%error = errorflag
541 IF ( global%error /= err_none )
THEN
542 CALL
errorstop(global,err_allocate,__line__,
'gridTETMESH%bf2v')
545 gridtetmesh%nBTris = gridtetmesh%nBFaces
546 gridtetmesh%nBQuads = 0
548 DO ifc = 1,gridtetmesh%nBFaces
549 READ(if_grid,*) dummyinteger,gridtetmesh%bf2v(1:3,ifc), &
550 gridtetmesh%bf2p(ifc),dummyintegerarray(1:3)
553 CLOSE(ifile,iostat=errorflag)
554 global%error = errorflag
555 IF ( global%error /= err_none )
THEN
556 CALL
errorstop(global,err_file_close,__line__,ifilename)
559 IF ( global%verbLevel > verbose_none )
THEN
560 WRITE(stdout,
'(A,3X,A)') solver_name,
'Reading .faces file done.'
567 IF ( global%verbLevel > verbose_none )
THEN
568 WRITE(stdout,
'(A,3X,A)') solver_name,
'Converting boundary faces...'
571 DO ifc = 1,gridtetmesh%nBFaces
572 ppatch => pregion%patches(gridtetmesh%bf2p(ifc))
574 ppatch%nBTris = ppatch%nBTris + 1
575 ppatch%nBFaces = ppatch%nBFaces + 1
584 DO ipatch = 1,pgrid%nPatches
585 ppatch => pregion%patches(ipatch)
587 ppatch%nBFaces = ppatch%nBTris + ppatch%nBQuads
588 pgrid%nBFaces = pgrid%nBFaces + ppatch%nBFaces
590 ppatch%nBFacesTot = ppatch%nBFaces
591 ppatch%nBQuadsTot = ppatch%nBQuads
592 ppatch%nBTrisTot = ppatch%nBTris
593 ppatch%nBVertTot = ppatch%nBVert
600 ppatch%nBCellsVirt = 0
603 pgrid%nBFacesTot = pgrid%nBFaces
609 DO ipatch = 1,pgrid%nPatches
610 ppatch => pregion%patches(ipatch)
612 ALLOCATE(ppatch%bTri2v(3,ppatch%nBTrisMax),stat=errorflag)
613 global%error = errorflag
614 IF ( global%error /= err_none )
THEN
615 CALL
errorstop(global,err_allocate,__line__,
'pPatch%bTri2v')
621 DO ifc = 1,gridtetmesh%nBFaces
622 ppatch => pregion%patches(gridtetmesh%bf2p(ifc))
624 ppatch%nBTris = ppatch%nBTris + 1
626 ppatch%bTri2v(1,ppatch%nBTris) = gridtetmesh%bf2v(1,ifc)
627 ppatch%bTri2v(2,ppatch%nBTris) = gridtetmesh%bf2v(2,ifc)
628 ppatch%bTri2v(3,ppatch%nBTris) = gridtetmesh%bf2v(3,ifc)
631 DEALLOCATE(gridtetmesh%bf2v,stat=errorflag)
632 global%error = errorflag
633 IF ( global%error /= err_none )
THEN
634 CALL
errorstop(global,err_deallocate,__line__,
'gridTETMESH%bf2v')
637 DEALLOCATE(gridtetmesh%bf2p,stat=errorflag)
638 global%error = errorflag
639 IF ( global%error /= err_none )
THEN
640 CALL
errorstop(global,err_deallocate,__line__,
'gridTETMESH%bf2v')
643 IF ( global%verbLevel > verbose_none )
THEN
644 WRITE(stdout,
'(A,3X,A)') solver_name,
'Converting boundary faces done.'
651 IF ( global%verbLevel > verbose_none )
THEN
652 WRITE(stdout,
'(A,3X,A)') solver_name,
'Converting connectivity...'
655 DO ic = 1,pgrid%nTetsTot
656 dummyinteger = pgrid%tet2v(2,
ic)
657 pgrid%tet2v(2,
ic) = pgrid%tet2v(3,
ic)
658 pgrid%tet2v(3,
ic) = dummyinteger
661 IF ( global%verbLevel > verbose_none )
THEN
662 WRITE(stdout,
'(A,3X,A)') solver_name,
'Converting connectivity done.'
669 global%nPatches = pgrid%nPatches
679 pgrid%nHexs = pgrid%nHexsTot
680 pgrid%nPris = pgrid%nPrisTot
681 pgrid%nPyrs = pgrid%nPyrsTot
687 DO ipatch = 1,pgrid%nPatches
688 ppatch => pregion%patches(ipatch)
690 ALLOCATE(ppatch%bf2c(ppatch%nBFacesMax),stat=errorflag)
691 global%error = errorflag
692 IF ( global%error /= err_none )
THEN
693 CALL
errorstop(global,err_allocate,__line__,
'pPatch%bf2c')
696 ALLOCATE(ppatch%bf2v(4,ppatch%nBFacesMax),stat=errorflag)
697 global%error = errorflag
698 IF ( global%error /= err_none )
THEN
699 CALL
errorstop(global,err_allocate,__line__,
'pPatch%bf2v')
702 DO ifl = 1,ppatch%nBFacesMax
703 ppatch%bf2v(1,ifl) = vert_none
704 ppatch%bf2v(2,ifl) = vert_none
705 ppatch%bf2v(3,ifl) = vert_none
706 ppatch%bf2v(4,ifl) = vert_none
714 IF ( global%verbLevel > verbose_none )
THEN
715 WRITE(stdout,
'(A,1X,A)') solver_name, &
716 'Converting from TETMESH to ROCFLU format done.'
757 TYPE(t_region
),
POINTER :: pregion
763 CHARACTER(CHRLEN) :: dummystring,ifilename
764 INTEGER :: cvmax,cvmin,dummyinteger,errorflag,
i,
ic,ifile,iv
765 TYPE(t_grid),
POINTER :: pgrid
772 global => pregion%global
775 'RFLU_ModTETMESH.F90')
777 IF ( global%verbLevel > verbose_none )
THEN
778 WRITE(stdout,
'(A,1X,A)') solver_name,
'Reading TETMESH grid file...'
789 OPEN(ifile,file=ifilename,
form=
"FORMATTED",
status=
"OLD",iostat=errorflag)
790 global%error = errorflag
791 IF ( global%error /= err_none )
THEN
792 CALL
errorstop(global,err_file_open,__line__,ifilename)
799 IF ( global%verbLevel > verbose_none )
THEN
800 WRITE(stdout,
'(A,3X,A)') solver_name,
'Header...'
803 pgrid => pregion%grid
805 READ(ifile,*) pgrid%nTetsTot,pgrid%nVertTot
810 pgrid%nCellsTot = pgrid%nTetsTot
811 pgrid%nCells = pgrid%nCellsTot
812 pgrid%nTets = pgrid%nTetsTot
813 pgrid%nVert = pgrid%nVertTot
819 IF ( global%verbLevel > verbose_none )
THEN
820 WRITE(stdout,
'(A,3X,A)') solver_name,
'Connectivity...'
823 ALLOCATE(pgrid%tet2v(4,pgrid%nTetsMax),stat=errorflag)
824 global%error = errorflag
825 IF ( global%error /= err_none )
THEN
826 CALL
errorstop(global,err_allocate,__line__,
'pGrid%tet2v')
829 READ(ifile,*) ((pgrid%tet2v(
i,
ic),
i=1,4),
ic=1,pgrid%nTetsTot)
835 IF ( global%verbLevel > verbose_none )
THEN
836 WRITE(stdout,
'(A,3X,A)') solver_name,
'Coordinates...'
839 ALLOCATE(pgrid%xyz(3,pgrid%nVertMax),stat=errorflag)
840 global%error = errorflag
841 IF ( global%error /= err_none )
THEN
842 CALL
errorstop(global,err_allocate,__line__,
'pGrid%xyz')
845 READ(ifile,*) ((pgrid%xyz(
i,iv),
i=1,3),iv=1,pgrid%nVertTot)
851 CLOSE(ifile,iostat=errorflag)
852 global%error = errorflag
853 IF ( global%error /= err_none )
THEN
854 CALL
errorstop(global,err_file_close,__line__,ifilename)
861 IF ( global%checkLevel > check_none )
THEN
862 IF ( global%verbLevel > verbose_none )
THEN
863 WRITE(stdout,
'(A,3X,A)') solver_name, &
864 'Checking cell connectivity array entries...'
867 cvmin = minval(pgrid%tet2v(1:4,1:pgrid%nTetsTot))
868 cvmax = maxval(pgrid%tet2v(1:4,1:pgrid%nTetsTot))
870 IF ( cvmin /= 1 .OR. cvmax /= pgrid%nVertTot )
THEN
871 IF ( global%verbLevel > verbose_none )
THEN
872 WRITE(stdout,
'(A,5X,A)') solver_name,
'Check failed.'
874 CALL
errorstop(global,err_vertex_number,__line__)
877 IF ( global%verbLevel > verbose_none )
THEN
878 WRITE(stdout,
'(A,3X,A)') solver_name, &
879 'Checking cell connectivity array entries done.'
887 IF ( global%verbLevel > verbose_none )
THEN
888 WRITE(stdout,
'(A,3X,A)') solver_name,
'Grid Statistics:'
889 WRITE(stdout,
'(A,5X,A,11X,I9)') solver_name,
'Vertices: ',pgrid%nVertTot
890 WRITE(stdout,
'(A,5X,A,11X,I9)') solver_name,
'Tetrahedra:',pgrid%nTetsTot
897 IF ( global%verbLevel > verbose_none )
THEN
898 WRITE(stdout,
'(A,1X,A)') solver_name,
'Reading TETMESH grid file done.'
945 TYPE(t_region
),
POINTER :: pregion
951 CHARACTER(CHRLEN) :: ifilename
952 INTEGER :: dummyinteger,errorflag,ifc,ifctype,ifile,iv
953 INTEGER,
DIMENSION(4) :: dummyintegerarray
954 TYPE(t_grid),
POINTER :: pgrid
961 global => pregion%global
964 'RFLU_ModTETMESH.F90')
966 IF ( global%myProcid == masterproc .AND. &
967 global%verbLevel > verbose_none )
THEN
968 WRITE(stdout,
'(A,1X,A)') solver_name,
'Writing TETMESH surface grid...'
975 pgrid => pregion%grid
978 dummyintegerarray(:) = dummyinteger
988 IF ( global%myProcid == masterproc .AND. &
989 global%verbLevel > verbose_none )
THEN
990 WRITE(stdout,
'(A,3X,A)') solver_name,
'Writing .faces file...'
997 OPEN(ifile,file=ifilename,
form=
"FORMATTED",
status=
"UNKNOWN", &
999 global%error = errorflag
1000 IF ( global%error /= err_none )
THEN
1001 CALL
errorstop(global,err_file_open,__line__,ifilename)
1008 WRITE(if_grid,*) gridtetmesh%nBFaces,dummyinteger
1010 DO ifc = 1,gridtetmesh%nBFaces
1011 IF ( gridtetmesh%bf2v(4,ifc) == vert_none )
THEN
1017 WRITE(if_grid,*) ifctype,gridtetmesh%bf2v(1:ifctype,ifc), &
1018 gridtetmesh%bf2p(ifc),dummyintegerarray(1:ifctype)
1025 CLOSE(ifile,iostat=errorflag)
1026 global%error = errorflag
1027 IF ( global%myProcid == masterproc .AND. &
1028 global%error /= err_none )
THEN
1029 CALL
errorstop(global,err_file_close,__line__,ifilename)
1032 IF ( global%myProcid == masterproc .AND. &
1033 global%verbLevel > verbose_none )
THEN
1034 WRITE(stdout,
'(A,3X,A)') solver_name,
'Writing .faces file done.'
1045 IF ( global%myProcid == masterproc .AND. &
1046 global%verbLevel > verbose_none )
THEN
1047 WRITE(stdout,
'(A,3X,A)') solver_name,
'Writing .points file...'
1054 OPEN(ifile,file=ifilename,
form=
"FORMATTED",
status=
"UNKNOWN", &
1056 global%error = errorflag
1057 IF ( global%error /= err_none )
THEN
1058 CALL
errorstop(global,err_file_open,__line__,ifilename)
1065 WRITE(if_grid,*) gridtetmesh%nBVert
1067 DO iv = 1,gridtetmesh%nBVert
1068 WRITE(if_grid,*) pgrid%xyz(xcoord:zcoord,iv),dummyinteger
1075 CLOSE(ifile,iostat=errorflag)
1076 global%error = errorflag
1077 IF ( global%myProcid == masterproc .AND. &
1078 global%error /= err_none )
THEN
1079 CALL
errorstop(global,err_file_close,__line__,ifilename)
1082 IF ( global%myProcid == masterproc .AND. &
1083 global%verbLevel > verbose_none )
THEN
1084 WRITE(stdout,
'(A,3X,A)') solver_name,
'Writing .points file done.'
1095 IF ( global%myProcid == masterproc .AND. &
1096 global%verbLevel > verbose_none )
THEN
1097 WRITE(stdout,
'(A,3X,A)') solver_name,
'Writing .tmi file...'
1104 OPEN(ifile,file=ifilename,
form=
"FORMATTED",
status=
"UNKNOWN", &
1106 global%error = errorflag
1107 IF ( global%error /= err_none )
THEN
1108 CALL
errorstop(global,err_file_open,__line__,ifilename)
1115 WRITE(if_grid,*) pgrid%nPatches
1121 CLOSE(ifile,iostat=errorflag)
1122 global%error = errorflag
1123 IF ( global%myProcid == masterproc .AND. &
1124 global%error /= err_none )
THEN
1125 CALL
errorstop(global,err_file_close,__line__,ifilename)
1128 IF ( global%myProcid == masterproc .AND. &
1129 global%verbLevel > verbose_none )
THEN
1130 WRITE(stdout,
'(A,3X,A)') solver_name,
'Writing .tmi file done.'
1137 IF ( global%myProcid == masterproc .AND. &
1138 global%verbLevel > verbose_none )
THEN
1139 WRITE(stdout,
'(A,1X,A)') solver_name,
'Writing TETMESH surface grid done.'
subroutine, public rflu_buildbvertexlists(pRegion)
subroutine, public rflu_writesurfgridtetmesh(pRegion)
subroutine, public rflu_convtetmesh2rocflu(pRegion)
subroutine, public rflu_convrocflu2tetmesh(pRegion)
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
**********************************************************************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 ic
subroutine, public rflu_denumberbfacelists(pRegion)
subroutine buildfilenameplain(global, dest, ext, fileName)
subroutine, public rflu_renumberbfacelists(pRegion)
**********************************************************************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 form
subroutine, public rflu_destroybvertexlists(pRegion)
INTEGER function, public rflu_setmaxdimension(global, nXyzTot)
subroutine, public rflu_createbvertexlists(pRegion)
subroutine, public rflu_readgridtetmesh(pRegion)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)