Grid Tools: extract

The extract utility provides a tool to extract elements from a volume grid based on id, topology type, or angle criteria. The complete surface grid is always written to the output grid file.

-igrid [file_name] Specifies the input grid file name
-ogrid [file_name] Specifies the output grid file name.  If no output grid is specified, the default output file casename_out.b8.ugrid will be generated if necessary.
-globalminmax [#] Prints the global minimum and maximum angles in the grid.
-min [#] Writes all volume elements with angles less than the specified min value to the output grid file.  May be used with -max option.
-max [#] Writes all volume elements with angles less than the specified max value to the output grid file.  May be used with -min option.
-negvol Writes all elements having negative volumes to the specified file.
-tet [RANGE] or [all] Writes tetrahedra within the specified RANGE to the output grid file.
-pent5 [RANGE] or [all] Writes pyramids within the specified RANGE to the output grid file.
-pent6 [RANGE] or [all] Writes prisms within the specified RANGE to the output grid file.
-hex [RANGE] or [all] Writes hexehedra within the specified RANGE to the output grid file.
-help Prints the help screen.
-version Prints the version information of the executable and the associated libraries
-build Prints the build number of the executable

RANGE is specified as START VALUE .. END VALUE using a 1-based numbering or all to extract every element of that type.  For example, to extract the first 100 tetrahedra:
% extract -igrid input_grid_file -tet 1..100 -ogrid output_grid_file

Options listed in red are mandatory.

contents_btn home_btn previous_btn 1gridtools_btn next_btn