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