GMS:Converting a 2D Mesh to Other Types of Data: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{2D Mesh links}}
{{2D Mesh links}}
2D Meshes may be converted to other types of data used in GMS, such as a [[GMS:TIN Module|TIN]] or [[GMS:2D Scatter Point Module|2D scatter points]]. 2D Meshes are converted by using the following commands in the Grid menu:
2D meshes may be converted to other types of data used in GMS, such as a [[GMS:TIN Module|TIN]] or [[GMS:2D Scatter Point Module|2D scatter points]]. 2D meshes are converted by using the following commands in the ''Mesh'' menu:


=== Mesh → 2D Scatter Points ===
== Mesh → 2D Scatter Points ==


The '''Mesh → 2D Scatter Points''' command in the ''Mesh'' menu is used to create a new scatter point set using the nodes in a mesh. A copy is made of each of the datasets associated with the mesh and the datasets are associated with the new scatter point set.
The '''Mesh → 2D Scatter Points''' command in the ''Mesh'' menu is used to create a new scatter point set using the nodes in a mesh. A copy is made of each of the datasets associated with the mesh and the datasets are associated with the new scatter point set.


=== Mesh → TIN ===
== Mesh → TIN ==


A new TIN can be created from a 2D finite element mesh by selecting the '''Mesh → TIN''' command from the Build ''Mesh'' menu. A triangle is created from each triangular element in the mesh and two triangles are created from each quadrilateral element in the mesh by splitting the quadrilateral element along the shortest diagonal.
A new TIN can be created from a 2D finite element mesh by selecting the '''Mesh → TIN''' command from the Build ''Mesh'' menu. A triangle is created from each triangular element in the mesh and two triangles are created from each quadrilateral element in the mesh by splitting the quadrilateral element along the shortest diagonal.


=== Mesh → 3D Tets ===
== Mesh → 3D Tets ==


The '''Mesh→3D Tets''' command in the ''Mesh'' menu is used to convert a 2D mesh to a 3D mesh of tetrahedron.
The '''Mesh→3D Tets''' command in the ''Mesh'' menu is used to convert a 2D mesh to a 3D mesh of tetrahedron.


This command brings up the ''Mesh→3D Tets'' dialog. At the top of the dialog the user selects two datasets that will represent the Top elevation and the Bottom elevation of the 3D mesh. In general the top elevation dataset should be completely above the bottom elevation dataset.  The user also selects how the 3D mesh will be extruded.  There are two options: ''Constant number of layers'' and ''Layers distributed by depth''. When using ''Constant number of layers'', the user simply enters the number of layers in the edit field. When using the ''Layers distributed by depth'', the user enters a maximum layer thickness for each material present in the 2D mesh in the spread sheet.
This command brings up the ''Mesh→3D Tets'' dialog. At the top of the dialog, select two datasets that will represent the Top elevation and the Bottom elevation of the 3D mesh. In general the top elevation dataset should be completely above the bottom elevation dataset.  Also select how the 3D mesh will be extruded.  There are two options: ''Constant number of layers'' and ''Layers distributed by depth''. When using ''Constant number of layers'', simply enter the number of layers in the edit field. When using the ''Layers distributed by depth'', enter a maximum layer thickness for each material present in the 2D mesh in the spread sheet.


==== How it works ====
=== How it works ===


The user specifies a top and bottom elevation dataset and the 3D mesh is extruded between the two datasets.  This process is illustrated in the figures below.
Specify a top and bottom elevation dataset and the 3D mesh is extruded between the two datasets.  This process is illustrated in the figures below.


[[Image:top_bot_mesh.gif|left|frame|Two surfaces defining the top and bottom of the 3D mesh]]
<gallery widths="400 px" heights="230 px">
 
Image:top_bot_mesh.png|Two surfaces defining the top and bottom of the 3D mesh
[[Image:tet_mesh.gif|right|frame|Tet mesh extruded between the top and bottom datasets]]
Image:tet_mesh.png|thumb|Tet mesh extruded between the top and bottom datasets
</gallery>


