73 CHARACTER(CHRLEN),
PARAMETER,
PRIVATE :: &
74 RCSIdentString =
'$RCSfile: RFLU_ModTECPLOT.F90,v $ $Revision: 1.38 $'
148 TYPE(t_patch),
POINTER :: ppatch
149 TYPE(t_region
),
POINTER :: pregion
155 INTEGER :: errorflag,icg,ifl,ipatch,ivar,ivarfacetot,ivartot,ivarverttot, &
156 ivg,ivl,nvarsfacetot,nvarsfacetotsave,nvarsverttot, &
158 REAL(RFREAL),
DIMENSION(:,:),
POINTER :: pvar
160 TYPE(t_grid),
POINTER :: pgrid
166 INTEGER,
EXTERNAL :: tecfil100
172 global => pregion%global
175 'RFLU_ModTECPLOT.F90')
177 IF ( global%verbLevel > verbose_none )
THEN
178 WRITE(stdout,
'(A,1X,A)') solver_name, &
179 'Building surface data for TECPLOT field file...'
187 pgrid => pregion%grid
193 errorflag = tecfil100(filetype2cntrtec(file_type_field))
194 global%error = errorflag
195 IF ( global%error /= err_none )
THEN
196 CALL
errorstop(global,err_tecplot_output,__line__)
213 IF ( global%postPlotType == plot_grid_flow )
THEN
219 nvarstec = nvarstec + pregion%mixtInput%nCv &
220 + pregion%mixtInput%nDv &
221 + pregion%mixtInput%nGvAct &
229 IF ( global%specUsed .EQV. .true. )
THEN
230 nvarstec = nvarstec + pregion%specInput%nSpecies &
232 + pregion%specInput%nSpeciesEE*4
241 ALLOCATE(postec(nvarstec),stat=errorflag)
242 global%error = errorflag
243 IF ( global%error /= err_none )
THEN
244 CALL
errorstop(global,err_allocate,__line__,
'posTEC')
254 ivartot = ivartot + 1
255 postec(ivartot) = var_pos_vert
262 IF ( global%postPlotType == plot_grid_flow )
THEN
268 IF ( global%postInterpType /= interp_type_none )
THEN
269 DO ivar = 1,pregion%mixtInput%nCv
270 ivartot = ivartot + 1
271 postec(ivartot) = var_pos_vert
274 DO ivar = 1,pregion%mixtInput%nDv
275 ivartot = ivartot + 1
276 postec(ivartot) = var_pos_vert
279 DO ivar = 1,pregion%mixtInput%nGvAct
280 ivartot = ivartot + 1
281 postec(ivartot) = var_pos_vert
284 DO ivar = 1,pregion%plot%nPv
285 ivartot = ivartot + 1
286 postec(ivartot) = var_pos_vert
294 DO ivar = 1,pregion%mixtInput%nCv
295 ivartot = ivartot + 1
296 postec(ivartot) = var_pos_face
299 DO ivar = 1,pregion%mixtInput%nDv
300 ivartot = ivartot + 1
301 postec(ivartot) = var_pos_face
304 DO ivar = 1,pregion%mixtInput%nGvAct
305 ivartot = ivartot + 1
306 postec(ivartot) = var_pos_face
309 DO ivar = 1,pregion%plot%nPv
310 ivartot = ivartot + 1
311 postec(ivartot) = var_pos_face
320 IF ( global%postPlotType == plot_grid_flow )
THEN
326 IF ( global%postInterpType /= interp_type_none )
THEN
328 IF ( global%specUsed .EQV. .true. )
THEN
329 DO ivar = 1,pregion%specInput%nSpecies
330 ivartot = ivartot + 1
331 postec(ivartot) = var_pos_vert
335 DO ivar = 1,pregion%specInput%nSpeciesEE*4
336 ivartot = ivartot + 1
337 postec(ivartot) = var_pos_vert
348 IF ( global%specUsed .EQV. .true. )
THEN
349 DO ivar = 1,pregion%specInput%nSpecies
350 ivartot = ivartot + 1
351 postec(ivartot) = var_pos_face
355 DO ivar = 1,pregion%specInput%nSpeciesEE*4
356 ivartot = ivartot + 1
357 postec(ivartot) = var_pos_face
372 IF ( postec(ivar) == var_pos_face )
THEN
373 nvarsfacetec = nvarsfacetec + 1
374 ELSE IF ( postec(ivar) == var_pos_vert )
THEN
375 nvarsverttec = nvarsverttec + 1
377 CALL
errorstop(global,err_reached_default,__line__)
385 ALLOCATE(ppatch%varVertTEC(ppatch%nBVertTot,nvarsverttec),stat=errorflag)
386 global%error = errorflag
387 IF ( global%error /= err_none )
THEN
388 CALL
errorstop(global,err_allocate,__line__,
'pPatch%varVertTEC')
391 IF ( nvarsfacetec > 0 )
THEN
392 ALLOCATE(ppatch%varFaceTEC(ppatch%nBFacesTot,nvarsfacetec),stat=errorflag)
393 global%error = errorflag
394 IF ( global%error /= err_none )
THEN
395 CALL
errorstop(global,err_allocate,__line__,
'pPatch%varFaceTEC')
398 nullify(ppatch%varFaceTEC)
412 DO ivl = 1,ppatch%nBVertTot
415 ppatch%varVertTEC(ivl,1) = pgrid%xyz(xcoord,ivg)
416 ppatch%varVertTEC(ivl,2) = pgrid%xyz(ycoord,ivg)
417 ppatch%varVertTEC(ivl,3) = pgrid%xyz(zcoord,ivg)
426 IF ( global%postPlotType == plot_grid_flow )
THEN
434 IF ( global%postInterpType /= interp_type_none )
THEN
435 DO ivl = 1,ppatch%nBVertTot
438 ivarverttot = nvarsverttot
440 DO ivar = 1,pregion%mixtInput%nCv
441 ppatch%varVertTEC(ivl,ivarverttot+ivar) = &
442 pregion%mixt%cvVert(ivar,ivg)
445 ivarverttot = nvarsverttot + pregion%mixtInput%nCv
447 DO ivar = 1,pregion%mixtInput%nDv
448 ppatch%varVertTEC(ivl,ivarverttot+ivar) = &
449 pregion%mixt%dvVert(ivar,ivg)
452 ivarverttot = nvarsverttot + pregion%mixtInput%nCv &
453 + pregion%mixtInput%nDv
455 DO ivar = 1,pregion%mixtInput%nGvAct
456 ppatch%varVertTEC(ivl,ivarverttot+ivar) = &
457 pregion%mixt%gvVert(ivar,ivg)
460 ivarverttot = nvarsverttot + pregion%mixtInput%nCv &
461 + pregion%mixtInput%nDv &
462 + pregion%mixtInput%nGvAct
464 DO ivar = 1,pregion%plot%nPv
465 ppatch%varVertTEC(ivl,ivarverttot+ivar) = &
466 pregion%plot%pvVert(ivar,ivg)
473 DO ifl = 1,ppatch%nBFacesTot
474 icg = ppatch%bf2c(ifl)
476 ivarfacetot = nvarsfacetot
478 DO ivar = 1,pregion%mixtInput%nCv
479 ppatch%varFaceTEC(ifl,ivarfacetot+ivar) = pregion%mixt%cv(ivar,icg)
482 ivarfacetot = nvarsfacetot + pregion%mixtInput%nCv
484 DO ivar = 1,pregion%mixtInput%nDv
485 ppatch%varFaceTEC(ifl,ivarfacetot+ivar) = pregion%mixt%dv(ivar,icg)
488 ivarfacetot = nvarsfacetot + pregion%mixtInput%nCv &
489 + pregion%mixtInput%nDv
491 DO ivar = 1,pregion%mixtInput%nGvAct
492 ppatch%varFaceTEC(ifl,ivarfacetot+ivar) = pregion%mixt%gv(ivar,icg)
495 ivarfacetot = nvarsfacetot + pregion%mixtInput%nCv &
496 + pregion%mixtInput%nDv &
497 + pregion%mixtInput%nGvAct
499 DO ivar = 1,pregion%plot%nPv
500 ppatch%varFaceTEC(ifl,ivarfacetot+ivar) = pregion%plot%pv(ivar,icg)
505 IF ( global%postInterpType /= interp_type_none )
THEN
506 nvarsverttot = nvarsverttot + pregion%mixtInput%nCv &
507 + pregion%mixtInput%nDv &
508 + pregion%mixtInput%nGvAct &
511 nvarsfacetot = nvarsfacetot + pregion%mixtInput%nCv &
512 + pregion%mixtInput%nDv &
513 + pregion%mixtInput%nGvAct &
521 nvarsfacetotsave = nvarsfacetot
522 nvarsverttotsave = nvarsverttot
524 IF ( global%postInterpType /= interp_type_none )
THEN
528 nvarsverttot = nvarsverttotsave
531 IF ( global%specUsed .EQV. .true. )
THEN
532 DO ivl = 1,ppatch%nBVertTot
535 ivarverttot = nvarsverttot
537 DO ivar = 1,pregion%specInput%nSpecies
538 ppatch%varVertTEC(ivl,ivarverttot+ivar) &
539 = pregion%spec%cvVert(ivar,ivg)
543 nvarsverttot = nvarsverttot + pregion%specInput%nSpecies
545 DO ivl = 1,ppatch%nBVertTot
548 DO ivar = 1,pregion%specInput%nSpeciesEE
549 ivarverttot = nvarsverttot
559 ppatch%varVertTEC(ivl,ivarverttot+4*(ivar-1)+1) &
560 = pregion%spec%eevVert(1,ivar,ivg)
561 ppatch%varVertTEC(ivl,ivarverttot+4*(ivar-1)+2) &
562 = pregion%spec%eevVert(2,ivar,ivg)
563 ppatch%varVertTEC(ivl,ivarverttot+4*(ivar-1)+3) &
564 = pregion%spec%eevVert(3,ivar,ivg)
565 ppatch%varVertTEC(ivl,ivarverttot+4*(ivar-1)+4) &
566 = pregion%spec%eevVert(4,ivar,ivg)
571 nvarsverttot = nvarsverttot + pregion%specInput%nSpecies*4
578 nvarsfacetot = nvarsfacetotsave
581 IF ( global%specUsed .EQV. .true. )
THEN
582 DO ifl = 1,ppatch%nBFacesTot
583 icg = ppatch%bf2c(ifl)
585 ivarfacetot = nvarsfacetot
587 DO ivar = 1,pregion%specInput%nSpecies
588 ppatch%varFaceTEC(ifl,ivarfacetot+ivar) &
589 = pregion%spec%cv(ivar,icg)
593 nvarsfacetot = nvarsfacetot + pregion%specInput%nSpecies
595 DO ifl = 1,ppatch%nBFacesTot
596 icg = ppatch%bf2c(ifl)
598 DO ivar = 1,pregion%specInput%nSpeciesEE
599 ivarfacetot = nvarsfacetot
609 ppatch%varFaceTEC(ifl,ivarfacetot+4*(ivar-1)+1) &
610 = pregion%spec%eev(1,ivar,icg)
611 ppatch%varFaceTEC(ifl,ivarfacetot+4*(ivar-1)+2) &
612 = pregion%spec%eev(2,ivar,icg)
613 ppatch%varFaceTEC(ifl,ivarfacetot+4*(ivar-1)+3) &
614 = pregion%spec%eev(3,ivar,icg)
615 ppatch%varFaceTEC(ifl,ivarfacetot+4*(ivar-1)+4) &
616 = pregion%spec%eev(4,ivar,icg)
621 nvarsfacetot = nvarsfacetot + pregion%specInput%nSpecies*4
626 IF ( global%postInterpType /= interp_type_none )
THEN
627 nvarsverttot = nvarsverttot + pregion%specInput%nSpecies
629 nvarsfacetot = nvarsfacetot + pregion%specInput%nSpecies
637 IF ( global%verbLevel > verbose_none )
THEN
638 WRITE(stdout,
'(A,1X,A)') solver_name,
'Building surface data for '// &
639 'TECPLOT field file done.'
680 TYPE(t_region
),
POINTER :: pregion
686 INTEGER :: errorflag,icg,ivar,ivartot,ivarcelltot,ivarverttot,ivg, &
687 nvarscelltot,nvarsverttot
689 TYPE(t_grid),
POINTER :: pgrid
695 INTEGER,
EXTERNAL :: tecfil100
701 global => pregion%global
704 'RFLU_ModTECPLOT.F90')
706 IF ( global%verbLevel > verbose_none )
THEN
707 WRITE(stdout,
'(A,1X,A)') solver_name, &
708 'Building volume data for TECPLOT field file...'
715 pgrid => pregion%grid
721 errorflag = tecfil100(filetype2cntrtec(file_type_field))
722 global%error = errorflag
723 IF ( global%error /= err_none )
THEN
724 CALL
errorstop(global,err_tecplot_output,__line__)
741 IF ( global%postPlotType == plot_grid_flow )
THEN
747 nvarstec = nvarstec + pregion%mixtInput%nCv &
748 + pregion%mixtInput%nDv &
749 + pregion%mixtInput%nGvAct &
757 IF ( global%specUsed .EQV. .true. )
THEN
758 nvarstec = nvarstec + pregion%specInput%nSpecies &
760 + pregion%specInput%nSpeciesEE*4
769 ALLOCATE(postec(nvarstec),stat=errorflag)
770 global%error = errorflag
771 IF ( global%error /= err_none )
THEN
772 CALL
errorstop(global,err_allocate,__line__,
'posTEC')
782 ivartot = ivartot + 1
783 postec(ivartot) = var_pos_vert
790 IF ( global%postPlotType == plot_grid_flow )
THEN
796 IF ( global%postInterpType /= interp_type_none )
THEN
797 DO ivar = 1,pregion%mixtInput%nCv
798 ivartot = ivartot + 1
799 postec(ivartot) = var_pos_vert
802 DO ivar = 1,pregion%mixtInput%nDv
803 ivartot = ivartot + 1
804 postec(ivartot) = var_pos_vert
807 DO ivar = 1,pregion%mixtInput%nGvAct
808 ivartot = ivartot + 1
809 postec(ivartot) = var_pos_vert
812 DO ivar = 1,pregion%plot%nPv
813 ivartot = ivartot + 1
814 postec(ivartot) = var_pos_vert
822 DO ivar = 1,pregion%mixtInput%nCv
823 ivartot = ivartot + 1
824 postec(ivartot) = var_pos_cell
827 DO ivar = 1,pregion%mixtInput%nDv
828 ivartot = ivartot + 1
829 postec(ivartot) = var_pos_cell
832 DO ivar = 1,pregion%mixtInput%nGvAct
833 ivartot = ivartot + 1
834 postec(ivartot) = var_pos_cell
837 DO ivar = 1,pregion%plot%nPv
838 ivartot = ivartot + 1
839 postec(ivartot) = var_pos_cell
848 IF ( global%postPlotType == plot_grid_flow )
THEN
854 IF ( global%postInterpType /= interp_type_none )
THEN
856 IF ( global%specUsed .EQV. .true. )
THEN
857 DO ivar = 1,pregion%specInput%nSpecies
858 ivartot = ivartot + 1
859 postec(ivartot) = var_pos_vert
863 DO ivar = 1,pregion%specInput%nSpeciesEE*4
864 ivartot = ivartot + 1
865 postec(ivartot) = var_pos_vert
876 IF ( global%specUsed .EQV. .true. )
THEN
877 DO ivar = 1,pregion%specInput%nSpecies
878 ivartot = ivartot + 1
879 postec(ivartot) = var_pos_cell
883 DO ivar = 1,pregion%specInput%nSpeciesEE*4
884 ivartot = ivartot + 1
885 postec(ivartot) = var_pos_cell
900 IF ( postec(ivar) == var_pos_cell )
THEN
901 nvarscelltec = nvarscelltec + 1
902 ELSE IF ( postec(ivar) == var_pos_vert )
THEN
903 nvarsverttec = nvarsverttec + 1
905 CALL
errorstop(global,err_reached_default,__line__)
913 ALLOCATE(pregion%varVertTEC(pgrid%nVertTot,nvarsverttec),stat=errorflag)
914 global%error = errorflag
915 IF ( global%error /= err_none )
THEN
916 CALL
errorstop(global,err_allocate,__line__,
'pRegion%varVertTEC')
919 IF ( nvarscelltec > 0 )
THEN
920 ALLOCATE(pregion%varCellTEC(pgrid%nCellsTot,nvarscelltec),stat=errorflag)
921 global%error = errorflag
922 IF ( global%error /= err_none )
THEN
923 CALL
errorstop(global,err_allocate,__line__,
'pRegion%varCellTEC')
926 nullify(pregion%varCellTEC)
940 DO ivg = 1,pgrid%nVertTot
941 pregion%varVertTEC(ivg,1) = pgrid%xyz(xcoord,ivg)
942 pregion%varVertTEC(ivg,2) = pgrid%xyz(ycoord,ivg)
943 pregion%varVertTEC(ivg,3) = pgrid%xyz(zcoord,ivg)
952 IF ( global%postPlotType == plot_grid_flow )
THEN
960 IF ( global%postInterpType /= interp_type_none )
THEN
961 DO ivg = 1,pgrid%nVertTot
962 ivarverttot = nvarsverttot
964 DO ivar = 1,pregion%mixtInput%nCv
965 pregion%varVertTEC(ivg,ivarverttot+ivar) &
966 = pregion%mixt%cvVert(ivar,ivg)
969 ivarverttot = nvarsverttot + pregion%mixtInput%nCv
971 DO ivar = 1,pregion%mixtInput%nDv
972 pregion%varVertTEC(ivg,ivarverttot+ivar) &
973 = pregion%mixt%dvVert(ivar,ivg)
976 ivarverttot = nvarsverttot + pregion%mixtInput%nCv &
977 + pregion%mixtInput%nDv
979 DO ivar = 1,pregion%mixtInput%nGvAct
980 pregion%varVertTEC(ivg,ivarverttot+ivar) &
981 = pregion%mixt%gvVert(ivar,ivg)
984 ivarverttot = nvarsverttot + pregion%mixtInput%nCv &
985 + pregion%mixtInput%nDv &
986 + pregion%mixtInput%nGvAct
988 DO ivar = 1,pregion%plot%nPv
989 pregion%varVertTEC(ivg,ivarverttot+ivar) &
990 = pregion%plot%pvVert(ivar,ivg)
994 nvarsverttot = nvarsverttot + pregion%mixtInput%nCv &
995 + pregion%mixtInput%nDv &
996 + pregion%mixtInput%nGvAct &
1002 DO icg = 1,pgrid%nCellsTot
1003 ivarcelltot = nvarscelltot
1005 DO ivar = 1,pregion%mixtInput%nCv
1006 pregion%varCellTEC(icg,ivarcelltot+ivar) = pregion%mixt%cv(ivar,icg)
1009 ivarcelltot = nvarscelltot + pregion%mixtInput%nCv
1011 DO ivar = 1,pregion%mixtInput%nDv
1012 pregion%varCellTEC(icg,ivarcelltot+ivar) = pregion%mixt%dv(ivar,icg)
1015 ivarcelltot = nvarscelltot + pregion%mixtInput%nCv &
1016 + pregion%mixtInput%nDv
1018 DO ivar = 1,pregion%mixtInput%nGvAct
1019 pregion%varCellTEC(icg,ivarcelltot+ivar) = pregion%mixt%gv(ivar,icg)
1022 ivarcelltot = nvarscelltot + pregion%mixtInput%nCv &
1023 + pregion%mixtInput%nDv &
1024 + pregion%mixtInput%nGvAct
1026 DO ivar = 1,pregion%plot%nPv
1027 pregion%varCellTEC(icg,ivarcelltot+ivar) = pregion%plot%pv(ivar,icg)
1031 nvarscelltot = nvarscelltot + pregion%mixtInput%nCv &
1032 + pregion%mixtInput%nDv &
1033 + pregion%mixtInput%nGvAct &
1043 IF ( global%postInterpType /= interp_type_none )
THEN
1045 IF ( global%specUsed .EQV. .true. )
THEN
1046 DO ivg = 1,pgrid%nVertTot
1047 DO ivar = 1,pregion%specInput%nSpecies
1048 ivarverttot = nvarsverttot
1050 pregion%varVertTEC(ivg,ivarverttot+ivar) &
1051 = pregion%spec%cvVert(ivar,ivg)
1055 nvarsverttot = nvarsverttot + pregion%specInput%nSpecies
1057 DO ivg = 1,pgrid%nVertTot
1058 DO ivar = 1,pregion%specInput%nSpeciesEE
1059 ivarverttot = nvarsverttot
1069 pregion%varVertTEC(ivg,ivarverttot+4*(ivar-1)+1) &
1070 = pregion%spec%eevVert(1,ivar,ivg)
1071 pregion%varVertTEC(ivg,ivarverttot+4*(ivar-1)+2) &
1072 = pregion%spec%eevVert(2,ivar,ivg)
1073 pregion%varVertTEC(ivg,ivarverttot+4*(ivar-1)+3) &
1074 = pregion%spec%eevVert(3,ivar,ivg)
1075 pregion%varVertTEC(ivg,ivarverttot+4*(ivar-1)+4) &
1076 = pregion%spec%eevVert(4,ivar,ivg)
1081 nvarsverttot = nvarsverttot + pregion%specInput%nSpecies*4
1086 IF ( global%specUsed .EQV. .true. )
THEN
1087 DO icg = 1,pgrid%nCellsTot
1088 DO ivar = 1,pregion%specInput%nSpecies
1089 ivarcelltot = nvarscelltot
1091 pregion%varCellTEC(icg,ivarcelltot+ivar) = pregion%spec%cv(ivar,icg)
1095 nvarscelltot = nvarscelltot + pregion%specInput%nSpecies
1097 DO icg = 1,pgrid%nCellsTot
1098 DO ivar = 1,pregion%specInput%nSpeciesEE
1099 ivarcelltot = nvarscelltot
1109 pregion%varCellTEC(icg,ivarcelltot+4*(ivar-1)+1) &
1110 = pregion%spec%eev(1,ivar,icg)
1111 pregion%varCellTEC(icg,ivarcelltot+4*(ivar-1)+2) &
1112 = pregion%spec%eev(2,ivar,icg)
1113 pregion%varCellTEC(icg,ivarcelltot+4*(ivar-1)+3) &
1114 = pregion%spec%eev(3,ivar,icg)
1115 pregion%varCellTEC(icg,ivarcelltot+4*(ivar-1)+4) &
1116 = pregion%spec%eev(4,ivar,icg)
1121 nvarscelltot = nvarscelltot + pregion%specInput%nSpecies*4
1132 IF ( global%verbLevel > verbose_none )
THEN
1133 WRITE(stdout,
'(A,1X,A)') solver_name, &
1134 'Building volume data for TECPLOT field file done.'
1176 TYPE(t_patch),
POINTER :: ppatch
1177 TYPE(t_region
),
POINTER :: pregion
1183 INTEGER :: errorflag,ifg,ifl,ipatch,ivar,ivarfacetot,ivarverttot,ivartot, &
1184 ivg,ivl,nvarsfacetot,nvarsverttot
1186 TYPE(t_grid),
POINTER :: pgrid
1192 INTEGER,
EXTERNAL :: tecfil100
1198 global => pregion%global
1201 'RFLU_ModTECPLOT.F90')
1203 IF ( global%verbLevel > verbose_none )
THEN
1204 WRITE(stdout,
'(A,1X,A)') solver_name, &
1205 'Building data for TECPLOT patch file...'
1212 pgrid => pregion%grid
1218 errorflag = tecfil100(filetype2cntrtec(file_type_patch))
1219 global%error = errorflag
1220 IF ( global%error /= err_none )
THEN
1221 CALL
errorstop(global,err_tecplot_output,__line__)
1238 IF ( global%postPlotType == plot_grid_flow )
THEN
1239 nvarstec = nvarstec + 5
1250 ALLOCATE(postec(nvarstec),stat=errorflag)
1251 global%error = errorflag
1252 IF ( global%error /= err_none )
THEN
1253 CALL
errorstop(global,err_allocate,__line__,
'posTEC')
1263 ivartot = ivartot + 1
1264 postec(ivartot) = var_pos_vert
1271 IF ( global%postPlotType == plot_grid_flow )
THEN
1273 ivartot = ivartot + 1
1274 postec(ivartot) = var_pos_face
1289 DO ivar = 1,nvarstec
1290 IF ( postec(ivar) == var_pos_face )
THEN
1291 nvarsfacetec = nvarsfacetec + 1
1292 ELSE IF ( postec(ivar) == var_pos_vert )
THEN
1293 nvarsverttec = nvarsverttec + 1
1295 CALL
errorstop(global,err_reached_default,__line__)
1303 ALLOCATE(ppatch%varVertTEC(ppatch%nBVert,nvarsverttec),stat=errorflag)
1304 global%error = errorflag
1305 IF ( global%error /= err_none )
THEN
1306 CALL
errorstop(global,err_allocate,__line__,
'pPatch%varVertTEC')
1309 IF ( nvarsfacetec > 0 )
THEN
1310 ALLOCATE(ppatch%varFaceTEC(ppatch%nBFaces,nvarsfacetec),stat=errorflag)
1311 global%error = errorflag
1312 IF ( global%error /= err_none )
THEN
1313 CALL
errorstop(global,err_allocate,__line__,
'pPatch%varFaceTEC')
1316 nullify(ppatch%varFaceTEC)
1327 DO ivl = 1,ppatch%nBVert
1328 ivg = ppatch%bv(ivl)
1330 ppatch%varVertTEC(ivl,1) = pgrid%xyz(xcoord,ivg)
1331 ppatch%varVertTEC(ivl,2) = pgrid%xyz(ycoord,ivg)
1332 ppatch%varVertTEC(ivl,3) = pgrid%xyz(zcoord,ivg)
1342 IF ( global%postPlotType == plot_grid_flow )
THEN
1349 DO ifl = 1,ppatch%nBFaces
1350 ivarfacetot = nvarsfacetot
1352 ppatch%varFaceTEC(ifl,ivarfacetot+1) = ppatch%cp(ifl)
1353 ppatch%varFaceTEC(ifl,ivarfacetot+2) = ppatch%cf(xcoord,ifl)
1354 ppatch%varFaceTEC(ifl,ivarfacetot+3) = ppatch%cf(ycoord,ifl)
1355 ppatch%varFaceTEC(ifl,ivarfacetot+4) = ppatch%cf(zcoord,ifl)
1356 ppatch%varFaceTEC(ifl,ivarfacetot+5) = ppatch%ch(ifl)
1359 nvarsfacetot = nvarsfacetot + 5
1371 IF ( global%verbLevel > verbose_none )
THEN
1372 WRITE(stdout,
'(A,1X,A)') solver_name, &
1373 'Building data for TECPLOT patch file done.'
1421 TYPE(t_patch),
POINTER :: ppatch
1422 TYPE(t_region
),
POINTER :: pregion
1428 INTEGER :: errorflag,ifg,ifl,ipatch,ivar,ivarfacetot,ivarverttot,ivartot, &
1429 ivg,ivl,nvarsfacetot,nvarsverttot
1431 TYPE(t_grid),
POINTER :: pgrid
1441 INTEGER,
EXTERNAL :: tecfil100
1447 global => pregion%global
1450 'RFLU_ModTECPLOT.F90')
1452 IF ( global%verbLevel > verbose_none )
THEN
1453 WRITE(stdout,
'(A,1X,A)') solver_name, &
1454 'Building data for TECPLOT patch statistics file...'
1461 pgrid => pregion%grid
1467 errorflag = tecfil100(filetype2cntrtec(file_type_patch_stats))
1468 global%error = errorflag
1469 IF ( global%error /= err_none )
THEN
1470 CALL
errorstop(global,err_tecplot_output,__line__)
1496 IF ( global%postPlotType == plot_grid_flow )
THEN
1501 nvarstec = nvarstec + nbins
1509 ALLOCATE(postec(nvarstec),stat=errorflag)
1510 global%error = errorflag
1511 IF ( global%error /= err_none )
THEN
1512 CALL
errorstop(global,err_allocate,__line__,
'posTEC')
1522 ivartot = ivartot + 1
1523 postec(ivartot) = var_pos_vert
1539 IF ( global%postPlotType == plot_grid_flow )
THEN
1541 ivartot = ivartot + 1
1542 postec(ivartot) = var_pos_face
1554 DO ivar = 1,nvarstec
1555 IF ( postec(ivar) == var_pos_face )
THEN
1556 nvarsfacetec = nvarsfacetec + 1
1557 ELSE IF ( postec(ivar) == var_pos_vert )
THEN
1558 nvarsverttec = nvarsverttec + 1
1560 CALL
errorstop(global,err_reached_default,__line__)
1568 ALLOCATE(ppatch%varVertTEC(ppatch%nBVert,nvarsverttec),stat=errorflag)
1569 global%error = errorflag
1570 IF ( global%error /= err_none )
THEN
1571 CALL
errorstop(global,err_allocate,__line__,
'pPatch%varVertTEC')
1574 IF ( nvarsfacetec > 0 )
THEN
1575 ALLOCATE(ppatch%varFaceTEC(ppatch%nBFaces,nvarsfacetec),stat=errorflag)
1576 global%error = errorflag
1577 IF ( global%error /= err_none )
THEN
1578 CALL
errorstop(global,err_allocate,__line__,
'pPatch%varFaceTEC')
1581 nullify(ppatch%varFaceTEC)
1592 DO ivl = 1,ppatch%nBVert
1593 ivg = ppatch%bv(ivl)
1595 ppatch%varVertTEC(ivl,1) = pgrid%xyz(xcoord,ivg)
1596 ppatch%varVertTEC(ivl,2) = pgrid%xyz(ycoord,ivg)
1597 ppatch%varVertTEC(ivl,3) = pgrid%xyz(zcoord,ivg)
1607 IF ( global%postPlotType == plot_grid_flow )
THEN
1621 pstatsplag => ppatch%statsPlag
1623 DO ifl = 1,ppatch%nBFaces
1624 ivarfacetot = nvarsfacetot
1627 ppatch%varFaceTEC(ifl,ivarfacetot+ivar) = &
1628 REAL(pStatsPlag(ifl)%nHits(iVar),kind=rfreal)
1638 IF ( global%verbLevel > verbose_none )
THEN
1639 WRITE(stdout,
'(A,1X,A)') solver_name, &
1640 'Building data for TECPLOT patch statistics file done.'
1680 TYPE(t_region
),
POINTER :: pregion
1686 INTEGER :: ipv,ipv2,ivar
1693 global => pregion%global
1696 'RFLU_ModTECPLOT.F90')
1698 IF ( global%verbLevel > verbose_low )
THEN
1699 WRITE(stdout,
'(A,1X,A)') solver_name, &
1700 'Building header for TECPLOT field file...'
1711 IF ( global%postPlotType == plot_grid_only )
THEN
1712 WRITE(headertec,
'(3(1X,A))')
'x',
'y',
'z'
1719 SELECT CASE ( pregion%mixtInput%fluidModel )
1725 CASE ( fluid_model_incomp )
1726 WRITE(headertec,
'(7(1X,A))')
'x',
'y',
'z', &
1733 CASE ( fluid_model_comp )
1734 WRITE(headertec,
'(11(1X,A))')
'x',
'y',
'z', &
1735 'r',
'ru',
'rv',
'rw',
'rE', &
1738 DO ivar = 1,pregion%mixtInput%nGvAct
1739 WRITE(headertec,
'(A,1X,A,I2.2)') trim(headertec),
'GV',ivar
1742 DO ipv = 1,pregion%plot%nPv
1743 ipv2 = pregion%plot%pvi2pv(ipv)
1745 WRITE(headertec,
'(A,1X,A)') trim(headertec), &
1746 trim(pregion%plot%pvNameShort(ipv2))
1750 DO ivar = 1,pregion%specInput%nSpecies
1751 WRITE(headertec,
'(A,1X,A,I2.2)') trim(headertec),
'rY',ivar
1754 DO ivar = 1,pregion%specInput%nSpeciesEE
1755 WRITE(headertec,
'(A,1X,A,I2.2)') trim(headertec),
'u',ivar
1756 WRITE(headertec,
'(A,1X,A,I2.2)') trim(headertec),
'v',ivar
1757 WRITE(headertec,
'(A,1X,A,I2.2)') trim(headertec),
'w',ivar
1758 WRITE(headertec,
'(A,1X,A,I2.2)') trim(headertec),
'T',ivar
1767 CALL
errorstop(global,err_reached_default,__line__)
1775 IF ( global%verbLevel > verbose_low )
THEN
1776 WRITE(stdout,
'(A,1X,A)') solver_name, &
1777 'Building header for TECPLOT field file done.'
1816 TYPE(t_region
),
POINTER :: pregion
1829 global => pregion%global
1832 'RFLU_ModTECPLOT.F90')
1834 IF ( global%verbLevel > verbose_low )
THEN
1835 WRITE(stdout,
'(A,1X,A)') solver_name, &
1836 'Building header for TECPLOT patch file...'
1847 IF ( global%postPlotType == plot_grid_only )
THEN
1848 WRITE(headertec,
'(3(1X,A))')
'x',
'y',
'z'
1850 WRITE(headertec,
'(8(1X,A))')
'x',
'y',
'z', &
1851 'Cp',
'Cfx',
'Cfy',
'Cfz',
'Ch'
1862 IF ( global%verbLevel > verbose_low )
THEN
1863 WRITE(stdout,
'(A,1X,A)') solver_name, &
1864 'Building header for TECPLOT patch file done.'
1905 TYPE(t_region
),
POINTER :: pregion
1921 global => pregion%global
1924 'RFLU_ModTECPLOT.F90')
1926 IF ( global%verbLevel > verbose_low )
THEN
1927 WRITE(stdout,
'(A,1X,A)') solver_name, &
1928 'Building header for TECPLOT patch statistics file...'
1939 WRITE(headertec,
'(3(1X,A))')
'x',
'y',
'z'
1950 IF ( global%postPlotType == plot_grid_flow )
THEN
1957 WRITE(headertec,
'(A,1X,A,I2.2)') trim(headertec),
'nH',ivar
1966 IF ( global%verbLevel > verbose_low )
THEN
1967 WRITE(stdout,
'(A,1X,A)') solver_name, &
1968 'Building header for TECPLOT patch statistics file done.'
2015 INTEGER :: errorflag
2021 INTEGER,
EXTERNAL :: tecfil100
2028 'RFLU_ModTECPLOT.F90')
2030 IF ( global%verbLevel > verbose_none )
THEN
2031 WRITE(stdout,
'(A,1X,A)') solver_name,
'Closing TECPLOT field file...'
2032 WRITE(stdout,
'(A,3X,A)') solver_name,
'Be patient, this may take a while...'
2039 errorflag = tecfil100(filetype2cntrtec(file_type_field))
2040 global%error = errorflag
2041 IF ( global%error /= err_none )
THEN
2042 CALL
errorstop(global,err_tecplot_output,__line__)
2051 filecntrtec = filecntrtec - 1
2057 IF ( global%verbLevel > verbose_none )
THEN
2058 WRITE(stdout,
'(A,1X,A)') solver_name,
'Closing TECPLOT field file done.'
2098 INTEGER :: errorflag
2110 INTEGER,
EXTERNAL :: tecfil100
2117 'RFLU_ModTECPLOT.F90')
2119 IF ( global%verbLevel > verbose_none )
THEN
2120 WRITE(stdout,
'(A,1X,A)') solver_name,
'Closing TECPLOT patch file...'
2121 WRITE(stdout,
'(A,3X,A)') solver_name,
'Be patient, this may take a while...'
2128 errorflag = tecfil100(filetype2cntrtec(file_type_patch))
2129 global%error = errorflag
2130 IF ( global%error /= err_none )
THEN
2131 CALL
errorstop(global,err_tecplot_output,__line__)
2140 filecntrtec = filecntrtec - 1
2146 IF ( global%verbLevel > verbose_none )
THEN
2147 WRITE(stdout,
'(A,1X,A)') solver_name,
'Closing TECPLOT patch file done.'
2186 INTEGER :: errorflag
2198 INTEGER,
EXTERNAL :: tecfil100
2205 'RFLU_ModTECPLOT.F90')
2207 IF ( global%verbLevel > verbose_none )
THEN
2208 WRITE(stdout,
'(A,1X,A)') solver_name, &
2209 'Closing TECPLOT patch statistics file...'
2210 WRITE(stdout,
'(A,3X,A)') solver_name,
'Be patient, this may take a while...'
2217 errorflag = tecfil100(filetype2cntrtec(file_type_patch_stats))
2218 global%error = errorflag
2219 IF ( global%error /= err_none )
THEN
2220 CALL
errorstop(global,err_tecplot_output,__line__)
2229 filecntrtec = filecntrtec - 1
2235 IF ( global%verbLevel > verbose_none )
THEN
2236 WRITE(stdout,
'(A,1X,A)') solver_name, &
2237 'Closing TECPLOT patch statistics file done.'
2283 INTEGER :: errorflag
2290 'RFLU_ModTECPLOT.F90')
2292 IF ( global%verbLevel > verbose_none )
THEN
2293 WRITE(stdout,
'(A,1X,A)') solver_name,
'Closing TECPLOT point file...'
2294 WRITE(stdout,
'(A,3X,A)') solver_name,
'Be patient, this may take a while...'
2301 CLOSE(if_plot,iostat=errorflag)
2302 global%error = errorflag
2303 IF ( global%error /= err_none )
THEN
2304 CALL
errorstop(global,err_file_close,__line__)
2311 IF ( global%verbLevel > verbose_none )
THEN
2312 WRITE(stdout,
'(A,1X,A)') solver_name,
'Closing TECPLOT point file done.'
2354 TYPE(t_patch),
POINTER :: ppatch
2355 TYPE(t_region
),
POINTER :: pregion
2361 INTEGER :: errorflag
2368 global => pregion%global
2371 'RFLU_ModTECPLOT.F90')
2373 IF ( global%verbLevel > verbose_none )
THEN
2374 WRITE(stdout,
'(A,1X,A)') solver_name, &
2375 'Destroying TECPLOT surface field data...'
2382 DEALLOCATE(postec,stat=errorflag)
2383 global%error = errorflag
2384 IF ( global%error /= err_none )
THEN
2385 CALL
errorstop(global,err_deallocate,__line__,
'posTEC')
2388 DEALLOCATE(ppatch%varVertTEC,stat=errorflag)
2389 global%error = errorflag
2390 IF ( global%error /= err_none )
THEN
2391 CALL
errorstop(global,err_deallocate,__line__,
'pPatch%varVertTEC')
2394 IF (
ASSOCIATED(ppatch%varFaceTEC) .EQV. .true. )
THEN
2395 DEALLOCATE(ppatch%varFaceTEC,stat=errorflag)
2396 global%error = errorflag
2397 IF ( global%error /= err_none )
THEN
2398 CALL
errorstop(global,err_deallocate,__line__,
'pPatch%varFaceTEC')
2406 IF ( global%verbLevel > verbose_none )
THEN
2407 WRITE(stdout,
'(A,1X,A)') solver_name, &
2408 'Destroying TECPLOT surface field data done.'
2449 TYPE(t_region
),
POINTER :: pregion
2455 INTEGER :: errorflag
2461 global => pregion%global
2464 'RFLU_ModTECPLOT.F90')
2466 IF ( global%verbLevel > verbose_none )
THEN
2467 WRITE(stdout,
'(A,1X,A)') solver_name, &
2468 'Destroying TECPLOT volume field data...'
2475 DEALLOCATE(postec,stat=errorflag)
2476 global%error = errorflag
2477 IF ( global%error /= err_none )
THEN
2478 CALL
errorstop(global,err_deallocate,__line__,
'posTEC')
2481 DEALLOCATE(pregion%varVertTEC,stat=errorflag)
2482 global%error = errorflag
2483 IF ( global%error /= err_none )
THEN
2484 CALL
errorstop(global,err_deallocate,__line__,
'pRegion%varVertTEC')
2487 IF (
ASSOCIATED(pregion%varCellTEC) .EQV. .true. )
THEN
2488 DEALLOCATE(pregion%varCellTEC,stat=errorflag)
2489 global%error = errorflag
2490 IF ( global%error /= err_none )
THEN
2491 CALL
errorstop(global,err_deallocate,__line__,
'pRegion%varCellTEC')
2499 IF ( global%verbLevel > verbose_none )
THEN
2500 WRITE(stdout,
'(A,1X,A)') solver_name, &
2501 'Destroying TECPLOT volume field data done.'
2542 TYPE(t_patch),
POINTER :: ppatch
2543 TYPE(t_region
),
POINTER :: pregion
2549 INTEGER :: errorflag,ipatch
2556 global => pregion%global
2559 'RFLU_ModTECPLOT.F90')
2561 IF ( global%verbLevel > verbose_none )
THEN
2562 WRITE(stdout,
'(A,1X,A)') solver_name,
'Destroying TECPLOT patch data...'
2569 DEALLOCATE(postec,stat=errorflag)
2570 global%error = errorflag
2571 IF ( global%error /= err_none )
THEN
2572 CALL
errorstop(global,err_deallocate,__line__,
'posTEC')
2575 DEALLOCATE(ppatch%varVertTEC,stat=errorflag)
2576 global%error = errorflag
2577 IF ( global%error /= err_none )
THEN
2578 CALL
errorstop(global,err_deallocate,__line__,
'pPatch%varVertTEC')
2581 IF (
ASSOCIATED(ppatch%varFaceTEC) .EQV. .true. )
THEN
2582 DEALLOCATE(ppatch%varFaceTEC,stat=errorflag)
2583 global%error = errorflag
2584 IF ( global%error /= err_none )
THEN
2585 CALL
errorstop(global,err_deallocate,__line__,
'pPatch%varFaceTEC')
2593 IF ( global%verbLevel > verbose_none )
THEN
2594 WRITE(stdout,
'(A,1X,A)') solver_name, &
2595 'Destroying TECPLOT patch data done.'
2644 'RFLU_ModTECPLOT.F90')
2646 IF ( global%verbLevel > verbose_low )
THEN
2647 WRITE(stdout,
'(A,1X,A)') solver_name,
'Initializing TECPLOT...'
2660 IF ( global%verbLevel > verbose_low )
THEN
2661 WRITE(stdout,
'(A,1X,A)') solver_name,
'Initializing TECPLOT done...'
2709 TYPE(t_region
),
POINTER :: pregion
2715 CHARACTER(CHRLEN) :: ifilename,title
2716 INTEGER :: errorflag
2723 global => pregion%global
2726 'RFLU_ModTECPLOT.F90')
2728 IF ( global%verbLevel > verbose_none )
THEN
2729 WRITE(stdout,
'(A,1X,A)') solver_name,
'Opening TECPLOT field file...'
2742 title = global%caseName
2744 IF ( global%flowType == flow_unsteady )
THEN
2746 global%currentTime,ifilename)
2747 ELSE IF ( global%flowType == flow_steady )
THEN
2749 global%currentIter,ifilename)
2751 CALL
errorstop(global,err_reached_default,__line__)
2754 filecntrtec = filecntrtec + 1
2756 IF ( filecntrtec > file_cntr_tec_max )
THEN
2757 CALL
errorstop(global,err_tecplot_filecntr,__line__)
2762 filetype2cntrtec(file_type_field) = filecntrtec
2768 IF ( global%verbLevel > verbose_low )
THEN
2769 WRITE(stdout,
'(A,3X,A,1X,A)') solver_name,
'File name:',trim(ifilename)
2770 WRITE(stdout,
'(A,3X,A,1X,I2)') solver_name,
'File counter:',filecntrtec
2777 IF ( global%verbLevel > verbose_none )
THEN
2778 WRITE(stdout,
'(A,1X,A)') solver_name,
'Opening TECPLOT field file done.'
2826 TYPE(t_region
),
POINTER :: pregion
2832 CHARACTER(CHRLEN) :: ifilename,title
2833 INTEGER :: errorflag
2840 global => pregion%global
2843 'RFLU_ModTECPLOT.F90')
2845 IF ( global%verbLevel > verbose_none )
THEN
2846 WRITE(stdout,
'(A,1X,A)') solver_name,
'Opening TECPLOT patch file...'
2859 title = global%caseName
2861 IF ( global%flowType == flow_unsteady )
THEN
2863 global%currentTime,ifilename)
2864 ELSE IF ( global%flowType == flow_steady )
THEN
2866 global%currentIter,ifilename)
2868 CALL
errorstop(global,err_reached_default,__line__)
2871 filecntrtec = filecntrtec + 1
2873 IF ( filecntrtec > file_cntr_tec_max )
THEN
2874 CALL
errorstop(global,err_tecplot_filecntr,__line__)
2879 filetype2cntrtec(file_type_patch) = filecntrtec
2885 IF ( global%verbLevel > verbose_low )
THEN
2886 WRITE(stdout,
'(A,3X,A,1X,A)') solver_name,
'File name:',trim(ifilename)
2887 WRITE(stdout,
'(A,3X,A,1X,I2)') solver_name,
'File counter:',filecntrtec
2894 IF ( global%verbLevel > verbose_none )
THEN
2895 WRITE(stdout,
'(A,1X,A)') solver_name,
'Opening TECPLOT patch file done.'
2945 TYPE(t_region
),
POINTER :: pregion
2951 CHARACTER(CHRLEN) :: ifilename,title
2952 INTEGER :: errorflag
2959 global => pregion%global
2962 'RFLU_ModTECPLOT.F90')
2964 IF ( global%verbLevel > verbose_none )
THEN
2965 WRITE(stdout,
'(A,1X,A)') solver_name, &
2966 'Opening TECPLOT patch statistics file...'
2979 title = global%caseName
2981 IF ( global%flowType == flow_unsteady )
THEN
2983 global%currentTime,ifilename)
2984 ELSE IF ( global%flowType == flow_steady )
THEN
2986 global%currentIter,ifilename)
2988 CALL
errorstop(global,err_reached_default,__line__)
2991 filecntrtec = filecntrtec + 1
2993 IF ( filecntrtec > file_cntr_tec_max )
THEN
2994 CALL
errorstop(global,err_tecplot_filecntr,__line__)
2999 filetype2cntrtec(file_type_patch_stats) = filecntrtec
3005 IF ( global%verbLevel > verbose_low )
THEN
3006 WRITE(stdout,
'(A,3X,A,1X,A)') solver_name,
'File name:',trim(ifilename)
3007 WRITE(stdout,
'(A,3X,A,1X,I2)') solver_name,
'File counter:',filecntrtec
3014 IF ( global%verbLevel > verbose_none )
THEN
3015 WRITE(stdout,
'(A,1X,A)') solver_name, &
3016 'Opening TECPLOT patch statistics file done.'
3063 TYPE(t_region
),
POINTER :: pregion
3069 CHARACTER(CHRLEN) :: ifilename
3070 INTEGER :: errorflag,ifile
3077 global => pregion%global
3080 'RFLU_ModTECPLOT.F90')
3082 IF ( global%verbLevel > verbose_none )
THEN
3083 WRITE(stdout,
'(A,1X,A)') solver_name,
'Opening TECPLOT point file...'
3090 IF ( global%flowType == flow_unsteady )
THEN
3092 global%currentTime,ifilename)
3094 CALL
errorstop(global,err_reached_default,__line__)
3098 OPEN(ifile,file=ifilename,
form=
"FORMATTED",
status=
"UNKNOWN", &
3100 global%error = errorflag
3101 IF ( global%error /= err_none )
THEN
3102 CALL
errorstop(global,err_file_open,__line__,trim(ifilename))
3109 WRITE(ifile,
'(1X,A)')
'TITLE="'//trim(global%casename)//
'"'
3110 WRITE(ifile,
'(1X,A)')
'VARIABLES="x" "y" "z" "diam"'
3116 IF ( global%verbLevel > verbose_low )
THEN
3117 WRITE(stdout,
'(A,3X,A,1X,A)') solver_name,
'File name:',trim(ifilename)
3124 IF ( global%verbLevel > verbose_none )
THEN
3125 WRITE(stdout,
'(A,1X,A)') solver_name,
'Opening TECPLOT point file done.'
3166 TYPE(t_patch),
POINTER :: ppatch
3167 TYPE(t_region
),
POINTER :: pregion
3179 global => pregion%global
3182 'RFLU_ModTECPLOT.F90')
3184 IF ( global%verbLevel > verbose_none )
THEN
3185 WRITE(stdout,
'(A,1X,A)') solver_name, &
3186 'Writing surface data to TECPLOT file...'
3187 WRITE(stdout,
'(A,3X,A,1X,I5.5)') solver_name,
'Global region:', &
3188 pregion%iRegionGlobal
3189 WRITE(stdout,
'(A,3X,A,1X,I5)') solver_name,
'Global patch:', &
3197 IF ( ppatch%nBTris > 0 )
THEN
3198 IF ( global%verbLevel > verbose_none )
THEN
3199 WRITE(stdout,
'(A,5X,A)') solver_name,
'Actual triangles...'
3205 IF ( ppatch%nBTrisTot > ppatch%nBTris )
THEN
3206 IF ( global%verbLevel > verbose_none )
THEN
3207 WRITE(stdout,
'(A,5X,A)') solver_name,
'Virtual triangles...'
3217 IF ( ppatch%nBQuads > 0 )
THEN
3218 IF ( global%verbLevel > verbose_none )
THEN
3219 WRITE(stdout,
'(A,5X,A)') solver_name,
'Actual quadrilaterals...'
3225 IF ( ppatch%nBQuadsTot > ppatch%nBQuads )
THEN
3226 IF ( global%verbLevel > verbose_none )
THEN
3227 WRITE(stdout,
'(A,5X,A)') solver_name,
'Virtual quadrilaterals...'
3237 IF ( global%verbLevel > verbose_none )
THEN
3238 WRITE(stdout,
'(A,1X,A)') solver_name, &
3239 'Writing surface data to TECPLOT field file done.'
3281 TYPE(t_grid),
POINTER :: pgrid
3288 TYPE(t_region
),
POINTER :: pregion
3294 global => pregion%global
3297 'RFLU_ModTECPLOT.F90')
3299 IF ( global%verbLevel > verbose_none )
THEN
3300 WRITE(stdout,
'(A,1X,A)') solver_name, &
3301 'Writing volume data to TECPLOT field file...'
3302 WRITE(stdout,
'(A,3X,A,1X,I5.5)') solver_name,
'Global region:', &
3303 pregion%iRegionGlobal
3310 pgrid => pregion%grid
3316 IF ( pgrid%nTets > 0 )
THEN
3317 IF ( global%verbLevel > verbose_none )
THEN
3318 WRITE(stdout,
'(A,3X,A)') solver_name,
'Actual tetrahedra...'
3324 IF ( pgrid%nTetsTot > pgrid%nTets )
THEN
3325 IF ( global%verbLevel > verbose_none )
THEN
3326 WRITE(stdout,
'(A,3X,A)') solver_name,
'Virtual tetrahedra...'
3336 IF ( pgrid%nHexs > 0 )
THEN
3337 IF ( global%verbLevel > verbose_none )
THEN
3338 WRITE(stdout,
'(A,3X,A)') solver_name,
'Actual hexahedra...'
3344 IF ( pgrid%nHexsTot > pgrid%nHexs )
THEN
3345 IF ( global%verbLevel > verbose_none )
THEN
3346 WRITE(stdout,
'(A,3X,A)') solver_name,
'Virtual hexahedra...'
3356 IF ( pgrid%nPris > 0 )
THEN
3357 IF ( global%verbLevel > verbose_none )
THEN
3358 WRITE(stdout,
'(A,3X,A)') solver_name,
'Actual prisms...'
3365 IF ( pgrid%nPrisTot > pgrid%nPris )
THEN
3366 IF ( global%verbLevel > verbose_none )
THEN
3367 WRITE(stdout,
'(A,3X,A)') solver_name,
'Virtual prisms...'
3377 IF ( pgrid%nPyrs > 0 )
THEN
3378 IF ( global%verbLevel > verbose_none )
THEN
3379 WRITE(stdout,
'(A,3X,A)') solver_name,
'Actual pyramids...'
3385 IF ( pgrid%nPyrsTot > pgrid%nPyrs )
THEN
3386 IF ( global%verbLevel > verbose_none )
THEN
3387 WRITE(stdout,
'(A,3X,A)') solver_name,
'Virtual pyramids...'
3397 IF ( pgrid%nCellsSpecial > 0 )
THEN
3398 IF ( global%verbLevel > verbose_none )
THEN
3399 WRITE(stdout,
'(A,3X,A)') solver_name,
'Special cells...'
3405 IF ( pgrid%nFacesSpecial > 0 )
THEN
3406 IF ( global%verbLevel > verbose_none )
THEN
3407 WRITE(stdout,
'(A,3X,A)') solver_name,
'Special faces...'
3418 IF ( (pgrid%nFaces /= pgrid%nFacesTot) .AND. (nvarscelltec == 0) )
THEN
3419 IF ( global%verbLevel > verbose_none )
THEN
3420 WRITE(stdout,
'(A,3X,A)') solver_name,
'Interpartition faces...'
3430 IF ( global%verbLevel > verbose_none )
THEN
3431 WRITE(stdout,
'(A,1X,A)') solver_name, &
3432 'Writing volume data to TECPLOT field file done.'
3475 TYPE(t_patch),
POINTER :: ppatch
3476 TYPE(t_region
),
POINTER :: pregion
3488 global => pregion%global
3491 'RFLU_ModTECPLOT.F90')
3493 IF ( global%verbLevel > verbose_none )
THEN
3494 WRITE(stdout,
'(A,1X,A)') solver_name,
'Writing data to TECPLOT patch file...'
3495 WRITE(stdout,
'(A,3X,A,1X,I5.5)') solver_name,
'Global region:', &
3496 pregion%iRegionGlobal
3497 WRITE(stdout,
'(A,3X,A,1X,I5)') solver_name,
'Global patch:', &
3505 IF ( ppatch%nBFaces > 0 )
THEN
3513 IF ( global%verbLevel > verbose_none )
THEN
3514 WRITE(stdout,
'(A,1X,A)') solver_name, &
3515 'Writing data to TECPLOT patch file done.'
3563 INTEGER :: errorflag,ipcl
3564 TYPE(t_grid),
POINTER :: pgrid
3567 TYPE(t_plag),
POINTER :: pplag
3574 TYPE(t_region
),
POINTER :: pregion
3580 global => pregion%global
3583 'RFLU_ModTECPLOT.F90')
3586 IF ( global%verbLevel > verbose_none )
THEN
3587 WRITE(stdout,
'(A,1X,A)') solver_name,
'Writing to TECPLOT point file...'
3588 WRITE(stdout,
'(A,3X,A,1X,I5.5)') solver_name,
'Global region:', &
3589 pregion%iRegionGlobal
3596 pgrid => pregion%grid
3597 pplag => pregion%plag
3603 IF ( pplag%nPcls > 0 )
THEN
3604 WRITE(if_plot,
'(A,1X,I5.5,1X,A,I8,1X,A)')
'ZONE T="', &
3605 pregion%iRegionGlobal, &
3606 '", I=',pplag%nPcls,
', F=POINT'
3608 DO ipcl = 1,pplag%nPcls
3609 WRITE(if_plot,
'(4(1X,E13.6))') pplag%cv(cv_plag_xpos,ipcl), &
3610 pplag%cv(cv_plag_ypos,ipcl), &
3611 pplag%cv(cv_plag_zpos,ipcl), &
3612 pplag%dv(dv_plag_diam,ipcl)
3621 IF ( global%verbLevel > verbose_none )
THEN
3622 WRITE(stdout,
'(A,1X,A)') solver_name,
'Writing to TECPLOT point file done.'
subroutine, private rflu_tec_buildheaderpatchstats(pRegion)
subroutine, public rflu_tec_destroydatapatch(pRegion, pPatch)
subroutine, public rflu_tec_writezonesurf(pRegion, pPatch, faceType, faceKind)
subroutine, public rflu_tec_destroydatafieldsurf(pRegion, pPatch)
subroutine, public rflu_tec_openfilefield(pRegion)
subroutine registerfunction(global, funName, fileName)
subroutine, public buildfilenameplainsteady(global, dest, ext, it, fileName)
subroutine, public rflu_tec_builddatafieldvol(pRegion)
int status() const
Obtain the status of the attribute.
subroutine, public rflu_tec_builddatapatchstats(pRegion, pPatch)
subroutine, public rflu_tec_closefilepatch(global)
subroutine, public rflu_tec_init(global)
subroutine, private rflu_tec_buildheaderpatch(pRegion)
subroutine, public rflu_tec_openfilepnt(pRegion)
subroutine, public rflu_tec_writezonefacesspecial(pRegion)
subroutine, private rflu_tec_buildheaderfield(pRegion)
subroutine, public rflu_tec_writefilefieldvol(pRegion)
subroutine, public rflu_tec_writefilepatch(pRegion, pPatch)
subroutine, public rflu_tec_closefilefield(global)
subroutine, public rflu_tec_writezoneinterf(pRegion)
subroutine, public buildfilenameplainunsteady(global, dest, ext, tm, fileName)
**********************************************************************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_tec_openfilepatch(pRegion)
subroutine, public rflu_tec_closefilepatchstats(global)
subroutine, public rflu_tec_destroydatafieldvol(pRegion)
subroutine, public rflu_tec_closefile(global)
subroutine, public rflu_tec_writefilefieldsurf(pRegion, pPatch)
subroutine, public rflu_tec_openfile(global, title, fileName)
subroutine, public rflu_tec_openfilepatchstats(pRegion)
subroutine, public rflu_tec_closefilepnt(global)
subroutine, public rflu_tec_writezonesurfmixed(pRegion, pPatch)
subroutine, public rflu_tec_writefilepnt(pRegion)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
subroutine, public rflu_tec_writezonecellsspecial(pRegion)
subroutine, public rflu_tec_builddatafieldsurf(pRegion, pPatch)
subroutine, public rflu_tec_builddatapatch(pRegion, pPatch)
subroutine, public rflu_tec_writezonevol(pRegion, cellType, cellKind)