Difference between revisions of "SMS:2D Mesh Module Tools"
Revision as of 15:40, 5 August 2009
The following tools are contained in the Dynamic Tools portion of the tool palette when the Mesh Module is active. Tools specific to a model interface are described with the corresponding model. Only one tool is active at any given time. The action that takes place when the user clicks in the Graphics Window depends on the current tool. The following table describes the tools in the 2D Grid tool palette.
|Tool||Tool Name||Description||Right Click Menu|
|File:Create node.gif||Create Mesh Nodes||The Create Mesh Nodes tool is used to manually create a node using the mouse. A node will be created at the location where the mouse button is clicked inside the Graphics Window. If the node is created inside the triangulated area of a current mesh, and the Insert nodes into triangulated mesh option is turned on, then the new node will be added as part of the mesh. If the new node is not added as part of the current mesh, then the z-value assigned depends on the Nodal z-value option.||N/A|
|File:Select node.gif||Select Mesh Nodes||The Select Mesh Nodes tool is used to select nodes. A single node is selected by clicking on it. A second node can be added to the selection list by holding the SHIFT key while selecting it. Multiple nodes can be selected at once by dragging a box around them. A selected node can be deselected by holding the SHIFT key as it is clicked.
If the nodes are not locked (see the menu command Nodes | Locked), then a single node can be clicked and dragged to a new location. As the node is being dragged, its new location is shown in the Edit Window. If a single node selected, the X, Y, and Z Coordinate fields in the Edit Window become available to set the node location exactly. If multiple nodes are selected, the Z Coordinate field in the Edit Window becomes available. The value shown is the average elevation value of all selected nodes. If this value is changed, the new value will be assigned to all selected nodes.
With one node selected, the Edit Window shows the node id number and the number of elements to which it is attached. With two nodes selected, the Edit Window shows both node id numbers and the distance between the nodes. With multiple nodes selected, the Edit Window shows the number of selected nodes.
|See the 2D Mesh Nodes Menu and 2D Mesh Elements Menu articles.|
|File:CreateMeshNodestring.JPG||Create Nodestrings||The Create Nodestrings tool is used to create node string. Nodestrings are used for operations such as assigning boundary conditions, forcing breaklines into the mesh, and renumbering the mesh. To create a nodestring:
|File:SelectMeshNodestring.JPG||Select Nodestrings||The Select Nodestrings tool is used to select nodestrings. When this tool is chosen, a small icon appears near the center of each nodestring. A nodestring is selected by clicking inside this icon. A second nodestring can be added to the selection list by holding the SHIFT key while selecting it. Multiple nodestrings can be selected by dragging a box around their icons. A selected nodestring can be deselected by holding the SHIFT key as its icon is clicked.
When nodestrings are selected, the Z Coordinate field in the Edit Window becomes available. The value shown is the average elevation value of all nodes in the selected nodestrings. If this value is changed, the new value will be assigned to all nodes in the selected nodestrings.
With one nodestring selected, the Edit Window shows the number of nodes in the nodestring, its type, and its length. With multiple nodestrings selected, the Edit Window shows the number of selected nodestrings and their total length.
|See the 2D Mesh Nodestrings Menu article.|
|File:Line2.gif||Create Elements||Most elements in SMS will be created using automatic mesh generation techniques. At times, however, it is necessary to manually create a single element or a small group of elements.
Although SMS supports various types of elements, only those element types supported by the current numerical model will be available in the tool palette. Some of these element types are linear while others are quadratic. A linear element has only corner nodes, while a quadratic element has midside nodes between the corner nodes.
The following linear elements are supported:
Linear and quadratic elements cannot coexist in a single mesh. If linear elements exist in a mesh, then the quadratic element creation tools are dimmed out. Similarly, if quadratic elements exist in a mesh, then the linear element creation tools are dimmed out. To create a single linear or quadratic element:
The midside nodes in quadratic elements are created automatically, as is the center node of a nine-node quadrilateral. Before a new element is created, SMS performs the following quality checks:
If any of the these fails, the new element is not created.
|File:SelectMeshElement.gif||Select Elements||The Select Elements tool is used to select elements. A single element is selected by clicking inside it. A second element can be added to the selection list by holding the SHIFT key while selecting it. Multiple elements can be selected at once by dragging a box around them. Holding the CTRL key and dragging the mouse selects any elements through which the line is drawn. A selected element can be deselected by holding the SHIFT key as it is clicked.
When elements are selected, the Z Coordinate field in the Edit Window becomes available. The value shown is the average elevation value of all nodes in the selected elements. If this value is changed, the new value will be assigned to all nodes attached to the selected elements. Caution must be used when changing node elevations in this manner. Do not create large flat areas where surrounding elements may become dry because this can cause ponds to form when the finite element analysis is performed.
With one element selected, the Edit Window shows the element id number, its type, and its area. With multiple elements selected, the Edit Window shows the number of selected elements and their combined area.
|See the 2D Mesh Elements Menu article.|
|File:Swap edge.gif||Swap Edges||The Swap Edges tool is used to manually swap the edges of two adjacent triangles. This is useful in such cases as preserving a geometrical feature in the mesh or avoiding a artificial dam in a channel.
Two adjacent triangles form a quadrilateral with an element edge down one diagonal. When the diagonal is clicked, it gets swapped to the other diagonal, as long as the quadrilateral is not concave.
|File:Split merge.gif||Merge/Split Elements||The Merge/Split Elements tool is used to either merge two triangles into a quadrilateral or split a quadrilateral into two triangles. This is a useful tool to use when trying to avoid certain mesh drying problems.
To split a quadrilateral element, click inside it. An element edge appears on the diagonal which will make the triangles uphold the Delaney criteria. To merge two adjacent triangles into a quadrilateral, click the common edge. A quadrilateral will form as long as it is not concave.
|File:Contour label.gif||Label Contours||The Label Contours tool is used to manually create a contour label using the mouse. To add a label, click on the point where the label should be created. The label will remain on the screen until either it is manually removed or the automatic contour label options are changed. To manually remove a contour label, hold the SHIFT key and clicking on it. There are also available automatic contour label options.||N/A|