GMS:Creating a 2D Mesh: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{2D Mesh links}}
{{2D Mesh links}}
2D Meshes can be created 3 different ways in GMS: using an automatic meshing technique, manually entering the node locations and triangulating, or converting a different GMS data type to a 2D Mesh.
2D meshes can be created three different ways in GMS: using an automatic meshing technique, manually entering the node locations and triangulating, or converting a different GMS data type to a 2D mesh.


===Using an Automatic Meshing Technique===
===Using an Automatic Meshing Technique===
Line 6: Line 6:


===Manually Creating a 2D Mesh===
===Manually Creating a 2D Mesh===
In order to create a 2D Mesh in GMS you must have a set of 2D Mesh nodes. Elements can be created by using one of the '''Create Element''' tools in the [[GMS:2D Mesh Tool Palette|''2D Mesh Tool Palette'']] and then selecting the mesh nodes to create elements. A 2D Mesh can also be created by [[GMS:Triangulation|triangulating]] the nodes. The triangulation algorithm assumes that each of the vertices being triangulated is unique in the xy plane, i.e., no two points have the same xy location. Duplicate points can be removed by selecting '''Find Duplicates''' command from the ''Mesh'' menu. The user is prompted to input a tolerance to be used when checking for duplicate nodes. Two nodes are considered to be duplicates if the XY distance between them is less than or equal to the specified tolerance. The user can also specify whether the duplicate nodes are to be deleted or simply displayed in red.
In order to create a 2D mesh in GMS there must be a set of 2D Mesh nodes. Elements can be created by using one of the '''Create Element''' tools in the [[GMS:2D Mesh Tool Palette|''2D Mesh Tool Palette'']] and then selecting the mesh nodes to create elements. A 2D mesh can also be created by [[GMS:Triangulation|triangulating]] the nodes. The triangulation algorithm assumes that each of the vertices being triangulated is unique in the xy plane, i.e., no two points have the same xy location. Duplicate points can be removed by selecting '''Find Duplicates''' command from the ''Mesh'' menu. A prompt will ask to input a tolerance to be used when checking for duplicate nodes. Two nodes are considered to be duplicates if the XY distance between them is less than or equal to the specified tolerance. Also specify whether the duplicate nodes are to be deleted or simply displayed in red.


A 2D Mesh can be created manually from the following steps:
A 2D Mesh can be created manually from the following steps:


#Select the '''Create Nodes''' tool from the [[GMS:2D Mesh Tool Palette|2D Mesh Tool Palette]].
#Select the '''Create Nodes''' tool from the [[GMS:2D Mesh Tool Palette|2D Mesh Tool Palette]].
#Create the Nodes by clicking inside the Graphics Window at the xy coordinates where you want the vertex located. (To change the node location see [[GMS:Editing 2D Meshes|Editing 2D Meshes]])
#Create the Nodes by clicking inside the Graphics Window at the xy coordinates where the vertex is to be located. (To change the node location see [[GMS:Editing 2D Meshes|Editing 2D Meshes]])
#Select the '''Create Linear Triangle Element''' tool from the [[GMS:2D Mesh Tool Palette|2D Mesh Tool Palette]].
#Select the '''Create Linear Triangle Element''' tool from the [[GMS:2D Mesh Tool Palette|2D Mesh Tool Palette]].
#Select the [[GMS:Triangulation|'''Triangulate''']] command from the ''Mesh'' menu.
#Select the [[GMS:Triangulation|'''Triangulate''']] command from the ''Mesh'' menu.


===Creating a 2D Mesh from GMS Data===
===Creating a 2D Mesh from GMS Data===
[[GMS:TIN Module|TINs]], [[GMS:2D Grid Module|2D grids]], [[GMS:2D Scatter Point Module|2D scatter points]], and [[GMS:3D Mesh Module|3D meshes]] can all be converted to a 2D Mesh. This is accomplished by using the following commands:
[[GMS:TIN Module|TINs]], [[GMS:2D Grid Module|2D grids]], [[GMS:2D Scatter Point Module|2D scatter points]], and [[GMS:3D Mesh Module|3D meshes]] can all be converted to a 2D mesh. This is accomplished by using the following commands:


