Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/smesh.git] / doc / salome / gui / SMESH / input / smoothing.doc
1 /*!
2
3 \page smoothing_page Smoothing
4
5 \n Smoothing is used to adjust the locations of element corners
6 (nodes) to reduce distortions in these elements.
7
8 <em>To apply smoothing to the elements of your mesh:</em>
9 <ol>
10 <li>Display a mesh or a submesh in the 3D viewer.</li>
11 <li>In the \b Modification menu select the \b Smoothing item or click
12 <em>"Smoothing"</em> button in the toolbar.
13
14 \image html image84.gif
15 <center><em>"Smoothing" button</em></center>
16
17 The dialog box contains the following fields which should be
18 specified:
19
20 \image html smoothing.png
21
22 <ul>
23 <li><b>Id Elements</b> field allows to specify the elements which
24 should be smoothed by selecting them in the 3D viewer (lock \b Shift
25 button to select several elements).</li>
26 <li><b>Select whole mesh, submesh or group</b> - smoothing is applied
27 to the whole mesh or its part.</li>
28 <li><b>Fixed nodes ids:</b> some nodes keep their location during
29 smoothing. If a mesh is built on a geometry shape, the nodes built on
30 geometrical edges are always fixed. If smoothing is applied to a part
31 of a mesh then the boundary nodes of an elements set are also
32 fixed. Any other nodes may be additionally fixed.</li>
33 <li><b>Smoothing Method:</b>
34 <ul>
35 <li>\b Laplacian smoothing pulls a node toward the center of
36 surrounding nodes directly connected to that node along an element
37 edge. 
38 <li>\b Centroidal smoothing pulls a node toward the
39 element-area-weighted centroid of the surrounding elements. </li>
40
41 Typically, the  Laplacian method will produce the mesh with the least element
42 distortion. It is also the faster method.Centroidal smoothing usually
43 produces  a mesh that has more uniform element sizes. Both methods
44 produce good results with "free" meshes.</li>
45 </ul>
46
47 \image html image83.gif
48
49 </li>
50 <li><b>Iteration limit:</b> both of the smoothing methods use an
51 iterative procedure to converge toward a smoothed mesh. All nodes are
52 smoothed according to one of the techniques shown above. Then the
53 smoothing is reevaluated with the updated nodal locations. This
54 process continues until the maximum number of iterations has been
55 exceeded, or all elements has aspect ratio less or equal than the
56 specified one.</li>
57 <li><b>Max. aspect ratio</b> allows to define the quality at which the
58 smoothing algorithm should stop the iterations as the target of the
59 operation has been reached.</li>
60 <li>When <b>in parametric space</b> radio button is checked, the
61 algorithm tries to improve the shape of faces in the parametric space
62 of geometrical surfaces on which they are generated, else the shape of
63 faces in the 3D space is improved. </li>   
64 </ul>
65
66 </li>
67 <li>Click the \b Apply or \b OK button to confirm the operation.</li>
68 </ol>
69
70 \image html smoothing1.png
71
72 \image html smoothing2.png
73
74 <br><b>See Also</b> a sample TUI Script of a 
75 \ref tui_smoothing "Smoothing" operation.  
76
77 */