Chapter 14. INPUT GRID FILE FORMAT


TABLE OF CONTENTS CLOSE MANUAL



INPUT GRID FILE SOURCES AND FORMAT(s):

VULCAN does not include a two-dimensional or three-dimensional grid generator. Therefore, the user must supply VULCAN with a computational grid (or mesh) generated by the user outside of VULCAN. VULCAN is capable of reading either PLOT2D or PLOT3D single-block or multi-block grid files. Several commercial grid generation software packages are available that support the PLOT3D format. Commonly used examples of grid generation software are:

1) Gridgen available for Pointwise Inc. (http://www.pointwise.com/)
2) GridPro available from Program Development Company (http://www.gridpro.com/)
2) ANSYS ICEM CFD available from ANSYS, Inc. (http://www.ansys.com/products/icemcfd.asp)
3) Tecplot available from Tecplot Inc. (http://www.amtec.com/)
  If the user wishes to create a grid file for use in VULCAN from some other format the user's file must be translated into PLOT2D/PLOT3D format. The formatted and unformatted WRITE statements should be similar to:

1) PLOT2D: Used only for two-dimensional or axi-symmetric geometries:

       a) using a FORTRAN 90 (free format) code fragment and list directed output:

       WRITE (UNIT=UNIT_OUT, FMT=*) No_of_Blocks
       WRITE (UNIT=UNIT_OUT, FMT=*) (IMAX(N), JMAX(N), N=1,No_of Blocks)
       DO N = 1, No_of_Blocks
         WRITE (UNIT=UNIT_OUT, FMT=*) &
         ((X(I,J,1,N), I=1,IMAX(N)), J=1,JMAX(N)), &
         ((Y(I,J,1,N), I=1,IMAX(N)), J=1,JMAX(N))
       ENDDO

       b) using a FORTRAN 90 (free format) code fragment and unformatted output:

       WRITE (UNIT=UNIT_OUT) No_of_Blocks
       WRITE (UNIT=UNIT_OUT) (IMAX(N), JMAX(N), N=1,No_of Blocks)
       DO N = 1, No_of_Blocks
         WRITE (UNIT=UNIT_OUT) &
         ((X(I,J,1,N), I=1,IMAX(N)), J=1,JMAX(N)), &
         ((Y(I,J,1,N), I=1,IMAX(N)), J=1,JMAX(N))
       ENDDO

2) PLOT3D: Used for two-dimensional, axi-symmetric or three-dimensional geometries:

       a) using a FORTRAN 90 (free format) code fragment and list directed output:

       WRITE (UNIT=UNIT_OUT, FMT=*) No_of_Blocks
       WRITE (UNIT=UNIT_OUT, FMT=*) (IMAX(N), JMAX(N), KMAX(N), N=1,No_of Blocks)
       DO N = 1, No_of_Blocks
         WRITE (UNIT=UNIT_OUT, FMT=*) &
         (((X(I,J,K,N), I=1,IMAX(N)), J=1,JMAX(N)), K=1,KMAX(N)), &
         (((Y(I,J,K,N), I=1,IMAX(N)), J=1,JMAX(N)), K=1,KMAX(N)), &
         (((Z(I,J,K,N), I=1,IMAX(N)), J=1,JMAX(N)), K=1,KMAX(N))
       ENDDO

       b) using a FORTRAN 90 (free format) code fragment and unformatted output:

       WRITE (UNIT=UNIT_OUT) No_of_Blocks
       WRITE (UNIT=UNIT_OUT) (IMAX(N), JMAX(N), KMAX(N), N=1,No_of Blocks)
       DO N = 1, No_of_Blocks
         WRITE (UNIT=UNIT_OUT) &
         (((X(I,J,K,N), I=1,IMAX(N)), J=1,JMAX(N)), K=1,KMAX(N)), &
         (((Y(I,J,K,N), I=1,IMAX(N)), J=1,JMAX(N)), K=1,KMAX(N)), &
         (((Z(I,J,K,N), I=1,IMAX(N)), J=1,JMAX(N)), K=1,KMAX(N))
       ENDDO


TABLE OF CONTENTS CLOSE MANUAL