Contour_Mesh

Author

 KGT (Kubota Graphics Technologies) Inc.
    Makefile.osf1    for DEC Alpha/osf1 (2.1)
    Makefile.sun2    for SUN Solaris2.3 
    f77              special f77 
    contourmesh.f    source file 
    falloc.c         source file (for fortran allocation)
    contourmesh.net  sample network
    sample.dat       sample data
    sample.fld       field data (for sample.dat)
    sample2.fld      binary data (= sample.fld(sample.dat))
    contourmesh.txt  Module Reference
  Note : You have to use "f77" in this directory to create the module.
  # make -f Makefile.***

Name

  Contour Mesh --- create contour mesh 
                           from 2D field 

Summary

   Name           Contour Mesh

Type

         mapper

Inputs

        field 2D 3-space real irregular
                  colormap

Outputs

       geometry

Parameters

    Name            Type       Default   Min/Max
                  On/Off          boolean    on        on/off
                  just            oneshot      
                  color option    boolean    off       on/off
                  min             float      -0.5      unbound
                  max             float      0.5       unbound
                  infomation min  float      0.5                     
                  infomation max  float      0.5

Description

   The "Contour Mesh" module inputs a 2D field and colormap.
   This module looks like the "field to mesh" module.
   This module creates the contour only Fluid AREA (of CFD).
   Note!
   This module inputs 1-vector or 2-vector field.
   1-vector :This data is scalar value(for contour).
   2-vector :The first component is scalar value(for contour),
             and the second component is flag data(for CFD obstacle).
             The second component tells which digit (0 or 1) is 
             in the node as flag data.
             The flag data of the nodes is as follows.
             1 means the fluid node and 0 is the non-fluid node.
              1---1---1           +---+---+
              +   +   +           +   +   +
              0---0---1           +---+---+
              +   +   +   ---->       |   |
              0---0---1               +---+  creates only this area
       
              data(1,i,j) = the scalar data for contour mesh 
              data(2,i,j) = the flag data for CFD node
                               1 : fluid node     (live)
                               0 : non-fluid node (obstacle)
   1. The min/max parameter controls the color of contour mesh.
   
   2. When the color option parameter is ON, the contour color 
      is set from the input colormap data(lower/upper). 
      You cannot change min/max dial.
      Set the lower/upper dial of the "generate colormap" module.
   When you press the color option, the color is set by the input colormap
   (lower/upper dial). When this button is off, the color is determined 
   by the min/max dial.
Parameters
   On/Off            Determines the visible/invisible.
   just	             If pressed, the min/max dial is automatically set 
                     the minimum/maximum value of input field. 
   color option      Controls the color of contour lines.
   min               Sets the minimum color of contour.
   max               Sets the maximum color of contour.
   information       Displays the information of minimum/maximum value.

Example

 contourmesh.net
     The following network reads a sample data 
     ($AVS_PATH/data/field/bluntfin.fld).
                              read_field      
                                  |
                        +---------+-----------+
                        |                     |
                 extract scalar               |
                        |               volume bounds
                 orthgonal slicer             |
                        |                     |
      generate colormap |                     |
                  |     |                     |
                  +-+   |                     |
                    |   |                     |
                  Contour Mesh               |
                        |                     |
                        +----------+----------+
                                   |
                            geometry viewer
 contourmesh2.net
     The following network reads a sample data 
     (sample.dat in this directory).
                              read_field      
                                  |
                        +---------+-----------+
                        |                     |
                 extract vector               |
                        |               volume bounds
                 orthgonal slicer             |
                        |                     |
      generate colormap |                     |
                  |     |                     |
                  +-+   |                     |
                    |   |                     |
                  Contour Mesh               |
                        |                     |
                        +----------+----------+
                                   |
                            geometry viewer

See also

      Read CFD           (read_cfd)
      CFD_object         (CFD_object)
      CFD_objectline     (CFD_objectline)
      CFD_objectcontour  (CFD_objectcont)
      Contour Lines      (contour_line)
     (the other PDS module)