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