HydroGeoSphere/Defining New Zones Using GridBuilder .GEN Files

From Wikibooks, open books for an open world
Jump to navigation Jump to search

The following command can be used to assign porous media element zone numbers using .gen files created by GridBuilder.

Zone by gb gen file[edit | edit source]

  1. fname Name of the GridBuilder .gen file.

All elements in the grid will be assigned zone numbers from the GridBuilder .gen file. Since these files are 2-dimensional, elements with the same x- and y- centroid coordinates will be assigned the same zone number, regardless of their z-coordinate.

If elements are found which are outside the region defined in the GridBuilder file, the zone number 0 (zero) will be assigned and a warning will be issued.

In the case of grok grids which have been flipped using the Y vertical instruction, the x- and z- centroid coordinates are used instead to determine the zone number.

• • •