22.2.4. Quality Measure

To specify the quality measure (skewness, aspect ratio, change in size, and so on), use the Quality Measure dialog box. The default quality measure is skewness.

Report > Quality Measure...

Mesh quality is determined by the following quality measures:

Skewness

Skewness is one of the primary quality measures for a mesh. Skewness determines how close to ideal (that is, equilateral or equiangular) a face or cell is:

Figure 22.1:  Ideal and Skewed Triangles and Quadrilaterals

Ideal and Skewed Triangles and Quadrilaterals

The following table lists the range of skewness values and the corresponding cell quality.

Table 22.1:  Skewness Ranges and Cell Quality

Skewness

Cell Quality

1

degenerate

0.9–<1

bad (sliver)

0.75–0.9

poor

0.5–0.75

fair

0.25–0.5

good

>0–0.25

excellent

0

equilateral


According to the definition of skewness, a value of 0 indicates an equilateral cell (best quality) and a value of 1 indicates a completely degenerate cell. Degenerate cells (slivers) are characterized by nodes that are nearly coplanar. Cells with a skewness value above 1 are invalid.

Highly skewed faces and cells should be avoided because they can lead to less accurate results than when relatively equilateral/equiangular faces and cells are used.

Two methods for measuring skewness are:

  • Based on the equilateral volume (applies only to tetrahedra).

  • Based on the deviation from a normalized equilateral angle. This method applies to all cell and face shapes, such as pyramids and prisms.

The default skewness method for tetrahedra is the equilateral volume method, but you can change to the angle deviation method using the Quality Measure dialog box.

Equilateral-Volume-Based Skewness

In the equilateral volume deviation method, skewness is defined as

(22–1)

where, the optimal cell size is the size of an equilateral cell with the same circumradius.

In 3D meshes, most cells should be rated good or better, but a small percentage will generally be in the fair range and there are usually even a few poor cells. The presence of poor cells can indicate poor boundary node placement. You should try to improve your boundary mesh as much as possible because the quality of the overall mesh can be no better than that of the boundary mesh.

Normalized Equiangular Skewness

In the normalized angle deviation method, skewness is defined (in general) as

(22–2)

where

= largest angle in the face or cell

= smallest angle in the face or cell

= angle for an equiangular face/cell (such as 60 for a triangle, 90 for a quad, and so on)

The cell skewness will be the maximum skewness computed for any face. For example, an ideal pyramid (skewness = 0) is one in which the 4 triangular faces are equilateral (and equiangular) and the quadrilateral base face is a square. The guidelines in Table 22.1: Skewness Ranges and Cell Quality apply to the normalized equiangular skewness as well.

Size Change

Size change is the ratio of the area (or volume) of a face (or cell) in the geometry to the area (or volume) of each neighboring face (or cell). This ratio is calculated for every face (or cell) in the domain. The minimum and maximum values are reported for the selected zones.

Edge Ratio

The edge ratio is defined as the ratio of maximum length of the edge of the element to the minimum length of the edge of the element.

By definition, edge ratio is always greater than or equal to 1. The higher the value of the edge ratio, the less regularly shaped is its associated element. For equilateral element shapes, the edge ratio is always equal to 1.

Aspect Ratio

The aspect ratio of a face or cell is the ratio of the longest edge length to the shortest edge length. The aspect ratio applies to triangular, tetrahedral, quadrilateral, and hexahedral elements and is defined differently for each element type.

The aspect ratio can also be used to determine how close to ideal a face or cell is.

  • For an equilateral face or cell (such as an equilateral triangle, a square, and so on), the aspect ratio is 1.

  • For less regularly-shaped faces or cells, the aspect ratio will be greater than 1 as the edges differ in length.

  • For triangular faces and tetrahedral cells and for pyramids, you can usually focus on improving the skewness, and the smoothness and aspect ratio will consequently be improved as well.

  • For prisms, it is important to check the aspect ratio and/or the change in size in addition to the skewness, because it is possible to have a large jump in cell size between two cells with low skewness or a high-aspect-ratio low-skew cell.

Squish

Squish is a measure used to quantify the non-orthogonality of a cell with respect to its faces. It is defined as follows:

(22–3)

where

A = face unit area vector

= the vector connecting the adjacent cell centroids (for face squish) or the cell and face centroid (for cell squish)

Warp (Quadrilateral Elements only)

Face warp applies only to quadrilateral elements and is defined as the variation of normals between the two triangular faces that can be constructed from the quadrilateral face. The actual value is the maximum of the two possible ways triangles can be created.

Mathematically, it is expressed as follows:

(22–4)

where

= the deviation from a best-fit plane that contains the element

, = the lengths of the line segments that bisect the edges of the element

The value of face warp ranges between 0 and 1. A value of 0 specifies an equilateral element and a value of 1 specifies a highly skewed element.

Dihedral Angle

Dihedral angle applies only to faces and not cells. The dihedral angle is defined as the angle between the normals of adjacent faces. This quality measure is useful in locating sharp corners in complicated geometries. The dihedral angle value ranges from 0–180.

ICEM CFD Quality

