smesh/doc/salome/gui/SMESH/files/aspect_ratio.htm
2005-11-28 09:57:47 +00:00

166 lines
5.6 KiB
HTML
Executable File
Raw Blame History

<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Aspect Ratio</title>
<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">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='../default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }
ul.whs2 { list-style:disc; }
p.whs3 { margin-left:80px; }
img_whs4 { border:none; width:238px; height:205px; border-style:none; }
p.whs5 { margin-left:0px; }
img_whs6 { border:none; width:226px; height:70px; border-style:none; }
p.whs7 { margin-left:40px; }
img_whs8 { border:none; width:25px; height:24px; border-style:none; }
img_whs9 { border:none; width:439px; height:313px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs5 {margin-left:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
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">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
<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>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addTocInfo("MESH module\nQuality controls\nAspect ratio");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
setRelStartPage("../smesh.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
<h1>Aspect Ratio</h1>
<p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> The <span style="font-weight: bold;"><B>Aspect Ratio</B></span>
quality criterion for mesh elements is defined as follows:</p>
<p>&nbsp;</p>
<ul type="disc" class="whs2">
<li class=kadov-p><p>For a <span style="font-weight: bold;"><B>triangle</B></span>
2D element consisting of 3 nodes a the <span style="font-weight: bold;"><B>Aspect
Ratio</B></span> is calculated as the ratio of the length, h2, of the edge
of this triangle, to the height, h1. The ratio of h2 to h1 is then multiplied
by &nbsp;3<span
style="vertical-align: Super; font-size: 10pt;"><font size=2 style="font-size:10pt;">(1/2)</font></span> /2, so that
a <20>perfect<63> element in the shape of an equilateral triangle will be equal
to 1. This procedure is repeated for the remaining two edges of the triangle,
and the largest value is retained as the <span style="font-weight: bold;"><B>Aspect
Ratio</B></span> for the element.</p></li>
</ul>
<p>&nbsp;</p>
<p class="whs3"><img src="../image26.jpg" width="238px" height="205px" border="0" class="img_whs4"></p>
<p>&nbsp;</p>
<p class="whs5">&nbsp;</p>
<ul type="disc" class="whs2">
<li class=kadov-p><p class="whs5">For a <span style="font-weight: bold;"><B>quadrangle</B></span>
2D element consisting of 4 nodes &nbsp;the
<span style="font-weight: bold;"><B>Aspect Ratio </B></span>is the ratio of the
element's longest side to its shortest side.</p></li>
</ul>
<p class="whs3"><img src="../image22.gif" width="226px" height="70px" border="0" class="img_whs6"></p>
<p class="whs3">&nbsp;</p>
<p class=TODO>To apply the Aspect Ratio quality criterion to your mesh:</p>
<p class=TODO>&nbsp;</p>
<p class="whs7">1. Display your mesh in the viewer.</p>
<p class="whs7">&nbsp;</p>
<p class="whs7">2. Choose <span style="font-weight: bold;"><B>Controls
&gt; Aspect Ratio </B></span>or click <img src="../image37.gif" width="25px" height="24px" border="0" class="img_whs8"> button in the toolbar.
Your mesh will be displayed in the viewer with its elements colored according
to the applied mesh quality control criterion:</p>
<p class="whs7">&nbsp;</p>
<p class="whs7"><img src="../image94.jpg" width="439px" height="313px" border="0" class="img_whs9"></p>
<p class="whs7">&nbsp;</p>
<p class="whs5"><span style="font-weight: bold;"><B>See Also</B></span>
a sample TUI Script of an <a href="../quality_controls.htm#bookmark8">Aspect
Ratio quality control</a> operation. &nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>