Salome HOME
Fix for problem: SIGSEGV appears if to select group after opening "Edit Group" dialog...
[modules/smesh.git] / doc / salome / gui / SMESH / files / smoothing.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <!--(==============================================================)-->\r
6 <!--(Document created with RoboEditor. )============================-->\r
7 <!--(==============================================================)-->\r
8 \r
9 <head>\r
10 \r
11 <title>Smoothing</title>\r
12 \r
13 <!--(Meta)==========================================================-->\r
14 \r
15 <meta http-equiv=content-type content="text/html; charset=windows-1252">\r
16 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">\r
17 <meta name=generator-major-version content=0.1>\r
18 <meta name=generator-minor-version content=1>\r
19 <meta name=filetype content=kadov>\r
20 <meta name=filetype-version content=1>\r
21 <meta name=page-count content=1>\r
22 <meta name=layout-height content=1451>\r
23 <meta name=layout-width content=740>\r
24 \r
25 \r
26 <!--(Links)=========================================================-->\r
27 \r
28  <link rel='stylesheet' href='../default_ns.css'>\r
29 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
30 <!--\r
31 if (navigator.appName !="Netscape")\r
32 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
33 //-->\r
34 </script>\r
35 <style type="text/css">\r
36 <!--\r
37 img_whs1 {border-style: none; border: none; width: 30px; height: 30px; float: none;}\r
38 p.whs2 {margin-left: 40px;}\r
39 img_whs3 {border-style: none; border: none; width: 24px; height: 25px;}\r
40 img_whs4 {border-style: none; border: none; width: 319px; height: 369px;}\r
41 ul.whs5 {list-style: disc;}\r
42 p.whs6 {margin-left: 40px; font-weight: normal;}\r
43 p.whs7 {font-weight: bold;}\r
44 p.whs8 {margin-left: 80px;}\r
45 img_whs9 {border-style: none; border: none; width: 527px; height: 281px;}\r
46 -->\r
47 </style>\r
48 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
49 <!--\r
50 function reDo() {\r
51   if (innerWidth != origWidth || innerHeight != origHeight)\r
52      location.reload();\r
53 }\r
54 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
55         origWidth = innerWidth;\r
56         origHeight = innerHeight;\r
57         onresize = reDo;\r
58 }\r
59 onerror = null; \r
60 //-->\r
61 </script>\r
62 <style type="text/css">\r
63 <!--\r
64   div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
65 -->\r
66 </style>\r
67 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
68 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
69 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
70 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
71 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
72 </head>\r
73 \r
74 <!--(Body)==========================================================-->\r
75 \r
76 \r
77 <body>\r
78 \r
79 <script type="text/javascript" language="javascript1.2">\r
80 <!--\r
81 if (window.gbWhTopic)\r
82 {\r
83         if (window.addTocInfo)\r
84         {\r
85         addTocInfo("SMESH module\nModifying meshes\nSmoothing");\r
86 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
87 \r
88         }\r
89         if (window.writeBtnStyle)\r
90                 writeBtnStyle();\r
91 \r
92         if (window.writeIntopicBar)\r
93                 writeIntopicBar(1);\r
94 \r
95         if (window.setRelStartPage)\r
96         {\r
97         setRelStartPage("../smesh.htm");\r
98 \r
99                 autoSync(0);\r
100                 sendSyncInfo();\r
101                 sendAveInfoOut();\r
102         }\r
103 }\r
104 else\r
105         document.location.reload();\r
106 //-->\r
107 </script>\r
108 <h1>Smoothing</h1>\r
109 \r
110 <p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> Smoothing is used to adjust the locations of element \r
111  corners (nodes) to reduce distortions in these elements.</p>\r
112 \r
113 <p>&nbsp;</p>\r
114 \r
115 <p class=TODO>To apply smoothing to the elements of your mesh:</p>\r
116 \r
117 <p class=TODO>&nbsp;</p>\r
118 \r
119 <p class="whs2">1. Display a mesh or a submesh in the 3D \r
120  viewer.</p>\r
121 \r
122 <p class="whs2">&nbsp;</p>\r
123 \r
124 <p class="whs2">2. In the <span style="font-weight: bold;"><B>Modification \r
125  </B></span>menu select the <span style="font-weight: bold;"><B>Smoothing </B></span>item \r
126  or click <img src="../image84.gif" width="24px" height="25px" border="0" class="img_whs3"> button in the toolbar. The following dialog box \r
127  will appear:</p>\r
128 \r
129 <p>&nbsp;</p>\r
130 \r
131 <p class="whs2"><img src="../image85.gif" width="319px" height="369px" border="0" class="img_whs4"></p>\r
132 \r
133 <p class="whs2">&nbsp;</p>\r
134 \r
135 <p class="whs2">This dialog box contains the following fields \r
136  which should be specified:</p>\r
137 \r
138 <p>&nbsp;</p>\r
139 \r
140 <ul type="disc" class="whs5">\r
141         \r
142         <li class=kadov-p><p class="whs6"><span \r
143  style="font-weight: bold;"><B>Id Elements </B></span><span>field allows to specify \r
144  the elements which should be smoothed by selecting them in the 3D viewer. \r
145  Note: to select several elements press </span><span style="font-weight: bold;"><B>Shift \r
146  </B></span><span>button.</span></p></li>\r
147         \r
148         <ul type="disc" class="whs5">\r
149                 \r
150                 <li class=kadov-p><p class="whs7">Smoothing is applied \r
151  to the whole mesh or its part</p></li>\r
152                 \r
153                 <li class=kadov-p><p><span style="font-weight: bold;"><B>Fixed nodes \r
154  ids</B></span>: some nodes keep their location during smoothing. If a mesh \r
155  is built on a geometry shape, the nodes built on geometrical edges are \r
156  always fixed. If smoothing is applied to a part of a mesh then the boundary \r
157  nodes of an elements set are also fixed. Any other nodes may be additionally \r
158  fixed.</p></li>\r
159                 \r
160                 <li class=kadov-p><p>&nbsp;</p></li>\r
161                 \r
162                 <li class=kadov-p><p><span style="font-weight: bold;"><B>Smoothing \r
163  method</B></span>:</p></li>\r
164                 \r
165                 <ul type="disc" class="whs5">\r
166                         \r
167                         <li class=kadov-p><p><span style="font-weight: bold;"><B>Laplacian</B></span> \r
168  smoothing pulls a node toward the center of surrounding nodes directly \r
169  connected to that node along an element edge. Centroidal smoothing pulls \r
170  a node toward the element-area-weighted centroid of the surrounding elements. \r
171  Typically, the Laplacian method will produce the mesh with the least element \r
172  distortion. It is also the faster method. </p></li>\r
173                         \r
174                         <li class=kadov-p><p><span style="font-weight: bold;"><B>Centroidal</B></span> \r
175  smoothing usually produces a mesh that has more uniform element sizes. \r
176  Both methods produce good results with &quot;free&quot; meshes.</p></li>\r
177                 </ul>\r
178         </ul>\r
179 </ul>\r
180 \r
181 <p class="whs8"><img src="../image83.gif" width="527px" height="281px" border="0" class="img_whs9"></p>\r
182 \r
183 <ul type="disc" class="whs5">\r
184         \r
185         <li class=kadov-p><p class="whs6"><span \r
186  style="font-weight: bold;"><B>Iteration limit: </B></span>both of the smoothing \r
187  methods use an iterative procedure to converge toward a smoothed mesh. \r
188  All nodes are smoothed according to one of the techniques shown above. \r
189  Then the smoothing is reevaluated with the updated nodal locations. This \r
190  process continues until the maximum number of iterations has been exceeded, \r
191  or all elements has aspect ratio less or equal than the specified one.</p></li>\r
192         \r
193         <li class=kadov-p><p class="whs6"><span \r
194  style="font-weight: bold;"><B>Max. aspect ratio</B></span>.</p></li>\r
195 </ul>\r
196 \r
197 <p class="whs2">&nbsp;</p>\r
198 \r
199 <p class="whs2">3. Click the <span style="font-weight: bold;"><B>Apply \r
200  </B></span>or <span style="font-weight: bold;"><B>OK </B></span>button to confirm \r
201  the operation.</p>\r
202 \r
203 <p>&nbsp;</p>\r
204 \r
205 <p>&nbsp;</p>\r
206 \r
207 <p>&nbsp;</p>\r
208 \r
209 <script type="text/javascript" language="javascript1.2">\r
210 <!--\r
211 if (window.writeIntopicBar)\r
212         writeIntopicBar(0);\r
213 //-->\r
214 </script>\r
215 </body>\r
216 \r
217 </html>\r