GMS:Editing a 3D Mesh: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{{3D Mesh links}} | {{3D Mesh links}} | ||
==Editing Nodes== | |||
3D mesh nodes can be: | 3D mesh nodes can be: | ||
*'''Moved''' - The coordinates of a 3D mesh node can be edited by [[GMS:3D Mesh Tool Palette|selecting]] the node and dragging it to its new location or by typing the new coordinates in the [[GMS:The GMS Screen|Edit Window]]. | *'''Moved''' - The coordinates of a 3D mesh node can be edited by [[GMS:3D Mesh Tool Palette|selecting]] the node and dragging it to its new location or by typing the new coordinates in the [[GMS:The GMS Screen|Edit Window]]. | ||
Line 6: | Line 7: | ||
*'''Renumbered''' - As a 3D mesh is constructed within GMS, the nodes and elements in the mesh are numbered arbitrarily. If any nodes or elements are deleted, gaps are created in the numbering sequence. Such gaps can be removed and an optimal numbering sequence can be achieved by selecting the '''''Renumber''''' command in the ''Mesh'' menu. Prior to selecting the '''''Renumber''''' command, the user should select a series of boundary faces of the 3D mesh. These faces represent the location where the numbering process is to begin. In most cases, it is best to select all of the faces on an entire side of the mesh. This can be accomplished using the [[GMS:3D Mesh Tool Palette|'''''Select Face''''']] tool with the '''''Control key''''' held down. The renumbering process renumbers the nodes and elements in a logical order that tends to minimize the node and element bandwidth (which leads to more efficient solutions with some finite element solvers). The process begins by ordering the nodes and faces of the selected group of faces. This is essentially a 2D renumbering process. The longitudinal and lateral directions of the region of selected faces are determined and the numbering proceeds by sweeping along rows oriented in the lateral direction while progressing from row to row in the longitudinal direction. Once the nodes and faces of the selected region are renumbered, the layer of elements adjacent to the faces are numbered in a similar sequence. This process is repeated by sweeping outward from the selected region, one layer of elements at a time, until the entire mesh is renumbered. The results of the renumbering process can be reviewed by turning on the display of node and/or element numbers in the [[GMS:3D Mesh Display Options|Display Options]] dialog. The results can also be viewed by right-clicking on the 3D Mesh Data Folder in the [[GMS:Project Explorer|Project Explorer]] and selecting the '''''Properties''''' command. The node and element bandwidths are listed in the dialog that comes up. If the objective of renumbering the mesh is minimizing the node and element bandwidths, the best results are generally achieved by selecting a side of the mesh corresponding to one of the two "ends" of the major or longitudinal axis of the mesh. | *'''Renumbered''' - As a 3D mesh is constructed within GMS, the nodes and elements in the mesh are numbered arbitrarily. If any nodes or elements are deleted, gaps are created in the numbering sequence. Such gaps can be removed and an optimal numbering sequence can be achieved by selecting the '''''Renumber''''' command in the ''Mesh'' menu. Prior to selecting the '''''Renumber''''' command, the user should select a series of boundary faces of the 3D mesh. These faces represent the location where the numbering process is to begin. In most cases, it is best to select all of the faces on an entire side of the mesh. This can be accomplished using the [[GMS:3D Mesh Tool Palette|'''''Select Face''''']] tool with the '''''Control key''''' held down. The renumbering process renumbers the nodes and elements in a logical order that tends to minimize the node and element bandwidth (which leads to more efficient solutions with some finite element solvers). The process begins by ordering the nodes and faces of the selected group of faces. This is essentially a 2D renumbering process. The longitudinal and lateral directions of the region of selected faces are determined and the numbering proceeds by sweeping along rows oriented in the lateral direction while progressing from row to row in the longitudinal direction. Once the nodes and faces of the selected region are renumbered, the layer of elements adjacent to the faces are numbered in a similar sequence. This process is repeated by sweeping outward from the selected region, one layer of elements at a time, until the entire mesh is renumbered. The results of the renumbering process can be reviewed by turning on the display of node and/or element numbers in the [[GMS:3D Mesh Display Options|Display Options]] dialog. The results can also be viewed by right-clicking on the 3D Mesh Data Folder in the [[GMS:Project Explorer|Project Explorer]] and selecting the '''''Properties''''' command. The node and element bandwidths are listed in the dialog that comes up. If the objective of renumbering the mesh is minimizing the node and element bandwidths, the best results are generally achieved by selecting a side of the mesh corresponding to one of the two "ends" of the major or longitudinal axis of the mesh. | ||
==Refine Elements== | |||
3D mesh elements can be refined. Increasing the density of mesh elements can be accomplished by selecting a set of elements and selecting the '''''Refine Elements''''' command from the ''Mesh'' menu. This brings up the Refine Elements dialog. | 3D mesh elements can be refined. Increasing the density of mesh elements can be accomplished by selecting a set of elements and selecting the '''''Refine Elements''''' command from the ''Mesh'' menu. This brings up the Refine Elements dialog. | ||
====Elements to Refine==== | |||
The top portion of the dialog is used to specify which elements in the mesh are to be refined. If the Refine all 3D mesh elements option is selected, all elements in the mesh are refined regardless of which elements are selected. If the Refine selected 3D mesh elements option is selected, only the selected elements of the mesh are refined. | The top portion of the dialog is used to specify which elements in the mesh are to be refined. If the Refine all 3D mesh elements option is selected, all elements in the mesh are refined regardless of which elements are selected. If the Refine selected 3D mesh elements option is selected, only the selected elements of the mesh are refined. | ||
Even if the Refine selected 3D mesh elements option is selected, a few elements that were not selected must also be altered. This is due to the fact that the elements that were selected for refinement are refined, disjoint faces are created between the selected elements and the non-selected elements directly adjacent to the selected elements. To eliminate these disjoint faces, some transition elements are identified and refined. Transition elements are defined as any non selected element that shares at least one node with an element that is selected for refinement. | Even if the Refine selected 3D mesh elements option is selected, a few elements that were not selected must also be altered. This is due to the fact that the elements that were selected for refinement are refined, disjoint faces are created between the selected elements and the non-selected elements directly adjacent to the selected elements. To eliminate these disjoint faces, some transition elements are identified and refined. Transition elements are defined as any non selected element that shares at least one node with an element that is selected for refinement. | ||
====Refinement Method==== | |||
There are three methods of refinement that can be used. The difference among the three methods is the shape of the resulting mesh elements. Each of the three methods is described below. | There are three methods of refinement that can be used. The difference among the three methods is the shape of the resulting mesh elements. Each of the three methods is described below. | ||
=====Vertical Column===== | |||
[[Image:Refine1a.gif|right|frame|Vertical column refinement of (a) hexahedra and (b) wedges]] | [[Image:Refine1a.gif|right|frame|Vertical column refinement of (a) hexahedra and (b) wedges]] | ||
Vertical column refinement is used to split hexahedra and wedges in the X and Y directions only, as shown on the right. | Vertical column refinement is used to split hexahedra and wedges in the X and Y directions only, as shown on the right. | ||
Line 34: | Line 33: | ||
#All transition elements (i.e., elements not intended to be refined but share at least one node with an element that was selected for refinement) must also satisfy conditions 2 and 3 above. | #All transition elements (i.e., elements not intended to be refined but share at least one node with an element that was selected for refinement) must also satisfy conditions 2 and 3 above. | ||
=====All Elements To Tetrahedra===== | |||
[[Image:Refine2b.GIF|right|frame|All elements to tetrahedra fine method of refinement of (a) hexahedra, (b) wedges, (c) pyramids, and (d) tetrahedra]] | [[Image:Refine2b.GIF|right|frame|All elements to tetrahedra fine method of refinement of (a) hexahedra, (b) wedges, (c) pyramids, and (d) tetrahedra]] | ||
All element types to tets refinement is used to convert any of the four basic element types to tetrahedra. This option is especially useful since some finite element solvers require meshes to be composed strictly of tetrahedra. | All element types to tets refinement is used to convert any of the four basic element types to tetrahedra. This option is especially useful since some finite element solvers require meshes to be composed strictly of tetrahedra. | ||
Line 46: | Line 43: | ||
[[Image:Refine3a.gif|center|frame|All elements to tetrahedra coarse method of refinement of (a) hexahedra, (b) wedges, and (c) pyramids]] | [[Image:Refine3a.gif|center|frame|All elements to tetrahedra coarse method of refinement of (a) hexahedra, (b) wedges, and (c) pyramids]] | ||
=====Retain Element Types===== | |||
[[Image:Refine4b.gif|right|frame|Retain element types refinement of (a) hexahedra, (b) wedges, (c) pyramids, and (d) tetrahedra.]] | |||
Retain element types refinement is used to convert any of the four basic element types to smaller elements of the same type. For example, each hexahedra is divided into eight smaller hexahedra as shown below. Pyramids are the exception since they are divided into five smaller pyramids and four tetrahedra. It is possible to divide a pyramid into four smaller pyramids, but the resulting pyramids are of poor quality. | Retain element types refinement is used to convert any of the four basic element types to smaller elements of the same type. For example, each hexahedra is divided into eight smaller hexahedra as shown below. Pyramids are the exception since they are divided into five smaller pyramids and four tetrahedra. It is possible to divide a pyramid into four smaller pyramids, but the resulting pyramids are of poor quality. | ||