Salome HOME
0023546: [EDF] AsterStudy: add a method to Python API to show/hide orientation vector...
[modules/smesh.git] / doc / salome / gui / SMESH / input / aspect_ratio.rst
1 .. _aspect_ratio_page: 
2
3 ************
4 Aspect Ratio
5 ************
6
7 The **Aspect Ratio** quality criterion for mesh elements reveals the degree of conformity of a mesh element to the regular element of its type (with all edges having the same length).
8   
9
10 * The **Aspect Ratio** of a **triangle** 2D element consisting of 3 nodes is calculated by the formula:
11
12         .. image:: ../images/formula4.png
13                 :align: center
14
15 * The **Aspect Ratio** of a **quadrangle** 2D element consisting of 4 nodes is calculated using The Verdict Geometric Quality Library available within VTK. The calculation formula is:
16
17         .. image:: ../images/formula5.png
18                 :align: center
19
20 **To apply the Aspect Ratio quality criterion to your mesh:**
21
22 #. Display your mesh in the viewer.
23 #. Choose **Controls > Face Controls > Aspect Ratio** or click  **Aspect Ratio** button in the toolbar.
24                          
25    
26         .. image:: ../images/image37.png
27                 :align: center
28
29         .. centered::
30                 Aspect Ratio button
31
32         Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
33
34         .. image:: ../images/image94.jpg
35                 :align: center
36
37
38 **See Also** a sample TUI Script of an :ref:`tui_aspect_ratio` operation.
39
40