Element Quality

The element quality tool is accessible from the Viewport Display Controls and allows you to quickly generate plots that color code elements based upon calculation of different quality metrics.

The spectrum shown for the element quality checks has four segments. The red, Invalid, segment indicates elements whose values exceed the default solver metric for a given test. The orange, BAD, segment is used to indicate a range of quality metrics that will still run through the solver but are worse than a moderate threshold value. The yellow, POOR, segment is used to indicate a range of quality metrics that are between the moderate threshold and the good range. The green, GOOD, segment indicates a range of quality metrics that are considered to be good. 

The four segment spectrum shown above requires the definition of four range values for each metric. These range values include the “Top”, “Bottom” “Acceptable threshold” and “Marginal threshold” values. Values beyond the "Top" value are considered Invalid.

 

Fringe Plot Range Display

By right clicking on a range in the quality plot, you can access visibility controls from the contextual menu. This allows you to only show the elements with questionable quality, and then you can proceed to automatically enhance the elements that are shown.

Grow 2D Mesh

By clicking the Grow 2D Mesh icon in the Viewport Display Controls, you can show elements adjacent to those already displayed. This process may be repeated to display additional elements.

 

Isolate and Enhance

MSC Apex allows you to control only the visibility of elements on the targeted element quality segment. The “Isolate and enhance” command is available from the contextual menu for a quality range in the mesh quality check tool spectrum bar.  

Choosing this option displays only the elements in the selected quality range, and in doing so creates "globs" of contiguous elements which have the selected quality values.  When the globs are isolated, their data is populated in the Element Quality tab of the Model Browser.

Element Quality Tab

The Element Quality Tab appears in the Model Browser and is populated when an "Isolate and Enhance" element quality operation is performed. 

There are two panels in the Element Quality Tab: Metrics and Globs.  The Metrics panel displays element quality tests and their resulting values for the isolated elements.  The Globs panel lists the distinct contiguous meshed regions that fall within the selected quality range.  For each glob, the associated quality result, part, and number of elements are displayed.  You may sort by any of these columns.  You may also toggle the visibility of each glob individually.

There are two checkboxes at the top of the Element Quality tab: Maintain Isolation and Zoom To.

Maintain Isolation - This check box controls whether Apex shows the entire check region or the previously isolated globs. If the user turns on this option, the globs and geometry (in wireframe) visibility shall stay on, and the rest of the check region shall be turned off. If the user turns off this option, the element quality of the entire check region will be on, and geometry will be displayed in wireframe. The default setting of the Maintain Isolation option is on.

Zoom to – This check box enables automatic zooming to a selected glob. Once this box is checked, when the user selects a glob on the tab, the 3D viewport will zoom to this glob. Each glob the user isolates will have a row in this tab. When a glob is fixed, it shall be removed from the tab, and the application will move on to the next glob in the tab and zoom to this glob on the 3D viewport. If this box is unchecked, the user will have to manually navigate through the globs.

 

Dimensionality Checks

MSC Apex allows you to perform quality checks based on element length for 2-D elements. For these tests, you will be asked to enter an average element length against which the checks will be performed. To access the dimensionality checks, select the Dimensionality tab with the element type set to 2D:

The following dimensional checks are available:

  • Min Length
  • Max Length
  • Length Degeneracy
  • Angle Degeneracy

In addition, buttons are available to fix Length or Angle Degeneracy by merging nodes to collapse the shortest element edge.

To fix a degeneracy issue, first enter a value below which to detect short element edges:

Then click Fix to collapse the shortest element edge of the detected elements:

 

Quality Index

This plot displays a weighted average of element quality criteria based on values and weighting factors the user defines. By clicking the icon to edit Element Quality Parameters, you may open the Application Settings for Meshing Element Quality Parameters to define the boundary values for each range.

A set of MSC Factory Default Settings is provided by default, but you may create a new set and modify the values as you wish. You may save custom sets of values and choose which one to use at any time. 

To define a weighting factor for each test, click the icon to the right of the Quality Index to access the Quality Index Parameters, where you can select which criteria to use and specify a weighting factor for each. Note that the range values are not editable, since they were specified earlier in the Application Settings form.

Element Quality Tests

The element quality tests used are the same as those used by the MSC Nastran solver, so elements which are colored green and yellow will pass solver quality checks. More information on each test is provided below:

Warpage Angle

Warpage in two-dimensional elements is calculated by splitting a quad into two trias and finding the angle between the two planes which the trias form. The quad is then split again, this time using the opposite corners and forming the second set of trias. The angle between the two planes which the trias form is then found. The maximum angle found between the planes is the warpage angle of the element. The warpage is not relevant for triangular elements or the faces of tetrahedral elements.

For the Warpage Angle metric, the critical range values are shown in the table below.

Range

Value

Top

15o

Upper threshold

10o

Lower threshold

5o

Bottom

0

Warpage Factor

