SMS:Convert Elements: Difference between revisions
(→Relax) |
|||
(33 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{TOCright}} | |||
Several commands are available to modify the current elements these include: | Several commands are available to modify the current elements these include: | ||
==Add Breakline== | ==Add Breakline== | ||
The Add Breaklines command from the Elements menu can be executed when at least one nodestring has been selected. This forces element edges along the nodestring line. When this command is performed, elements are sliced along the nodestring to ensure that the edges will conform to the breakline. The elevations of any new nodes are interpolated from the original mesh. All new triangles satisfy the Delauney criterion. | The '''Add Breaklines''' command from the ''Elements'' menu can be executed when at least one nodestring has been selected. This forces element edges along the nodestring line. When this command is performed, elements are sliced along the nodestring to ensure that the edges will conform to the breakline. The elevations of any new nodes are interpolated from the original mesh. All new triangles satisfy the Delauney criterion. | ||
[[Image:Breaklineexample. | :[[Image:Breaklineexample.png|350 px]] | ||
A breakline example is shown. This example has some long, skinny quadrilaterals which will be split across the width. The dotted line in the left part of the figure represents the location of the breakline. When the elements are split, triangles are formed. These can be merged together using the Split/Merge tool , as shown in the right part of the figure. | A breakline example is shown. This example has some long, skinny quadrilaterals which will be split across the width. The dotted line in the left part of the figure represents the location of the breakline. When the elements are split, triangles are formed. These can be merged together using the '''Split/Merge''' [[File:SMS MergeSplit Elements Tool.svg|16 px]] tool , as shown in the right part of the figure. | ||
==Merge Triangles== | ==Merge Triangles== | ||
The Split/Merge tool can be used to merge individual pairs of triangles. Doing this manually for large numbers of elements takes a lot of time. The Merge Triangles command from the [[SMS:2D_Mesh_Elements_Menu|Elements menu]] automatically merges a selected set of triangles simultaneously. If no elements are selected when this command is executed, all triangles in the finite element mesh will be processed. | The '''Split/Merge''' [[File:SMS MergeSplit Elements Tool.svg|16 px]] tool can be used to merge individual pairs of triangles. Doing this manually for large numbers of elements takes a lot of time. The '''Merge Triangles''' command from the [[SMS:2D_Mesh_Elements_Menu|''Elements'' menu]] automatically merges a selected set of triangles simultaneously. If no elements are selected when this command is executed, all triangles in the finite element mesh will be processed. | ||
This command uses the Merge triangles feature angle specified in [[SMS:Mesh_Element_Options|Element Option]] dialog. In order to form quadrilateral elements with the best aspect ratios, SMS starts with a feature angle of ninety degrees and checks for any elements that can be merged. Then, a series of steps are performed, each time lowering the feature angle and checking for elements that can be merged. This ensures that the quadrilaterals which are formed are as close to rectangular as possible. In general, after the automatic merging process is complete, a limited number of triangles will still exist. | This command uses the ''Merge triangles feature angle'' specified in [[SMS:Mesh_Element_Options|''Element Option'']] dialog. In order to form quadrilateral elements with the best aspect ratios, SMS starts with a feature angle of ninety degrees and checks for any elements that can be merged. Then, a series of steps are performed, each time lowering the feature angle and checking for elements that can be merged. This ensures that the quadrilaterals which are formed are as close to rectangular as possible. In general, after the automatic merging process is complete, a limited number of triangles will still exist. | ||
==Split Quadrilaterals== | ==Split Quadrilaterals== | ||
The Split Quadrilaterals command in the Elements menu is used to split a set of quadrilaterals into triangles. If no elements are selected, all quadrilateral elements in the mesh will be split. The quadrilaterals are split along the shortest diagonal. | The '''Split Quadrilaterals''' command in the ''Elements'' menu is used to split a set of quadrilaterals into triangles. If no elements are selected, all quadrilateral elements in the mesh will be split. The quadrilaterals are split along the shortest diagonal. | ||
==Quad8 ↔ Quad9== | ==Quad8 ↔ Quad9== | ||
The Quad8↔Quad9 item from the Elements menu is used to convert between eight- and nine- noded quadrilaterals. [[SMS:FESWMS|FESWMS]] supports nine-noded quadrilaterals. Both [[SMS:FESWMS|FESWMS]] and [[SMS:TABS|TABS]] support eight-noded quadrilaterals. If no elements are selected when this command is performed, all elements are converted. | The '''Quad8↔Quad9''' item from the ''Elements'' menu is used to convert between eight- and nine- noded quadrilaterals. [[SMS:FESWMS|FESWMS]] supports nine-noded quadrilaterals. Both [[SMS:FESWMS|FESWMS]] and [[SMS:TABS|TABS]] support eight-noded quadrilaterals. If no elements are selected when this command is performed, all elements are converted. | ||
==Linear ↔ Quadratic== | ==Linear ↔ Quadratic== | ||
Linear elements (three node triangles and four node quadrilaterals) can be converted to quadratic elements (six node triangles and eight node quadrilaterals) and vice versa by selecting the Linear ↔ Quadratic item from the Elements menu. A finite element mesh must be made of either all linear elements or all quadratic elements. Linear elements do not have midside nodes while quadratic elements do. | Linear elements (three node triangles and four node quadrilaterals) can be converted to quadratic elements (six node triangles and eight node quadrilaterals) and vice versa by selecting the '''Linear ↔ Quadratic''' item from the ''Elements'' menu. A finite element mesh must be made of either all linear elements or all quadratic elements. Linear elements do not have midside nodes while quadratic elements do. | ||
==Refine== | ==Refine== | ||
At times, there is not enough definition in a finite element mesh. The Refine command from the Elements menu splits each of the selected elements into smaller elements. After the selected elements have been refined, SMS automatically creates transitions, from the refined area of higher density to the unrefined area of lower density, using triangular elements. Refine options are set in the [[SMS: | At times, there is not enough definition in a finite element mesh. The '''Refine''' command from the ''Elements'' menu splits each of the selected elements into smaller elements. After the selected elements have been refined, SMS automatically creates transitions, from the refined area of higher density to the unrefined area of lower density, using triangular elements. Refine options are set in the [[SMS:Mesh Element Options|''Element Options'' dialog]]. | ||
==[[SMS:Relax Elements| | ==Relax== | ||
The process of creating and editing a finite element mesh can result in [[SMS:Mesh Quality|poor quality elements]]. These elements may have poor interior angles or may violate the area change guideline for adjacent elements. The '''Relax''' command from the [[SMS:2D Mesh Elements Menu|''Elements'' menu]] can improve adjacent element areas and interior angles by moving nodes. This command moves nodes to improve the elements shape. Several options are available. Relaxation is an iterative process. The number of iterations performed and other options are specified in the [[SMS:Mesh Element Options|''Element Options'']] dialog. If no elements are selected, then the relaxation is performed on all elements in the mesh. | |||
==Smooth Nodestring== | ==Smooth Nodestring== | ||
Quadratic elements have a node located at the midpoint of each edge. These nodes are generally referred to as midside nodes. The angular corners resulting from such elements are discontinuous. Such a discontinuity may result in inaccuracy in the numerical model sometimes referred to as a mass loss. Mass loss occurs because water artificially flows out of the mesh. | Quadratic elements have a node located at the midpoint of each edge. These nodes are generally referred to as midside nodes. The angular corners resulting from such elements are discontinuous. Such a discontinuity may result in inaccuracy in the numerical model sometimes referred to as a mass loss. Mass loss occurs because water artificially flows out of the mesh. | ||
[[Image:Smoothnodestringexample. | :[[Image:Smoothnodestringexample.png|350 px]] | ||
To minimize the abrupt change in flow direction, element edges can be curved by slightly moving the midside node. This can be done by hand using the [[SMS:2D_Mesh_Module_Tools#Select_Mesh_Nodes|Select Nodes | To minimize the abrupt change in flow direction, element edges can be curved by slightly moving the midside node. This can be done by hand using the [[SMS:2D_Mesh_Module_Tools#Select_Mesh_Nodes|'''Select Mesh Nodes''']] [[File:Select Point Tool.svg|16 px]] tool with the nodes [[SMS:2D_Mesh_Nodes_Menu|unlocked]]. Moving large numbers of nodes becomes tedious. However, element edges along a selected nodestring can be smoothed by SMS with the [[SMS:2D_Mesh_Nodestrings_Menu#Nodestrings_Menu|''Nodestrings'' | '''Smooth ''']] command. | ||
Normally, element edge smoothness is only a concern along the mesh boundary. However, if the analysis includes regions that become dry, interior boundaries should also be smoothed. To avoid smoothing corners that should be sharp, SMS provides a Smooth nodestring feature angle in the [[SMS:Mesh_Element_Options|Element Options | Normally, element edge smoothness is only a concern along the mesh boundary. However, if the analysis includes regions that become dry, interior boundaries should also be smoothed. To avoid smoothing corners that should be sharp, SMS provides a ''Smooth nodestring feature angle'' in the [[SMS:Mesh_Element_Options|''Element Options'']] dialog. A corner will only be smoothed if it is less than the specified angle. | ||
==Related Topics== | ==Related Topics== | ||
* [[SMS:2D Mesh Elements Menu|2D Mesh Elements Menu]] | * [[SMS:2D Mesh Elements Menu|2D Mesh Elements Menu]] | ||
* [[SMS:Element Patch Workflow|Element Patch Workflow]] | |||
{{Template:Navbox SMS}} | {{Template:Navbox SMS}} | ||
[[Category:SMS 2D Mesh]] | [[Category:SMS 2D Mesh|C]] |
Latest revision as of 15:37, 24 August 2018
Several commands are available to modify the current elements these include:
Add Breakline
The Add Breaklines command from the Elements menu can be executed when at least one nodestring has been selected. This forces element edges along the nodestring line. When this command is performed, elements are sliced along the nodestring to ensure that the edges will conform to the breakline. The elevations of any new nodes are interpolated from the original mesh. All new triangles satisfy the Delauney criterion.
A breakline example is shown. This example has some long, skinny quadrilaterals which will be split across the width. The dotted line in the left part of the figure represents the location of the breakline. When the elements are split, triangles are formed. These can be merged together using the Split/Merge tool , as shown in the right part of the figure.
Merge Triangles
The Split/Merge tool can be used to merge individual pairs of triangles. Doing this manually for large numbers of elements takes a lot of time. The Merge Triangles command from the Elements menu automatically merges a selected set of triangles simultaneously. If no elements are selected when this command is executed, all triangles in the finite element mesh will be processed.
This command uses the Merge triangles feature angle specified in Element Option dialog. In order to form quadrilateral elements with the best aspect ratios, SMS starts with a feature angle of ninety degrees and checks for any elements that can be merged. Then, a series of steps are performed, each time lowering the feature angle and checking for elements that can be merged. This ensures that the quadrilaterals which are formed are as close to rectangular as possible. In general, after the automatic merging process is complete, a limited number of triangles will still exist.
Split Quadrilaterals
The Split Quadrilaterals command in the Elements menu is used to split a set of quadrilaterals into triangles. If no elements are selected, all quadrilateral elements in the mesh will be split. The quadrilaterals are split along the shortest diagonal.
Quad8 ↔ Quad9
The Quad8↔Quad9 item from the Elements menu is used to convert between eight- and nine- noded quadrilaterals. FESWMS supports nine-noded quadrilaterals. Both FESWMS and TABS support eight-noded quadrilaterals. If no elements are selected when this command is performed, all elements are converted.
Linear ↔ Quadratic
Linear elements (three node triangles and four node quadrilaterals) can be converted to quadratic elements (six node triangles and eight node quadrilaterals) and vice versa by selecting the Linear ↔ Quadratic item from the Elements menu. A finite element mesh must be made of either all linear elements or all quadratic elements. Linear elements do not have midside nodes while quadratic elements do.
Refine
At times, there is not enough definition in a finite element mesh. The Refine command from the Elements menu splits each of the selected elements into smaller elements. After the selected elements have been refined, SMS automatically creates transitions, from the refined area of higher density to the unrefined area of lower density, using triangular elements. Refine options are set in the Element Options dialog.
Relax
The process of creating and editing a finite element mesh can result in poor quality elements. These elements may have poor interior angles or may violate the area change guideline for adjacent elements. The Relax command from the Elements menu can improve adjacent element areas and interior angles by moving nodes. This command moves nodes to improve the elements shape. Several options are available. Relaxation is an iterative process. The number of iterations performed and other options are specified in the Element Options dialog. If no elements are selected, then the relaxation is performed on all elements in the mesh.
Smooth Nodestring
Quadratic elements have a node located at the midpoint of each edge. These nodes are generally referred to as midside nodes. The angular corners resulting from such elements are discontinuous. Such a discontinuity may result in inaccuracy in the numerical model sometimes referred to as a mass loss. Mass loss occurs because water artificially flows out of the mesh.
To minimize the abrupt change in flow direction, element edges can be curved by slightly moving the midside node. This can be done by hand using the Select Mesh Nodes tool with the nodes unlocked. Moving large numbers of nodes becomes tedious. However, element edges along a selected nodestring can be smoothed by SMS with the Nodestrings | Smooth command.
Normally, element edge smoothness is only a concern along the mesh boundary. However, if the analysis includes regions that become dry, interior boundaries should also be smoothed. To avoid smoothing corners that should be sharp, SMS provides a Smooth nodestring feature angle in the Element Options dialog. A corner will only be smoothed if it is less than the specified angle.
Related Topics
SMS – Surface-water Modeling System | ||
---|---|---|
Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | |
General Models: | 3D Structure • FVCOM • Generic • PTM | |
Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |
Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |
Aquaveo • SMS Tutorials • SMS Workflows |