AVS Modules                                                      read_F3D
copyright  1992,1993  Michael J. Rangitsch                    29 Sep 1993

NAME
      read_F3D  - read in an ascii FLOW3D data file from Harwell FLOW3D
                  version 3 (multiblock flow solver code)

SUMMARY
      Name        read_F3D

      Type        data

      Inputs      none

      Outputs     ucd (data at cells)

      Parameters  NAME                 TYPE
                  Read F3D Browser     file browser
                  show blocks          boolean

DESCRIPTION
      This module reads an ascii formatted multiblock FLOW3D solution file 
      (from Harwell FLOW3D version 3) and stores the cfd data as a ucd 
      data set.  The dummy nodes stored at the edges of each computational 
      block are removed by the module.  The n-vector data at each 
      computational cell is stored as cell data, to use most of the ucd 
      modules, this must be converted to nodal data.  The cells of the
      ucd structure are all hexahedra.  

      Possible orientation (handedness) changes in the grid can defeat
      the interblock boundaries removal.  To fix this, use the AVS 5.0
      module 'ucd reverse cell' to correct the topology.  This module
      ensures that all cells have the same vertex ordering.

      Version 1.1 of read_F3D sets the minimum and maximum of the cell data
      values.  This is is required for some of the other ucd routines to
      work correctly.
     
      Version 2.0.1 of read_F3D modifies the treatment of data labels and
      adds units to the 'default' variables (u,v and w velocities, 
      pressure, volume fraction, k and epsilon (if stored)).  The
      cell indexing is improved (through a macro) and code is added
      to remove the internal block boundaries (this is the default.)
      Removal of the block boundaries gets rid of discontinuous 
      isosurfaces that existed in the earlier versions
 
      Version 2.1 of read_F3D corrects all of the block boundary removals.
      Each removal 'switch' has been tested at least once, and all are
      apparently correct.

COMMENTS/QUESTIONS/SUGGESTIONS
     
     please send them to me at mrangitsch@dow.com

INPUT
      none

OUTPUT
      The output is a ucd data set with data stored at the cells

PARAMETERS
      Read F3D Browser - a file browser to choose the FLOW3D dump file,
                         generally (xxx.dmp)

      show blocks - a boolean parameter to show the block structure
                    (by not removing the interblock patches).  Showing
                    the blocks can result in discontinuous isosurfaces
                    and 'kinks' in streamlines.

EXAMPLE
      The following network shows a typical usage of read_F3D:


                              read_F3D
                                  |
                          ucd cell to node      generate colormap
                                  |                     |
                          ucd reverse cell              |
                                  |                     |
                ---------ucd extract scalars            |
                |                 |                     |
                |                 |   |-----------------|
                |              ucd contour
                |                 |
                |    |------------|
              ucd to geom
                  |
             geometry viewer


RELATED MODULES
      read ucd, write ucd, read_flow3d

AVS Module						         read_F3D
Michael J. Rangitsch          				      29 Sep 1993