2008-02-11 20:08:07 +05:00
|
|
|
/*!
|
|
|
|
|
|
|
|
\page smoothing_page Smoothing
|
|
|
|
|
|
|
|
\n Smoothing is used to adjust the locations of element corners
|
|
|
|
(nodes) to reduce distortions in these elements.
|
|
|
|
|
|
|
|
<em>To apply smoothing to the elements of your mesh:</em>
|
|
|
|
<ol>
|
|
|
|
<li>Display a mesh or a submesh in the 3D viewer.</li>
|
|
|
|
<li>In the \b Modification menu select the \b Smoothing item or click
|
|
|
|
<em>"Smoothing"</em> button in the toolbar.
|
|
|
|
|
2008-12-12 17:49:51 +05:00
|
|
|
\image html image84.png
|
2008-02-11 20:08:07 +05:00
|
|
|
<center><em>"Smoothing" button</em></center>
|
|
|
|
|
|
|
|
The dialog box contains the following fields which should be
|
|
|
|
specified:
|
|
|
|
|
|
|
|
\image html smoothing.png
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><b>Id Elements</b> field allows to specify the elements which
|
|
|
|
should be smoothed by selecting them in the 3D viewer (lock \b Shift
|
|
|
|
button to select several elements).</li>
|
|
|
|
<li><b>Select whole mesh, submesh or group</b> - smoothing is applied
|
|
|
|
to the whole mesh or its part.</li>
|
|
|
|
<li><b>Fixed nodes ids:</b> some nodes keep their location during
|
|
|
|
smoothing. If a mesh is built on a geometry shape, the nodes built on
|
|
|
|
geometrical edges are always fixed. If smoothing is applied to a part
|
|
|
|
of a mesh then the boundary nodes of an elements set are also
|
|
|
|
fixed. Any other nodes may be additionally fixed.</li>
|
|
|
|
<li><b>Smoothing Method:</b>
|
|
|
|
<ul>
|
|
|
|
<li>\b Laplacian smoothing pulls a node toward the center of
|
|
|
|
surrounding nodes directly connected to that node along an element
|
|
|
|
edge.
|
|
|
|
<li>\b Centroidal smoothing pulls a node toward the
|
|
|
|
element-area-weighted centroid of the surrounding elements. </li>
|
|
|
|
|
|
|
|
Typically, the Laplacian method will produce the mesh with the least element
|
|
|
|
distortion. It is also the faster method.Centroidal smoothing usually
|
|
|
|
produces a mesh that has more uniform element sizes. Both methods
|
|
|
|
produce good results with "free" meshes.</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
\image html image83.gif
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li><b>Iteration limit:</b> both of the smoothing methods use an
|
|
|
|
iterative procedure to converge toward a smoothed mesh. All nodes are
|
|
|
|
smoothed according to one of the techniques shown above. Then the
|
|
|
|
smoothing is reevaluated with the updated nodal locations. This
|
|
|
|
process continues until the maximum number of iterations has been
|
|
|
|
exceeded, or all elements has aspect ratio less or equal than the
|
|
|
|
specified one.</li>
|
|
|
|
<li><b>Max. aspect ratio</b> allows to define the quality at which the
|
|
|
|
smoothing algorithm should stop the iterations as the target of the
|
|
|
|
operation has been reached.</li>
|
|
|
|
<li>When <b>in parametric space</b> radio button is checked, the
|
|
|
|
algorithm tries to improve the shape of faces in the parametric space
|
|
|
|
of geometrical surfaces on which they are generated, else the shape of
|
|
|
|
faces in the 3D space is improved. </li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
<li>Click the \b Apply or \b OK button to confirm the operation.</li>
|
|
|
|
</ol>
|
|
|
|
|
2008-12-12 17:49:51 +05:00
|
|
|
\image html smoothing1.png "The initial mesh"
|
2008-02-11 20:08:07 +05:00
|
|
|
|
2008-12-12 17:49:51 +05:00
|
|
|
\image html smoothing2.png "The smoothed mesh"
|
2008-02-11 20:08:07 +05:00
|
|
|
|
|
|
|
<br><b>See Also</b> a sample TUI Script of a
|
|
|
|
\ref tui_smoothing "Smoothing" operation.
|
|
|
|
|
|
|
|
*/
|