SMS:ARR Mesh Quality Assessment Plot: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
Line 52: Line 52:


==ARR Applied to Quadrilaterals==
==ARR Applied to Quadrilaterals==
It should be noted that meshes that include quadrilateral elements do not match the theory of the ARR plot methodology as defined in the associated publications. Since ARR was derived to apply to ''triangular'' meshes, the SMS development team modified the approach to apply in some way to quadrilateral elements. It should be noted that the approach for quadrilaterals in SMS 13.1 and before was deemed to be inconsistent and was therefore modified in version 13.2 and newer. The original approach tended to ignore quadrilateral elements or give them a higher quality rating than similar triangular elements. Therefore, an ARR plot for a mesh containing quadrilaterals that was dominated by triangular elements in version 13.1 and earlier, may be dominated by quadrilateral elements in version 13.2 and later. If a uniform comparison is desired, it is suggested that the mesh which contains quadrilateral elements be duplicated and all the quads split into triangles.
It should be noted that meshes that include quadrilateral elements do not match the theory of the ARR plot methodology as defined in the associated publications. Since ARR was derived to apply to triangular meshes, the SMS development team modified the approach to apply in some way to quadrilateral elements. It should be noted that the approach for quadrilaterals in SMS 13.1 and before was deemed to be inconsistent and was therefore modified in version 13.2 and newer. The original approach tended to ignore quadrilateral elements or give them a higher quality rating than similar triangular elements. Therefore, an ARR plot for a mesh containing quadrilaterals that was dominated by triangular elements in version 13.1 and earlier, may be dominated by quadrilateral elements in version 13.2 and later. If a uniform comparison is desired, it is suggested that the mesh which contains quadrilateral elements be duplicated and all the quads split into triangles.


Originally, the application of quadrilateral elements to the ARR plot used the same interior angle limits that are applied to triangles. This ignores the fact that an ideal triangular element consists of an equilateral triangle, while an ideal quadrilateral element consists of a square. Using only the internal angle measures for the quadrilateral element resulted in almost all of these elements being considered as ''high quality'' when in fact, they could be severely skewed or stretched. Based on this inconsistency, a change was implemented to measure the quadrilaterals skew and aspect ratio. As these metrics increase the associated quality of the quadrilateral element decrease. The application of quadrilaterals to the ARR plot may be modified further since aspect ratio is not always considered a bad thing. However, this varies from engine to engine.
Originally, the application of quadrilateral elements to the ARR plot used the same interior angle limits that are applied to triangles. This ignores the fact that an ideal triangular element consists of an equilateral triangle, while an ideal quadrilateral element consists of a square. Using only the internal angle measures for the quadrilateral element resulted in almost all of these elements being considered as ''high quality'' when in fact, they could be severely skewed or stretched. Based on this inconsistency, a change was implemented to measure the quadrilaterals skew and aspect ratio. As these metrics increase the associated quality of the quadrilateral element decrease. The application of quadrilaterals to the ARR plot may be modified further since aspect ratio is not always considered a bad thing. However, this varies from engine to engine.

Revision as of 19:32, 16 June 2023

The Angle Representation Region (ARR) plot is used to assess the overall quality of a triangular mesh such as those used by ADH, ADCIRC and other numerical engines. When the plot wizard is selected, this option appears if the mesh module is enabled. Clicking finish in the Plot Wizard results in an ARR plot for the current unstructured mesh, loaded in SMS.

The plot includes the ARR region, a point for each of the lowest quality elements in the mesh (the number of points included has varied from one version of SMS to another and is currently at 200), and three contour lines (0.3 in red, 0.45 in yellow and 0.6 in green) of the currently selected element quality measure. As a general rule, elements with quality lower than 0.3 should be reviewed and improved (mesh editing) if possible.

Click on any point in the plot to see the element ID associated with that point and the six quality measure values for that element.

Once the mesh is edited in any way, update the ARR plot by right-clicking in the plot and selecting Refresh. Until this is done, the plot will continue to reflect the mesh that existed when it was generated, or most recently refreshed.

This plot is based on a paper entitled "Numerical representation of the quality measures of triangles and triangular meshes".[1] Several of the figures below are derived from this paper.

To assess the quality of a triangular mesh, such as those used by ADH or ADCIRC, the quality of each element is represented as a point based on the interior angles of that element. These interior angles are labeled α, β, and γ as shown:

Elem angles.png

Plot these three angles into an equilateral triangle.

BaryDomain.png

If ordering the three angles so that α > β > γ as shown below, all of the points will fall into the shaded portion of the equilateral triangle. This is referred to as the ARR region.

Angels ordered so that α > β > γ
The ARR region

The quality of the elements is further assessed by computing a quality measure from attributes of the triangle. These attributes include:

  • The minimum interior angle αmin(γ from previous figure).
  • The lengths of edges
  • The triangle area
  • The inner and outer radius
  • The minimum distance through the triangle (hmin)

These measures vary from 0.0 at the edges of the equilateral triangle to 1.0 at the center. The measures supported by SMS include:



The following figures show how each of these quality measures cover the ARR

Contours.png

Observation Profile Troubleshooting

If a plot will not generate or does not display significant data, it's possible that the conditions for the plot have not been set up correctly. To get a meaningful plot, take the following into account:

  • This plot requires a mesh.
  • If there are multiples meshes, make sure the correct mesh is active in the Project Explorer to get the desired data. If the correct mesh is active in the Project Explorer, and the plot still doesn't seem to represent the mesh accurately, then try right-clicking in the plot window and using the Refresh Plot command. This redraws the plot to represent the most recent information from SMS.
  • Refreshing the plot is also useful if the mesh was recently edited. The plot will refresh to show the most recent results for the active mesh.
  • This plot will only represent the quality of the triangular elements of a mesh. If there are both quadrilaterals and triangles in a mesh, then it does not necessarily accurately represent the overall quality of the mesh.

ARR Applied to Quadrilaterals

It should be noted that meshes that include quadrilateral elements do not match the theory of the ARR plot methodology as defined in the associated publications. Since ARR was derived to apply to triangular meshes, the SMS development team modified the approach to apply in some way to quadrilateral elements. It should be noted that the approach for quadrilaterals in SMS 13.1 and before was deemed to be inconsistent and was therefore modified in version 13.2 and newer. The original approach tended to ignore quadrilateral elements or give them a higher quality rating than similar triangular elements. Therefore, an ARR plot for a mesh containing quadrilaterals that was dominated by triangular elements in version 13.1 and earlier, may be dominated by quadrilateral elements in version 13.2 and later. If a uniform comparison is desired, it is suggested that the mesh which contains quadrilateral elements be duplicated and all the quads split into triangles.

Originally, the application of quadrilateral elements to the ARR plot used the same interior angle limits that are applied to triangles. This ignores the fact that an ideal triangular element consists of an equilateral triangle, while an ideal quadrilateral element consists of a square. Using only the internal angle measures for the quadrilateral element resulted in almost all of these elements being considered as high quality when in fact, they could be severely skewed or stretched. Based on this inconsistency, a change was implemented to measure the quadrilaterals skew and aspect ratio. As these metrics increase the associated quality of the quadrilateral element decrease. The application of quadrilaterals to the ARR plot may be modified further since aspect ratio is not always considered a bad thing. However, this varies from engine to engine.

References

  1. ^ Sarrate, J. , Palau, J. and Huerta, A. (2003), Numerical representation of the quality measures of triangles and triangular meshes. Communications in Numerical Methods in Engineering., 19: 551-561.[1]

Related Topics