SMS:2D Mesh Nodestrings Menu

From XMS Wiki
Jump to: navigation, search


The use of nodestrings has varied from one version of SMS to another. Historically, nodestrings served the following purposes:

  1. Breakline to enforce element edges.
  2. Location for boundary condition assignment.
  3. Location for mesh renumbering for efficient numerical analysis.

With the development of a global renumbering option the need to check matrix efficiency from a number of starting points was eliminated. The renumber command that had been in the nodestring menu was moved to the nodes menu. This feature was added in SMS 11.1. The option for local renumbering was retained as a right click command when clicking on a nodestring.

As the modeling approach moves to a simulation based approach, rather than a geomtry based approach, the use of nodestrings to assign boundary conditions is transitioning to the assignment on arcs in a boundary condition coverage.

The Nodestrings functions includes:

Nodestrings Menu

  • Options – This command invokes the Nodestring Options dialog. This dialog is described below.
  • Force Breaklines – This command is only available when at least one nodestring is selected. The command forces element edges to follow the selected nodestring(s). This can be accomplished by swapping element edges or by inserting nodes where the nodestring crosses an element edge. This capability is described in the Breaklines article.
  • Smooth – This command is only available when at least one nodestring is selected and the mesh includes quadratic elements (midside nodes). The result of the command is to move the midside nodes to create a geometrically smooth curve from one element edge to the next. This continuity is based on the edges being interpreted as quadratic curves rather than linear segments. If the angle between adjacent element edges in the nodestring is greater than 60 degrees, the break in the smoothing is left to avoid severe distortion of the quadratic edge.
  • Renumber – This command is only available in version 11.0 and older. It is only available when one nodestring is selected. The function reorders the nodes and elements (resetting the ID values) with the nodes on the selected nodestring being the starting point and sweeping through the domain as described in renumbering.
  • Renumber Nodestrings – This command appears in the menu starting at version 11.1. This allows to explicitly remove any gaps in the nodestring ID numbers.
  • Extract Weir Elevations... – This command appears in the menu starting at version 11.1 for ADCIRC meshes when two nodestrings making up a weir or island barrier are selected. The command invokes the Extract Weir Elevations dialog that allows extracting the elevations for the weir to a coverage.
  • Merge – This command is available if more than one nodestring is selected. It looks for nodestrings that share a single point (end to end) and merges them into a single nodestring if these conditions exist.
  • Split – This command is available if a mesh node is selected. When the command is issued, SMS looks for nodestrings that use the selected node. When such a nodestring is found, the string is split into two nodestrings at the selected mesh node.
  • Reverse Direction – This command reverses the direction of selected nodestrings. Selecting a nodestring causes the direction arrows to be displayed and can be used to verify the nodestring direction. This is typically only useful for extracted 2D plots.

Nodestring Right-Click Commands

Many of the Nodestring menu commands are also available by right-clicking on a selected nodestring. In addition to the commands that are described in the previous section, the following are available as right-click commands on nodestring.

  • Delete Selected – Standard right click menu command
  • Add Weir... – This command was added for version 12.0 of SMS for ADCIRC meshes. It appears only when the selected nodestring(s) are fully internal to the mesh. It invokes the Add Weir dialog which specifies a width (in m) for a new weir to be inserted into the mesh along the nodestring.
  • Remove Weir... – This command was added for version 12.0 of SMS for ADCIRC meshes. It appears only when a pair of selected nodestring(s) define an ADCIRC weir or island barrier boundary condition. It invokes the Remove Weir dialog which specifies a method for removing the weir. These include an option to pave over the weir, which fills the area between the nodestrings with elements, or to merge the nodestrings, which creates a new node for each pair of nodes in the weir at the midpoint between the nodes on the weir. By default the command will also renumber the mesh since the edit changes the mesh definition.
  • Assign BC... – This command applies to mesh based simulations and invokes the model specific boundary condition dialog to allow a boundary condition to be applied at the nodestring.
  • Renumber Nodes – This command was added when the global renumber capability was implemented in the SMS and the menu command was removed.
  • Clear Selection – Standard right-click menu command
  • Invert Selection – Standard right-click menu command
  • Zoom to Selection – Standard right-click menu command

Nodestring Options

Mesh Nodestring Options dialog

The nodestring options dialog, invoked by the menu command described above, includes the following.

Breakline Options

Controls how breaklines are processed.

  • Insert new nodes – Triangles intersected by the breakline are modified by adding new nodes at necessary locations to ensure that the edges of the triangles will conform to the breakline. The elevations of the new nodes are based on a linear interpolation of the breakline segments. The locations of the new nodes are determined in such a way that the Delaunay criterion is satisfied.
  • Swap element edges – Triangles intersected by the breakline are modified by swapping element edges to ensure that the edges of the triangles will conform to the breakline.

Renumber Options

Note: This feature was moved to the Nodes menu beginning in SMS version 11.1.

Related Topics