SMS:Boundary Triangles: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 5: Line 5:
There are several ways to select and delete long thin triangles.
There are several ways to select and delete long thin triangles.


Long thin triangles on the perimeter of the mesh can be automatically  selected using the '''Select Thin Triangles''' item from the [[SMS:2D Mesh Elements Menu|''Elements'']] menu. The triangles on the outer boundary are  checked first and if the aspect ratio of a triangle is less than a critical  value, the triangle is selected and the triangles adjacent to the triangle are  then checked. The process continues inward until none of the adjacent triangles  violate the minimum aspect ratio.
Long thin triangles on the perimeter of the mesh can be automatically  selected using the '''Select Thin Triangles''' item from the mesh [[SMS:2D Mesh Elements Menu|''Elements'']] menu or scatter ''Triangles'' menu. The triangles on the outer boundary are  checked first and if the aspect ratio of a triangle is less than a critical  value, the triangle is selected and the triangles adjacent to the triangle are  then checked. The process continues inward until none of the adjacent triangles  violate the minimum aspect ratio.


The "drag line" method for selecting elements was designed specifically for  this purpose. Elements can be selected with a line by selecting the '''Select Elements''' tool, holding  down the ''CTRL'' key, and dragging a line through all of  the elements to be selected. The selected elements can then be deleted.
The "drag line" method for selecting elements was designed specifically for  this purpose. Elements can be selected with a line by selecting the '''Select Elements''' tool, holding  down the ''CTRL'' key, and dragging a line through all of  the elements to be selected. The selected elements can then be deleted.

Revision as of 16:01, 4 August 2016

The perimeter of the mesh resulting from the triangulation process corresponds to the convex hull of the data points. This may result in some long thin triangles or "slivers" on the perimeter of the triangulated region.

Select Thin Triangles

There are several ways to select and delete long thin triangles.

Long thin triangles on the perimeter of the mesh can be automatically selected using the Select Thin Triangles item from the mesh Elements menu or scatter Triangles menu. The triangles on the outer boundary are checked first and if the aspect ratio of a triangle is less than a critical value, the triangle is selected and the triangles adjacent to the triangle are then checked. The process continues inward until none of the adjacent triangles violate the minimum aspect ratio.

The "drag line" method for selecting elements was designed specifically for this purpose. Elements can be selected with a line by selecting the Select Elements tool, holding down the CTRL key, and dragging a line through all of the elements to be selected. The selected elements can then be deleted.

SMS makes use of an aspect ratio to determine which triangles to select. Triangles with an aspect ration below a specified value will be selected when the Select Thin Triangles command is used. The aspect ration value can be changed in the Element Options dialog.

Related Links