Two methods are available for determining the number of 3D mesh nodes to place between the two surfaces: ''Constant number of layers'' and ''Layers distributed by depth''.
Two methods are available for determining the number of 3D mesh nodes to place between the two surfaces: ''Constant number of layers'' and ''Layers distributed by depth''.
Line 28: Line 29:
*The first option is a constant number of layers.  The figure above was created by specifying 4 layers between the top and bottom surface.  In this case five 3D mesh nodes are created between the top and bottom elevation datasets creating 4 layers.
*The first option is a constant number of layers.  The figure above was created by specifying 4 layers between the top and bottom surface.  In this case five 3D mesh nodes are created between the top and bottom elevation datasets creating 4 layers.


*The second option uses the materials assigned to the 2D mesh.  The user then specifies a maximum layer thickness for each of the materials. Then as the 3D mesh is extruded the number of nodes will vary depending on the material and the distance between the top and bottom elevation. This is illustrated in the figures below. The first figure show a 2D mesh with 3 materials assigned to it.
*The second option uses the materials assigned to the 2D mesh.  Then specify a maximum layer thickness for each of the materials. Then as the 3D mesh is extruded the number of nodes will vary depending on the material and the distance between the top and bottom elevation. This is illustrated in the figures below. The first figure show a 2D mesh with 3 materials assigned to it.


[[Image:2d_mesh.gif|left|frame|2D mesh with 3 materials]]
<gallery widths="400 px" heights="230 px">
Image:2d_mesh.png|2D mesh with 3 materials
Image:var_tet_mesh.png|3D tet mesh created with materials and max layer thickness
</gallery>


[[Image:var_tet_mesh.gif|right|frame|3D tet mesh created with materials and max layer thickness]]
A maximum layer thickness was assigned to each of the materials: red = 14.0 ft., blue = 10.0 ft., and green = 6.0 ft. The resulting 3D mesh is shown below.


A maximum layer thickness was assigned to each of the materials: red = 14.0 ft., blue = 10.0 ft., and green = 6.0 ft. The resulting 3D mesh is shown below.


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

Latest revision as of 17:14, 28 November 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 may be converted to other types of data used in GMS, such as a TIN or 2D scatter points. 2D meshes are converted by using the following commands in the Mesh menu:

Mesh → 2D Scatter Points

The Mesh → 2D Scatter Points command in the Mesh menu is used to create a new scatter point set using the nodes in a mesh. A copy is made of each of the datasets associated with the mesh and the datasets are associated with the new scatter point set.

Mesh → TIN

A new TIN can be created from a 2D finite element mesh by selecting the Mesh → TIN command from the Build Mesh menu. A triangle is created from each triangular element in the mesh and two triangles are created from each quadrilateral element in the mesh by splitting the quadrilateral element along the shortest diagonal.

Mesh → 3D Tets

The Mesh→3D Tets command in the Mesh menu is used to convert a 2D mesh to a 3D mesh of tetrahedron.

This command brings up the Mesh→3D Tets dialog. At the top of the dialog, select two datasets that will represent the Top elevation and the Bottom elevation of the 3D mesh. In general the top elevation dataset should be completely above the bottom elevation dataset. Also select how the 3D mesh will be extruded. There are two options: Constant number of layers and Layers distributed by depth. When using Constant number of layers, simply enter the number of layers in the edit field. When using the Layers distributed by depth, enter a maximum layer thickness for each material present in the 2D mesh in the spread sheet.

How it works

Specify a top and bottom elevation dataset and the 3D mesh is extruded between the two datasets. This process is illustrated in the figures below.

Two methods are available for determining the number of 3D mesh nodes to place between the two surfaces: Constant number of layers and Layers distributed by depth.

  • The first option is a constant number of layers. The figure above was created by specifying 4 layers between the top and bottom surface. In this case five 3D mesh nodes are created between the top and bottom elevation datasets creating 4 layers.
  • The second option uses the materials assigned to the 2D mesh. Then specify a maximum layer thickness for each of the materials. Then as the 3D mesh is extruded the number of nodes will vary depending on the material and the distance between the top and bottom elevation. This is illustrated in the figures below. The first figure show a 2D mesh with 3 materials assigned to it.

A maximum layer thickness was assigned to each of the materials: red = 14.0 ft., blue = 10.0 ft., and green = 6.0 ft. The resulting 3D mesh is shown below.