*[[GMS:TIN Module#Converting TINS to Other Data Types|TIN → 2D Mesh]]
; [[GMS:Converting_TINS_to_Other_Data_Types#TIN_.E2.86.92_2D_Mesh|TIN → 2D Mesh]] : One triangular element is created for each triangle in the TIN. Any datasets associated with the TIN are copied to the new mesh.


*[[GMS:2D Grid Module#Converting 2D Grids|2D Grid → 2D Mesh]]
; [[GMS:Converting_2D_Grids#Grid_.E2.86.92_2D_Mesh|2D Grid → 2D Mesh]] : A four node quadrilateral element is created from each cell in the grid.


*[[GMS:2D Scatter Point Module#Converting 2D Scatter Points to Other Types of Data|2D Scatter Points → 2D Mesh Nodes]]
; [[GMS:Converting 2D Scatter Points to Other Types of Data|2D Scatter Points → 2D Mesh Nodes]] : Creates a set of 2D finite element nodes from the points in the active scatter point set. Requires triangulating the nodes to create the 2D mesh.
   
   
*'''''3D Mesh → 2D Mesh'''''
; [[GMS:Converting 3D Meshes to Other Data Types#3D Mesh to 2D Mesh|3D Mesh → 2D Mesh]] : Creates a 2D mesh from the upward facing elements of the 3D mesh. Datasets associated with the 3D mesh are not transferred to the 2D mesh.
 
After using the '''''Scatter Points → Mesh Nodes''''' command you must triangulate the nodes to create the 2D Mesh.




{{Navbox GMS}}
{{Navbox GMS}}
[[Category:2D Mesh]]
[[Category:2D Mesh]]

Latest revision as of 15:17, 24 October 2017

2D Mesh Module
2d mesh.png
2D Mesh
Creating a 2D Mesh
Editing 2D Meshes
2D Mesh Settings
Converting a 2D Mesh to Other Types of Data
More
2D Mesh Display Options
2D Mesh Polygon Attributes
2D Mesh Tool Palette
SEEP2D
Solids to Layered Mesh
2D Mesh Commands

2D meshes can be created three different ways in GMS: using an automatic meshing technique, manually entering the node locations and triangulating, or converting a different GMS data type to a 2D mesh.

Using an Automatic Meshing Technique

Map → 2D Mesh is the preferred method for mesh generation in GMS.

Manually Creating a 2D Mesh

In order to create a 2D mesh in GMS there must be a set of 2D Mesh nodes. Elements can be created by using one of the Create Element tools in the 2D Mesh Tool Palette and then selecting the mesh nodes to create elements. A 2D mesh can also be created by triangulating the nodes. The triangulation algorithm assumes that each of the vertices being triangulated is unique in the xy plane, i.e., no two points have the same xy location. Duplicate points can be removed by selecting Find Duplicates command from the Mesh menu. A prompt will ask to input a tolerance to be used when checking for duplicate nodes. Two nodes are considered to be duplicates if the XY distance between them is less than or equal to the specified tolerance. Also specify whether the duplicate nodes are to be deleted or simply displayed in red.

A 2D Mesh can be created manually from the following steps:

  1. Select the Create Nodes tool from the 2D Mesh Tool Palette.
  2. Create the Nodes by clicking inside the Graphics Window at the xy coordinates where the vertex is to be located. (To change the node location see Editing 2D Meshes)
  3. Select the Create Linear Triangle Element tool from the 2D Mesh Tool Palette.
  4. Select the Triangulate command from the Mesh menu.

Creating a 2D Mesh from GMS Data

TINs, 2D grids, 2D scatter points, and 3D meshes can all be converted to a 2D mesh. This is accomplished by using the following commands:

TIN → 2D Mesh
One triangular element is created for each triangle in the TIN. Any datasets associated with the TIN are copied to the new mesh.
2D Grid → 2D Mesh
A four node quadrilateral element is created from each cell in the grid.
2D Scatter Points → 2D Mesh Nodes
Creates a set of 2D finite element nodes from the points in the active scatter point set. Requires triangulating the nodes to create the 2D mesh.
3D Mesh → 2D Mesh
Creates a 2D mesh from the upward facing elements of the 3D mesh. Datasets associated with the 3D mesh are not transferred to the 2D mesh.