GMS:Creating and Editing UGrids: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
*''UGrid type'' | *''UGrid type'' | ||
**''Regular (not refined)'' – Creates a grid with rectangular cells that are not refined. Any refinement attributes specified on feature objects is ignored. | **''Regular (not refined)'' – Creates a grid with rectangular cells that are not refined. Any refinement attributes specified on feature objects is ignored. | ||
**''Quad tree'' – Creates a grid with rectangular cells that are refined in a quad tree manner around any points, arcs and polygons which specify the refinement attribute and refinement size. | **''Quad tree'' – Creates a grid with rectangular cells that are refined in a quad tree manner around any points, arcs and polygons which specify the refinement attribute and refinement size. The cells surrounding the points, arcs, and polygons are also refined to smooth change from coarse cells to refined cells. | ||
**''Nested'' – Creates a grid with rectangular cells that are like refined like the ''Quad tree'' option, but the surrounding cells are not smoothed. | |||
**''Voronoi'' – Creates a Voronoi grid with cells of various sizes and shapes which meet the Voronoi criteria. Only the active coverage is used and it must contain a polygon because the algorithm uses the polygon to create a triangular mesh. The mesh is refined around points that are marked as refine points based on the specified refinement size. The mesh is constructed to honor all arc geometry. If refinement is specified as an attribute on arcs or polygons it is ignored. | **''Voronoi'' – Creates a Voronoi grid with cells of various sizes and shapes which meet the Voronoi criteria. Only the active coverage is used and it must contain a polygon because the algorithm uses the polygon to create a triangular mesh. The mesh is refined around points that are marked as refine points based on the specified refinement size. The mesh is constructed to honor all arc geometry. If refinement is specified as an attribute on arcs or polygons it is ignored. | ||
*''Refine points'' – If the ''Quadtree / Octree'' option is selected and refine points exist in multiple coverages, specifies which refine points to use. | *''Refine points'' – If the ''Quadtree / Octree'' option is selected and refine points exist in multiple coverages, specifies which refine points to use. | ||
Line 55: | Line 56: | ||
==3D → 2D== | ==3D → 2D== | ||
If the UGrid has 3D cells, this command brings up a dialog asking for the layer number from which a UGrid consisting of 2D cells will be created. | If the UGrid has 3D cells, this command brings up a dialog asking for the layer number from which a UGrid consisting of 2D cells will be created. | ||
==UGrid Structure== | |||
{{Template:Version GMS 10.1}} | |||
A UGrid can keep track of the geometric structure it was generated from. The structure can control the editing operations that are allowed and how they are performed on the UGrid. The structure of a UGrid is shown in the UGrid Properties dialog. | |||
*''Quadtree'' structure is used for grids that were either converted from a 2D or 3D grid or were created using as a Regular, Quadtree, or Nested UGrid. | |||
*''Voronoi'' structure is used for grids created using Voronoi option in the Map → UGrid Dialog. For the outer cells of a Voronoi UGrid the computational centroid of the cell is along the outer edge to maintain the right angle connection between cells when generating the MODFLOW UDIS package file. | |||
*''Unknown'' structure is used for all other UGrids. | |||
==Cell Refinement== | ==Cell Refinement== | ||
{{Template:Version GMS 10.1}} | {{Template:Version GMS 10.1}} | ||
UGrid cells can be refined by selecting the cells, right clicking on them, and selecting the ''Refine'' menu item. A new copy of the UGrid will generated with the selected cells refined. The cells will be refined based on the structure of the UGrid. For a UGrid with quadtree structure a cell is refined by adding an additional level of quadtree refinement. Voronoi structured UGrid cells can only be refined by permanently changing the grid structure to Unknown. For a UGrid with Unknown structure, a 3D cell is refined by adding a node at the middle of each horizontal edge along with a new node at the center of the top and bottom faces. | |||