The ICEM CFD quality measure calculates element quality based on the quality values in ANSYS ICEM CFD. This measure is only available for cells, not faces.

  • Tetrahedra: The quality is calculated as the skewness of the tetrahedral element.

    The remaining quality values are based on various quality metrics computed in ANSYS ICEM CFD.

    Quality = 1 - ANSYS ICEM CFD Quality

  • Hexahedra: The quality is based on the Determinant, Max Orthogls, and Max Warpgls metrics in ANSYS ICEM CFD.

    • The determinant is the ratio of the smallest and the largest determinant of the Jacobian matrices, where a Jacobian matrix is computed at each node of the element.

    • The max orthogls metric calculates the maximum deviation of the internal angles of the element from 90 degrees. Angles between 180 and 360 degrees (deviation up to 270 degrees) will also be considered.

    • The warp for each face is calculated as the maximum angle between the triangles connected at the diagonals of the face. The max warpgls metric is calculated as the maximum warp of the faces comprising the element.

    These values are normalized and the minimum value of the three normalized diagnostics will be used.

  • Pyramids: The quality is based on the Determinant computed in ANSYS ICEM CFD.

    The determinant is the ratio of the smallest and the largest determinant of the Jacobian matrices, where a Jacobian matrix is computed at each node of the element.

  • Prisms: The quality is based on the Determinant and Warp computed in ANSYS ICEM CFD.

    • The determinant is the ratio of the smallest and the largest determinant of the Jacobian matrices, where a Jacobian matrix is computed at each node of the element.

    • The warp for each face is calculated as the maximum angle between the respective edges and a plane containing the mid-points of the edges comprising the face. The warp for the element is then calculated as the maximum warp of the faces comprising the element.

    The quality is calculated as the minimum of the determinant and warp.

For further details on the quality measures available in ANSYS ICEM CFD, refer to the ANSYS ICEM CFD Help Manual.

The range of quality values reported is between 0-2 (the range in ANSYS ICEM CFD is -1 to 1, and a value of 2 corresponds to -1 in ANSYS ICEM CFD, 1 to 0, and 0 to 1, respectively). A value of 0 indicates a perfect, non-distorted element, 1 indicates a degenerate element, and values above 1 indicate an invalid element (such as concave, dihedral angle > 180 degree, or negative volume elements).

Ortho Skew

The ortho skew quality for a cell is computed using the face normal vector, for each face; the vector from the cell centroid to the centroid of each of the adjacent cells, ; and the vector from the cell centroid to the centroid of each face, . Figure 22.2: Vectors Used to Compute Ortho Skew/Inverse Orthogonal Quality for a Cell illustrates the vectors used to determine the ortho skew quality for a cell.

Figure 22.2:  Vectors Used to Compute Ortho Skew/Inverse Orthogonal Quality for a Cell

Vectors Used to Compute Ortho Skew/Inverse Orthogonal Quality for a Cell

For each face , the calculation first finds the value of (1 - the cosine of the angle between the face normal vector and the corresponding vector from the centroid of the cell to the centroid of that face):

(22–5)

Next, for each face , the calculation finds the value of (1 - the cosine of the angle between the face normal vector and the corresponding vector from the centroid of the cell to the centroid of the adjacent cell that shares that face):

(22–6)

The reported Ortho Skew quality for a cell then depends on the cell type:

  • For most cells, Ortho Skew is the maximum of the above quantities computed for each face.

  • For pyramid cells, Ortho Skew is the maximum of the cell skewness and the above quantities computed for each face.


Note:
  • When the cell is located on the boundary, the vector across the boundary face is ignored during the quality computation.

  • When the cell is separated from the adjacent cell by an internal wall, the vector across the internal boundary face is ignored during the quality computation.

  • When the adjacent cells share a parent-child relation, the vector is the vector from the cell centroid to the centroid of the child face while the vector is the vector from the cell centroid to the centroid of the adjacent child cell sharing the child face.


The ortho skew quality for faces is similarly computed using the edge normal vector, , and the vector from the face centroid to the centroid of each edge, . Figure 22.3: Vectors Used to Compute Ortho Skew Quality for a Face illustrates the vectors used to determine the ortho skew quality for a face.

Figure 22.3:  Vectors Used to Compute Ortho Skew Quality for a Face

Vectors Used to Compute Ortho Skew Quality for a Face

The ortho skew for a face is the maximum of the computed values for (1 - the cosine of the angle between the edge normal vector and the vector from the centroid of the face to the centroid of the edge), for each edge :

(22–7)

Fluent Aspect Ratio

The Fluent aspect ratio is a measure of the stretching of a cell. It is computed as the ratio of the maximum value to the minimum value of any of the following distances: the normal distances between the cell centroid and face centroids, and the distances between the cell centroid and nodes. For a unit cube (see Figure 22.4: Calculating the Fluent Aspect Ratio for a Unit Cube), the maximum distance is 0.866, and the minimum distance is 0.5, so the aspect ratio is 1.732. This type of definition can be applied on any type of mesh, including polyhedral.

Figure 22.4:  Calculating the Fluent Aspect Ratio for a Unit Cube

Calculating the Fluent Aspect Ratio for a Unit Cube

Inverse Orthogonal Quality

The inverse orthogonal quality for a cell is computed using the face normal vector, for each face; the vector from the cell centroid to the centroid of each of the adjacent cells, ; and the vector from the cell centroid to the centroid of each face, (see Figure 22.2: Vectors Used to Compute Ortho Skew/Inverse Orthogonal Quality for a Cell). For each face, the cosines of the angle between and , and between and are calculated. The smallest calculated cosine value is the orthogonality of the cell. Then, inverse orthogonality is found by subtracting this cosine value from 1.

Finally, Inverse Orthogonal Quality depends on cell type:

  • For tetrahedral, prism, and pyramid cells, Inverse Orthogonal Quality is the maximum of the cell skewness and the inverse orthogonality.

  • For hexahedral and polyhedral cells, Inverse Orthogonal Quality is the same as the inverse orthogonality.

The worst cells will have an Inverse Orthogonal Quality closer to 1 and the best cells will have an Inverse Orthogonal Quality closer to 0.


Note:  

Inverse Orthogonal Quality = 1 - Orthogonal Quality

Orthogonal Quality can be reported using the Quality option in the ribbon or the Report Quality button in the General task page in solution mode (refer to Mesh Quality for details).



Release 18.2 - © ANSYS, Inc. All rights reserved.