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