smesh/doc/salome/gui/SMESH/files/smoothing.htm

191 lines
7.1 KiB
HTML
Raw Normal View History

2004-12-01 15:48:31 +05:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Smoothing</title>
2005-11-28 14:57:47 +05:00
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
2004-12-01 15:48:31 +05:00
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style type="text/css">
<!--
2005-11-28 14:57:47 +05:00
img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }
p.whs2 { margin-left:40px; }
img_whs3 { border:none; width:24px; height:25px; border-style:none; }
img_whs4 { border:none; width:332px; height:396px; float:none; border-style:none; }
ul.whs5 { list-style:disc; }
p.whs6 { margin-left:40px; font-weight:normal; }
p.whs7 { font-weight:bold; }
p.whs8 { margin-left:80px; }
img_whs9 { border:none; width:527px; height:281px; border-style:none; }
img_whs10 { border:none; float:none; width:353px; height:235px; }
img_whs11 { border:none; width:351px; height:235px; float:none; }
2004-12-01 15:48:31 +05:00
-->
2005-11-28 14:57:47 +05:00
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
2004-12-01 15:48:31 +05:00
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
2005-11-28 14:57:47 +05:00
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
2004-12-01 15:48:31 +05:00
-->
2005-11-28 14:57:47 +05:00
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
2004-12-01 15:48:31 +05:00
<script type="text/javascript" language="javascript" src="../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
</head>
2005-11-28 14:57:47 +05:00
<body><script type="text/javascript" language="javascript1.2">
2004-12-01 15:48:31 +05:00
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
2005-11-28 14:57:47 +05:00
addTocInfo("MESH module\nModifying meshes\nSmoothing");
2004-12-01 15:48:31 +05:00
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
setRelStartPage("../smesh.htm");
2005-11-28 14:57:47 +05:00
autoSync(1);
2004-12-01 15:48:31 +05:00
sendSyncInfo();
sendAveInfoOut();
}
}
else
2005-11-28 14:57:47 +05:00
if (window.gbIE4)
document.location.reload();
2004-12-01 15:48:31 +05:00
//-->
</script>
<h1>Smoothing</h1>
<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
corners (nodes) to reduce distortions in these elements.</p>
<p>&nbsp;</p>
<p class=TODO>To apply smoothing to the elements of your mesh:</p>
2005-11-28 14:57:47 +05:00
<p>&nbsp;</p>
2004-12-01 15:48:31 +05:00
<p class="whs2">1. Display a mesh or a submesh in the 3D
viewer.</p>
<p class="whs2">2. In the <span style="font-weight: bold;"><B>Modification
</B></span>menu select the <span style="font-weight: bold;"><B>Smoothing </B></span>item
2005-11-28 14:57:47 +05:00
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
box contains the following fields which should be specified:</span></p>
2004-12-01 15:48:31 +05:00
<p>&nbsp;</p>
2005-11-28 14:57:47 +05:00
<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>
2004-12-01 15:48:31 +05:00
<ul type="disc" class="whs5">
<li class=kadov-p><p class="whs6"><span
style="font-weight: bold;"><B>Id Elements </B></span><span>field allows to specify
the elements which should be smoothed by selecting them in the 3D viewer.
Note: to select several elements press </span><span style="font-weight: bold;"><B>Shift
</B></span><span>button.</span></p></li>
<ul type="disc" class="whs5">
<li class=kadov-p><p class="whs7">Smoothing is applied
to the whole mesh or its part</p></li>
<li class=kadov-p><p><span style="font-weight: bold;"><B>Fixed nodes
ids</B></span>: 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.</p></li>
<li class=kadov-p><p><span style="font-weight: bold;"><B>Smoothing
method</B></span>:</p></li>
<ul type="disc" class="whs5">
<li class=kadov-p><p><span style="font-weight: bold;"><B>Laplacian</B></span>
smoothing pulls a node toward the center of surrounding nodes directly
connected to that node along an element edge. Centroidal smoothing pulls
a node toward the element-area-weighted centroid of the surrounding elements.
Typically, the Laplacian method will produce the mesh with the least element
distortion. It is also the faster method. </p></li>
<li class=kadov-p><p><span style="font-weight: bold;"><B>Centroidal</B></span>
smoothing usually produces a mesh that has more uniform element sizes.
Both methods produce good results with &quot;free&quot; meshes.</p></li>
</ul>
</ul>
</ul>
2005-11-28 14:57:47 +05:00
<p>&nbsp;</p>
2004-12-01 15:48:31 +05:00
<p class="whs8"><img src="../image83.gif" width="527px" height="281px" border="0" class="img_whs9"></p>
<ul type="disc" class="whs5">
<li class=kadov-p><p class="whs6"><span
style="font-weight: bold;"><B>Iteration limit: </B></span>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.</p></li>
<li class=kadov-p><p class="whs6"><span
style="font-weight: bold;"><B>Max. aspect ratio</B></span>.</p></li>
</ul>
<p class="whs2">&nbsp;</p>
<p class="whs2">3. Click the <span style="font-weight: bold;"><B>Apply
</B></span>or <span style="font-weight: bold;"><B>OK </B></span>button to confirm
the operation.</p>
2005-11-28 14:57:47 +05:00
<p class="whs2">&nbsp;</p>
<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>
2004-12-01 15:48:31 +05:00
<p>&nbsp;</p>
2005-11-28 14:57:47 +05:00
<p>&nbsp;&nbsp;<span style="font-weight: bold;"><B>See
Also</B></span> a sample TUI Script of a <a href="../modifying_meshes.htm#bookmark8">Smoothing</a>
operation. &nbsp;</p>
2004-12-01 15:48:31 +05:00
<p>&nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>