GMS:Converting a 2D Mesh to Other Types of Data: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
m (Jcreer moved page GMS:Converting a 2D Mesh to other types of Data to GMS:Converting a 2D Mesh to Other Types of Data) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
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: | 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 == | |||
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 == | |||
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 == | |||
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. | ||
Line 16: | Line 16: | ||
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. | 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. | 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. | ||
<gallery widths="400 px" heights=" | <gallery widths="400 px" heights="230 px"> | ||
Image:top_bot_mesh.png|Two surfaces defining the top and bottom of the 3D mesh | Image:top_bot_mesh.png|Two surfaces defining the top and bottom of the 3D mesh | ||
Image:tet_mesh.png|thumb|Tet mesh extruded between the top and bottom datasets | Image:tet_mesh.png|thumb|Tet mesh extruded between the top and bottom datasets | ||
Line 31: | Line 31: | ||
*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. | *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. | ||
<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> | |||
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]] |