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

166 lines
5.6 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>
<head>
<title>Aspect Ratio</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-06-18 14:55:35 +06: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; }
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; }
2004-06-18 14:55:35 +06:00
-->
2005-11-28 14:57:47 +05:00
</style><script type="text/javascript" language="JavaScript">
2004-06-18 14:55:35 +06:00
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
2005-11-28 14:57:47 +05:00
strNSS += "p.whs5 {margin-left:1pt; }";
2004-06-18 14:55:35 +06:00
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">
<!--
2005-11-28 14:57:47 +05:00
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
2004-06-18 14:55:35 +06:00
-->
2005-11-28 14:57:47 +05:00
</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
2004-06-18 14:55:35 +06: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-06-18 14:55:35 +06:00
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
2005-11-28 14:57:47 +05:00
addTocInfo("MESH module\nQuality controls\nAspect ratio");
2004-06-18 14:55:35 +06:00
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
2005-11-28 14:57:47 +05:00
autoSync(1);
2004-06-18 14:55:35 +06:00
sendSyncInfo();
sendAveInfoOut();
}
}
else
2005-11-28 14:57:47 +05:00
if (window.gbIE4)
document.location.reload();
2004-06-18 14:55:35 +06:00
//-->
</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>
2005-11-28 14:57:47 +05:00
<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>
2004-06-18 14:55:35 +06:00
<p class="whs7">&nbsp;</p>
2005-11-28 14:57:47 +05:00
<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>
2004-06-18 14:55:35 +06:00
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>