SMS:Patch: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Patch River.png|thumb|300 px|Patch used to define a river channel]]
[[File:Patch at Culvert.png|thumb|300 px|Patch used where a culvert will be modeled]]
The patch method fills polygons that can be defined as topologic rectangles. The method may combine multiple arcs to define a single side of the patch. A bidirectional coons patching method is used to interpolate from the boundary arcs to interior nodes. Typical applications of this method include river channels and regions aligned to channels. The patching method supports transitioning the number of elements across the channel or from one side to another. Transitions in both directions often result in poorer quality elements and should be avoided if possible.
The patch method fills polygons that can be defined as topologic rectangles. The method may combine multiple arcs to define a single side of the patch. A bidirectional coons patching method is used to interpolate from the boundary arcs to interior nodes. Typical applications of this method include river channels and regions aligned to channels. The patching method supports transitioning the number of elements across the channel or from one side to another. Transitions in both directions often result in poorer quality elements and should be avoided if possible.


The Rectangular Patch mesh generation method requires a polygon made of exactly four arcs, '''''forming four sides'''''. However, very rarely do exactly four arcs make up a polygon. SMS provides a way to define a rectangular patch from a polygon that has more than four arcs by allowing multiple arcs to '''''act as a single patch side'''''. An example of a rectangular patch made up of four sides is shown below. Note that Side 1 and Side 2 are both made from multiple arcs. Hollow squares represent the beginning and ending points of an arc ([[SMS:Feature Objects Types|feature points]]). Filled squares represent intermediate points along the arc ([[SMS:Feature Objects Types|feature vertices]]).
The Rectangular Patch mesh generation method requires a polygon made of exactly four arcs, '''''forming four sides'''''. However, very rarely do exactly four arcs make up a polygon. SMS provides a way to define a rectangular patch from a polygon that has more than four arcs by allowing multiple arcs to '''''act as a single patch side'''''. An example of a rectangular patch made up of four sides is shown below. Note that Side 1 and Side 2 are both made from multiple arcs. Hollow squares represent the beginning and ending points of an arc ([[SMS:Feature Objects Types|feature points]]). Filled squares represent intermediate points along the arc ([[SMS:Feature Objects Types|feature vertices]]).
When creating a patch, the number of vertices on parallel arcs should be equal. Often this means aligning vertices on opposite arcs. This can be done using the [[SMS:Arcs#Redistribute_Vertices|''Redistribute Vertices'']] dialog. Using the [[SMS:Arcs#Source_Arc|"Source Arc"]] redistribution method is often preferred.


[[Image:Patch_Mesh_Polygon.jpg|none|frame|Definition of four sides for a rectangular patch]]
[[Image:Patch_Mesh_Polygon.jpg|none|frame|Definition of four sides for a rectangular patch]]


The basic process to define the meshing attributes for a polygon using the Patch method is to:
The basic process to define the meshing attributes for a polygon using the Patch method is to:
# Switch to the [[SMS:Map Module|Map Module]]
# Switch to the [[SMS:Map Module|Map module]]
# Select the menu [[SMS:Map Feature Objects Menu#General Commands|''Feature Objects'' | '''Build Polygons''']]
# Select the menu [[SMS:Map Feature Objects Menu#General Commands|''Feature Objects'' | '''Build Polygons''']]
# Switch to the [[SMS:Map Module Tools|'''Select Polygon''' tool]]
# Switch to the [[SMS:Map Module Tools|'''Select Polygon''' tool]]
# Select the polygon to set meshing attributes for
# Select the polygon to set meshing attributes for
# Select the menu [[SMS:2D Mesh Polygon Properties|''Feature Objects'' | '''Attributes''']]
# Select the menu [[SMS:2D Mesh Polygon Properties|''Feature Objects'' | '''Attributes''']]
# Set Mesh Type to ''Patch''
# Set ''Mesh Type'' to ''Patch''
# Set Bathymetry Type
# Set ''Bathymetry Type'
# Set Material Type
# Set ''Material Type''
# Set Node Options if the polygon consists of more than four arcs
# Set ''Node Options'' if the polygon consists of more than four arcs
## Switch to the [[SMS:Map Module Tools|'''Select Feature Point''' tool]] in the dialog
## Switch to the [[SMS:Map Module Tools|'''Select Feature Point''' tool]] in the dialog
## Select the node to "merge"
## Select the node to "merge"
Line 27: Line 31:
* [[SMS:Mesh Generation|Mesh Generation]]
* [[SMS:Mesh Generation|Mesh Generation]]
* [[SMS:2D Mesh Polygon Properties|2D Mesh Polygon Properties dialog]]
* [[SMS:2D Mesh Polygon Properties|2D Mesh Polygon Properties dialog]]
* [[SMS:Element Patch Workflow|Element Patch Workflow]]


== External Links ==
== External Links ==
Line 34: Line 39:
{{Template:Navbox SMS}}
{{Template:Navbox SMS}}


[[Category:SMS 2D Mesh|Mesh Generation]]
[[Category:SMS 2D Mesh|Patch]]

Latest revision as of 19:17, 8 April 2020

Patch used to define a river channel
Patch used where a culvert will be modeled

The patch method fills polygons that can be defined as topologic rectangles. The method may combine multiple arcs to define a single side of the patch. A bidirectional coons patching method is used to interpolate from the boundary arcs to interior nodes. Typical applications of this method include river channels and regions aligned to channels. The patching method supports transitioning the number of elements across the channel or from one side to another. Transitions in both directions often result in poorer quality elements and should be avoided if possible.

The Rectangular Patch mesh generation method requires a polygon made of exactly four arcs, forming four sides. However, very rarely do exactly four arcs make up a polygon. SMS provides a way to define a rectangular patch from a polygon that has more than four arcs by allowing multiple arcs to act as a single patch side. An example of a rectangular patch made up of four sides is shown below. Note that Side 1 and Side 2 are both made from multiple arcs. Hollow squares represent the beginning and ending points of an arc (feature points). Filled squares represent intermediate points along the arc (feature vertices).

When creating a patch, the number of vertices on parallel arcs should be equal. Often this means aligning vertices on opposite arcs. This can be done using the Redistribute Vertices dialog. Using the "Source Arc" redistribution method is often preferred.

Definition of four sides for a rectangular patch

The basic process to define the meshing attributes for a polygon using the Patch method is to:

  1. Switch to the Map module
  2. Select the menu Feature Objects | Build Polygons
  3. Switch to the Select Polygon tool
  4. Select the polygon to set meshing attributes for
  5. Select the menu Feature Objects | Attributes
  6. Set Mesh Type to Patch
  7. Set Bathymetry Type'
  8. Set Material Type
  9. Set Node Options if the polygon consists of more than four arcs
    1. Switch to the Select Feature Point tool in the dialog
    2. Select the node to "merge"
    3. In the Node Options combo box, change the selection to "merge"
    4. The two arcs meeting at the "merge" node will now be treated as a single arc for the mesh generation within the current polygon.
  10. Press OK to exit the dialog and save the polygon attributes


Related Topics

External Links

  • Gonzales, Darren S. (2000). An Automatic Finite Element Mesh Generation Method: the Adaptive Rectangular Coons Patch. Thesis, Brigham Young University. TA 4.02 .G6476 2000