# Aspect Ratio

The Aspect Ratio quality criterion for mesh elements is defined as follows:

- For a triangle 2D element consisting of 3 nodes the Aspect Ratio is calculated by formula:

  where :

- For a quadrangle 2D element consisting of 4 nodes the Aspect Ratio is the quality of the worst triange which can be built taking three nodes of the quadrangle. There are four triangles to consider:

To apply the Aspect Ratio quality criterion to your mesh:

1. Display your mesh in the viewer.

2. Choose Controls > Aspect Ratio or click button in the toolbar. Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:

See Also a sample TUI Script of an Aspect Ratio quality control operation.