Warpage Factor in two-dimensional elements is defined to be the distance of the corner points of the element to the mean plane of the grid points divided by the average of the element diagonal lengths. For flat elements (such that all of the grid points lie in a plane), this factor is zero.

For the Warpage Factor metric, the critical range values are shown in the table below.

Range

Value

Top

0.07

Upper threshold

0.02

Lower threshold

0.01

Bottom

0

Aspect Ratio

Aspect Ratio is defined, for ell elements except triangular elements, to be the ratio of the longest edge of an element to the shortest edge of an element. It is not relevant for 0-D or 1-D elements. For triangular elements, the aspect ratio is one-half  the ratio of the radius of the circumscribed circle to the radius of the inscribed circle

For the aspect ratio metric, the critical range values are shown in the table below.

Range

Value

Top

20

Upper threshold

5

Lower threshold

3

Bottom

1

Jacobian

Jacobian measures the deviation of an element from its ideal shape, such as a triangle’s deviation from equilateral or a quadrilateral’s from a square. Using the determinant of the Jacobian directly causes a wide spread in typical values dependent on element size; therefore, the use of the Jacobian ration is preferred. The Jacobian ratio is calculated by inspecting the determinant of the Jacobian of the stiffness matrix at each of the Gauss points in the target element and calculating the ratio of the smallest valued divided by the largest value. A single ratio is calculated for each element.

The table below shows the range values for the Jacobian ratio metric.

Range

Value

Top

0

Upper threshold

0.5

Lower threshold

0.7

Bottom

1

Quad Skew

Skew angle is defined to be (90 – α) for quadrilaterals, where α for a quadrilateral element is the angle between the lines that join midpoints of the opposite sides of the quadrilateral.  Skew does not support 3D elements.

For the quad skew metric, the critical range values are shown in the table below.

Range

Value

Top

80

Upper threshold

60

Lower threshold

30

Bottom

0

Tria Skew

Skew angle is defined to be (60- α) for triangular elements, where α for a triangular element is defined to be the smallest angle at any of the three vertices.  Skew does not support 3D elements.

For the tria skew metric, the critical range values are shown in the table below.

Range

Value

Top

50

Upper threshold

30

Lower threshold

10

Bottom

0

Internal Angles

Internal angle metrics calculate the maximum and minimum angles that exist at the corners of each element. Since the allowable values are different for both maximum and minimum and between triangle and quadrilaterals, the application provides four separate metrics.

Quadrilateral Maximum Internal Angle

Range

Value

Top

175o

Upper threshold

140o

Lower threshold

110o

Bottom

90o

Quadrilateral Minimum Internal Angle

Range

Value

Top

5o

Upper threshold

40o

Lower threshold

70o

Bottom

90o

Tria Maximum Internal Angle

Range

Value

Top

175o

Upper threshold

120o

Lower threshold

80o

Bottom

60o

Tria Minimum Internal Angle

Range

Value

Top

5o

Upper threshold

20o

Lower threshold

45o

Bottom

60o

 

Taper

Taper ratio for the quadrilateral element is defined to be the absolute value of [the ratio of the area of the triangle formed at each corner grid point to one half the area of the quadrilateral minus 1.0]. The largest of the four ratios is compared against the tolerance value. Note that as the ratio approaches 0.0, the shape approaches a rectangle. Taper metrics are only applicable to quadrilateral elements and the free faces of hexahedral elements.

For the Taper metric, the critical range values are shown in the table below.

Range

Value

Top

0.8

Upper threshold

0.6

Lower threshold

0.3

Bottom

0

 

In addition to the above quality elements, the following quality indices are available for 3D mesh.

 

Collapse

This is calculated for tetra element only, the algorithm is: First calculate the ratio between vertical height and area, then find the minimum value of all four faces, the smallest value divided by 1.24. The collapse for a perfect tet is 1.0.

 

Face Warp

This is to calculate the face warping angle, the algorithm is similar to 2D mesh. Here, the solver needs the face warping coefficient, the cosine of the angle formed between the normal vectors located at diagonally opposite corner points on each face surface. This value is 1.0 for a face where all four corners lie in a plane. For user’s convenience, this quality item is turned into Face Warp angle, so that user is more intuitive for the element warping condition.

 

Face Skew

Like 2D skew, Face Skew is to evaluate the facets on the solid element.

 

Volume Skew

Assuming the volume of a perfect tet element is V0 , then for a non-perfect tet element (volume is V), the Volume Skew = (V0 - V) / V0 , the skew of a perfect tet element is 0.

 

Quad / Tria / Penta Face (Max/Min) Angle

This is the interior angles of the quadrilateral faces on hex/penta element, the algorithm is similar to 2D mesh.

 

Auto Enhancement

An option is available to Automatically Enhance the displayed elements to improve their quality. The boundaries of the displayed elements are maintained, so the enhanced elements will still be congruent with the hidden elements. Options are available to control the Automatic Enhancement, and they are accessible by clicking the Enhancement Parameters button.


Click here to access the starting part file to import for this tutorial.

Element quality plots and enhancement.