Overview | All Modules | Tutorial | User's Guide | Programming Guide

COVISE Online Documentation


Module category: Tools



ShowGrid

For structured grids ShowGrid computes the grid lines. There are different display methods: show all grid lines, show only the grid lines on the outer surface (hull), show only three sides of the hull (the user may choose among 8 options that determine which three sides are selected), show only the bounding box or show the edge lines.

For unstructured grids ShowGrid displays only one cell. The cell is selected through the parameter position.

ShowGridModule.png

ShowGrid is available for all COVISE versions on all supported platforms.

Parameters

Name Type Description
options Choice The display method:
  • all_lines: display all grid lines
  • hull: display grid lines on the outer surface
  • three_sides_+++: display the three sides having in common corner +++ (see explanation below)
  • three_sides_++-: display the three sides having in common corner ++- (see explanation below)
  • three_sides_+-+: display the three sides having in common corner +-+ (see explanation below)
  • three_sides_+-: display the three sides having in common corner +- (see explanation below)
  • three_sides_-++: display the three sides having in common corner -++ (see explanation below)
  • three_sides_-+-: display the three sides having in common corner -+- (see explanation below)
  • three_sides_-+: display the three sides having in common corner -+ (see explanation below)
  • three_sides_--: display the three sides having in common corner -- (see explanation below)
  • Bounding_box: display the lines of the smallest parallelepiped containing the grid
  • Edges: display only the edge lines of the grid
pos Slider This parameter (position) has an effect only for unstructured grids: it is the index of the cell to be displayed.

In order to correctly interpret the meaning of the three_sides family of choices a remark is here in order. Any point of a structured, uniform or rectangular grid may be fancied to be characterised by three integer labels ni, nj, nk in the ranges between 0 and Isize-1, Jsize-1, Ksize-1. Corner +++ stands for the corner with (0,0,0) labels, corner ++- for the corner with (0,0,Ksize-1) , corner +-+ for the corner with (0,Jsize-1,0) , and so on.

Input Ports

Name Type Description
requiredmeshin StructuredGrid
RectilinearGrid
UniformGrid
UnstructuredGrid
The grid or a set of grids.

Output Ports

Name Type Description
outputlines Lines The grid lines
outputpoints Points Points at the vertices of the grid.

Examples

Example 1 (Structured Grid):

Figure: covise/net/examples/ShowGridStructured.net
ShowGridStructuredMap.png

Look at the map ShowGridStructured.net. Make sure to set the parameter Coord_Type for GenDat to "Half_cyl" as shown in the ControlPanel. With this parameter setting, the module GenDat generates a half cylinder as structured grid (In addition, you can change the GenDat parameters xSize, ySize, and zSize in order to modify the grid produced by GenDat.)

The following images show the results for options

  1. all_lines
  2. hull
  3. three_sides_+++
  4. Bounding_box.

Figure: all_lines
ShowGrid_all_lines.png

Figure: hull
ShowGrid_hull.png

Figure: three_sides_+++
ShowGrid_three_sides_1.png

Figure: Bounding_box
ShowGrid_Bounding_box_2.png

Example 2 (Unstructured Grid):

Figure: covise/net/examples/ShowGridUnstructured.net
ShowGridUnstructuredMap.png

In ShowGridUnstructured.net the module RWCovise reads in the unstructured grid of a channel with two inlets. The module DomainSurface computes the outer surface of the grid and the module CutGeometry cuts the upper sides so that we can look into the channel. The module ShowGrid computes the edge lines of the cell at index 200.

ShowGridUnstructuredRenderer.png


Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner
Copyright © 1993-2022 HLRS, 2004-2014 RRZK, 2005-2014 Visenso
COVISE Version 2021.12