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

186 lines
6.1 KiB
HTML
Raw Normal View History

2004-06-18 14:55:35 +06:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->
<head>
<title>Aspect Ratio</title>
<!--(Meta)==========================================================-->
<meta http-equiv=content-type content="text/html; charset=windows-1252">
<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=1101>
<meta name=layout-width content=700>
<!--(Links)=========================================================-->
<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-style: none; border: none; width: 30px; height: 30px; float: none;}
ul.whs2 {list-style: disc;}
p.whs3 {margin-left: 80px;}
img_whs4 {border-style: none; border: none; width: 238px; height: 205px;}
p.whs5 {margin-left: 0px;}
img_whs6 {border-style: none; border: none; width: 226px; height: 70px;}
p.whs7 {margin-left: 40px;}
img_whs8 {border-style: none; border: none; width: 25px; height: 24px;}
img_whs9 {border-style: none; border: none; width: 467px; height: 327px;}
-->
</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:1; }";
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)==========================================================-->
<body>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addTocInfo("SMESH module\nQuality controls\nAspect Ratio");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
2004-12-01 15:48:31 +05:00
setRelStartPage("../smesh.htm");
2004-06-18 14:55:35 +06:00
autoSync(0);
sendSyncInfo();
sendAveInfoOut();
}
}
else
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>Quality
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="../image7.jpg" width="467px" height="327px" border="0" class="img_whs9"></p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>