1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
6 <title>Smoothing</title>
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
9 <link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
11 if (navigator.appName !="Netscape")
12 { document.write("<link rel='stylesheet' href='../default.css'>");}
15 <style type="text/css">
17 img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }
18 p.whs2 { margin-left:40px; }
19 img_whs3 { border:none; width:24px; height:25px; border-style:none; }
20 img_whs4 { border:none; width:332px; height:396px; float:none; border-style:none; }
21 ul.whs5 { list-style:disc; }
22 p.whs6 { margin-left:40px; font-weight:normal; }
23 p.whs7 { font-weight:bold; }
24 p.whs8 { margin-left:80px; }
25 img_whs9 { border:none; width:527px; height:281px; border-style:none; }
26 img_whs10 { border:none; float:none; width:353px; height:235px; border-style:none; }
27 img_whs11 { border:none; width:351px; height:235px; float:none; border-style:none; }
29 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
32 if (innerWidth != origWidth || innerHeight != origHeight)
35 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
36 origWidth = innerWidth;
37 origHeight = innerHeight;
43 <style type="text/css">
45 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
46 p.WebHelpNavBar { text-align:right; }
48 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
49 <script type="text/javascript" language="javascript" src="../whver.js"></script>
50 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
51 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
52 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
53 <script type="text/javascript" language="javascript1.2">
57 if (window.setRelStartPage)
59 addTocInfo("MESH module\nModifying meshes\nSmoothing");
60 addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
61 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
66 if (window.setRelStartPage)
68 setRelStartPage("../index.htm");
78 document.location.reload();
82 <body><script type="text/javascript" language="javascript1.2">
84 if (window.writeIntopicBar)
90 <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
91 corners (nodes) to reduce distortions in these elements.</p>
95 <p class=TODO>To apply smoothing to the elements of your mesh:</p>
99 <p class="whs2">1. Display a mesh or a submesh in the 3D
102 <p class="whs2">2. In the <span style="font-weight: bold;"><B>Modification
103 </B></span>menu select the <span style="font-weight: bold;"><B>Smoothing </B></span>item
104 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
105 box contains the following fields which should be specified:</span></p>
109 <p class="whs2"><img src="../pics/smoothing.png" x-maintain-ratio="TRUE" width="332px" height="396px" border="0" class="img_whs4"> </p>
111 <ul type="disc" class="whs5">
113 <li class=kadov-p><p class="whs6"><span
114 style="font-weight: bold;"><B>Id Elements </B></span>field allows to specify
115 the elements which should be smoothed by selecting them in the 3D viewer
116 (lock <span style="font-weight: bold;"><B>Shift </B></span>button to select several
119 <ul type="disc" class="whs5">
121 <li class=kadov-p><p class="whs7">Select whole mesh,
122 submesh or group - <span style="font-weight: normal;">smoothing is applied
123 to the whole mesh or its part.</span></p></li>
125 <li class=kadov-p><p><span style="font-weight: bold;"><B>Fixed nodes
126 ids</B></span>: some nodes keep their location during smoothing. If a mesh
127 is built on a geometry shape, the nodes built on geometrical edges are
128 always fixed. If smoothing is applied to a part of a mesh then the boundary
129 nodes of an elements set are also fixed. Any other nodes may be additionally
132 <li class=kadov-p><p><span style="font-weight: bold;"><B>Smoothing
133 Method</B></span>:</p></li>
135 <ul type="disc" class="whs5">
137 <li class=kadov-p><p><span style="font-weight: bold;"><B>Laplacian</B></span>
138 smoothing pulls a node toward the center of surrounding nodes directly
139 connected to that node along an element edge. Centroidal smoothing pulls
140 a node toward the element-area-weighted centroid of the surrounding elements.
141 Typically, the Laplacian method will produce the mesh with the least element
142 distortion. It is also the faster method. </p></li>
144 <li class=kadov-p><p><span style="font-weight: bold;"><B>Centroidal</B></span>
145 smoothing usually produces a mesh that has more uniform element sizes.
146 Both methods produce good results with "free" meshes.</p></li>
153 <p class="whs8"><img src="../image83.gif" width="527px" height="281px" border="0" class="img_whs9"></p>
155 <ul type="disc" class="whs5">
157 <li class=kadov-p><p class="whs6"><span
158 style="font-weight: bold;"><B>Iteration limit: </B></span>both of the smoothing
159 methods use an iterative procedure to converge toward a smoothed mesh.
160 All nodes are smoothed according to one of the techniques shown above.
161 Then the smoothing is reevaluated with the updated nodal locations. This
162 process continues until the maximum number of iterations has been exceeded,
163 or all elements has aspect ratio less or equal than the specified one.</p></li>
165 <li class=kadov-p><p class="whs6"><span
166 style="font-weight: bold;"><B>Max. aspect ratio</B></span>.</p></li>
169 <p class="whs2"> </p>
171 <p class="whs2">3. Click the <span style="font-weight: bold;"><B>Apply
172 </B></span>or <span style="font-weight: bold;"><B>OK </B></span>button to confirm
175 <p class="whs2"> </p>
177 <p class="whs2"><img src="../pics/smoothing1.png" x-maintain-ratio="TRUE" width="353px" height="235px" border="0" class="img_whs10"> <img src="../pics/smoothing2.png" x-maintain-ratio="TRUE" width="351px" height="235px" border="0" class="img_whs11"></p>
181 <p> <span style="font-weight: bold;"><B>See
182 Also</B></span> a sample TUI Script of a <a href="../modifying_meshes.htm#bookmark8">Smoothing</a>
183 operation. </p>
189 <script type="text/javascript" language="javascript1.2">
191 if (window.writeIntopicBar)