Animated NASA logo in which the orbit element circles the word NASA. Clicking on this graphic takes you to the NASA Home page, http://www.nasa.gov.
Image says 'GEOLAB'.
This is a rainbow colored horizontal rule.
GridTool Documentation
Summary
New Items
Introduction
FAQ
Surfaces
Advancing Front
Interface
Hot Keys
Executions
I/O
Display
Point/Curves
Patches
Background Grid
Front
Structured Grid
References
Resource File
Tutorial
Acknowledgments
Manual
Contact
Home

LAB Services
Software
Hardware
Publications
Gallery

LAB Information
FAQ
Mission Statement
Meet the team
Training
Find Us
Contact Us
Lab Home
Privacy Statement

More About NASA:
Data Analysis and Imaging Branch
Systems Engineering Competency
LaRC Home
NASA Home
Empty Space

GridTool: A Tool for Structured and Unstructured Grid Generation

Surface Representation and Grid Projection

References [4]-[6] contain detailed descriptions of Surface Representation and Grid Projection. For completeness sake, a short summary will be provided here. In CAD systems, curves and surfaces are represented typically by NonUniform Rational B-Splines (NURBS) which is the most general mathematical representation for curves and surfaces. Most parametric curves and surfaces can be converted to an equivalent NURBS [7]-[8] representation without any loss of accuracy.

The surface-grid can be generated either in a parameter space or on approximated/simplified NURBS surfaces. Grids generated in a parameter space have two serious restrictions. The first restriction is that the choice of surface parameterization affects the CFD surface-grid. As shown in Refs. Ref. 6 and Ref. 9, a poor parameterization may cause the CFD surface-grid to be highly skewed. The second limitation is that a CFD surface-grid can not be generated over several overlapping NURBS surfaces which is the most serious restriction.

In the second method , the NURBS surfaces are approximated by a few bi-linear patches, then, the surface grids are generated based on these bi-linear patches. The resulting surface grids are close but they are not on the original NURBS surfaces. This problem can be alleviated by projecting the resulting grid points onto the original NURBS surfaces. This method is easy to implement, and it avoids the problems associated with surface parameterization. This method of grid generation will require a very robust and fast grid point projection. This method is implemented for structured and unstructured grid.



Surface Attributes

This panel is designed to allow the user to manipulate the surface properties. In order to change the background color of the display window, the "Background" button in the "Attributes" panel should be pressed. Then, the color can be changed by moving three sliders for the colors or by inputing the RGB color number (Red, Green, Blue) in the input-fields.

Image of the Surface Attributes Panel
The surface properties such as color, direction and number of display paths can be changed in this panel. First, the "Surfaces" button in this panel should be pressed, and then "On/Off" browser will appear. In order to change the properties of some of the surfaces, first they must be turned on. This can be done either from the display window or from the "On/Off" browser by placing the cursor over the surface number and clicking with the left mouse. In order to turn a surface on/off from the display window, first the surface must become an active surface by placing the cursor over the surface and hitting the
hot key "s". Then, the active surface can be turned on/off by hitting the hot key "w". Once the appropriate surfaces are turned on, then the properties can be changed. Surface colors can be changed by using the three sliders for colors or by inputing the RGB color number in the input-fields. The direction of surfaces can be changed by pressing the "Directions" button. The number of display paths can be changed by inputing the desired numbers of display paths in u and v coordinates in the input-field for "number of display path" and then pressing "Change DP" button.

Projection Properties

Image of the Projection Properties Panel
This panel is designed for modifying the projection parameters, and it displays the projection parameters for the active surface. For detail description of these properties, readers are referred to
Refs. [4]-[6]. In this panel, it is also possible to change the parameters such that part of a surface is displayed and projected to. This can be done by changing the limits of the surface parameters, us (minimum u), ue (maximum u), vs (minimum v), and ve (maximum v). The "Itmax" is the number of iteration for the projection to converge. The "EPS" is the residual limit for the projection to converge. The "du" and "dv" are the step size in u and v directions, respectively. The "magn" are parameters used to pull grid points to boundaries, and their values range from 0-1.
  1. "mag1" for minimum v
  2. "mag2" for maximum u
  3. "mag3" for maximum v
  4. "mag4" for minimum u

FAQ

What is a display path?
In GridTool a surface is defined everywhere. In order to display it, lines are drawn on the surface.
How do I turn on/off surfaces?
Activate the Surface Panel from the Main panel. To turn off a single surface,
  1. set selection type to single,
  2. select the display type,
  3. place the cursor over the surface number and click with the right mouse.
To turn off a family or all surfaces,
  1. set selection type to family or all,
  2. select the display type.
How do I make a surface active?
Either place the cursor over the desired surface in the display window, and then hit the "s" key. Or Activate the Surface Panel from the Main panel.
  1. set selection type to single,
  2. select "Active Surface" from the display type,
  3. place the cursor over the surface number and click with the right mouse.
How do I group surfaces together?
  1. Turn the surfaces that belong to the family on,
  2. Select a family name,
  3. push the "Change Family" button.
How do I change the directions on the surfaces?
  1. Turn the desired surfaces on,
  2. Push the "Direction" button.
How do I change the background color?
  1. Push the "Background" button,
  2. Then, the color can be changed by moving three sliders for the colors or by inputing the RGB color number (Red, Green, Blue) in the input-fields.
How do I change the surface color?
Turn the desired surfaces on. Surface colors can be changed by using the three sliders for colors or by inputing the RGB color number in the input-fields.
How do I change the number of display path?
Turn the desired surfaces on. Select the number of display path inputing the desired numbers of display paths in u and v coordinates in the input-field for "number of display path" and then pressing "Change DP" button.
How do I convert the existing display path to a NURBS surface?
  1. Turn the desired surfaces on,
  2. push the "DP to NURBS" button.
This will not delete the original surfaces.
How do I delete surfaces?
  1. Turn the desired surfaces on,
  2. push the "Delete Surfaces" button.
What are the projection properties for?
Some surfaces may have a bad parametrization and may be very complex. In order to project to these surfaces, the projection properties may need to be fine-turned.
How do I change the projection properties of a surface?
  1. Activate the projection property panel from surface panel.
  2. Make the surface active
  3. Change the property
How do I change the projection properties of a displayed surfaces?
  1. Activate the projection property panel from surface panel.
  2. Turn the surfaces on
  3. Change the property for one of them
  4. Push Set Displayed Surfaces button

Graphic for NASA-wide Search Engine. Clicking on the graphic will take you to the Search page, http://www.nasa.gov/search.
Responsible NASA Official: Ronnie E. Gillian
Site Curator: D. Stuart Pope
Comments and Questions
Last Updated: Sep 17, 2002