Salome HOME
Update of CheckDone
[modules/smesh.git] / doc / salome / gui / SMESH / input / warping.rst
1 .. _warping_page: 
2
3 *******
4 Warping
5 *******
6
7 .. image:: ../images/image24.gif
8         :align: center
9
10 **Warping** indicates that a face is not planar and is applied only to
11 2D elements with 4 nodes. This quality control criterion is based on a
12 projection plane created by:
13
14 #. bisecting the four element edges,
15 #. creating a point on the plane at the vector average of the corners, where the x-axis extends from the point to the bisector on edge 2.
16
17 The plane normal is in the direction of the cross product of the
18 x-axis and the vector from the origin to the bisector of edge 3. Every
19 corner of the quad will then be a distance *h* from the plane. The
20 length of each half edge is measured and the shortest length is
21 assigned *l*. The warp angle is the arcsine of the ratio of the
22 projection height *h* to the half edge length *l*.
23
24 *To apply the Warping quality criterion to your mesh:*
25
26 .. |img| image:: ../images/image39.png
27
28 #. Display your mesh in the viewer.
29 #. Choose **Controls > Face Controls > Warping Angle** or click *"Warping angle"* button |img| of the toolbar.
30
31    Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
32
33         .. image:: ../images/image97.jpg
34                 :align: center
35
36
37 **See Also** a sample TUI Script of a :ref:`tui_warping` filter.