smesh/doc/gui/input/aspect_ratio.rst

34 lines
1.1 KiB
ReStructuredText
Raw Normal View History

2017-12-08 19:09:48 +05:00
.. _aspect_ratio_page:
************
Aspect Ratio
************
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).
* The **Aspect Ratio** of a **triangle** 2D element consisting of 3 nodes is calculated by the formula:
.. image:: ../images/formula4.png
:align: center
* 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:
.. image:: ../images/formula5.png
:align: center
2018-05-25 22:04:48 +05:00
*To apply the Aspect Ratio quality criterion to your mesh:*
.. |img| image:: ../images/image37.png
2017-12-08 19:09:48 +05:00
#. Display your mesh in the viewer.
2018-05-25 22:04:48 +05:00
#. Choose **Controls > Face Controls > Aspect Ratio** or click *Aspect Ratio* button |img| in the toolbar.
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
2017-12-08 19:09:48 +05:00
.. image:: ../images/image94.jpg
:align: center
2018-05-25 22:04:48 +05:00
**See Also** a sample TUI Script of an :ref:`tui_aspect_ratio` filter.