1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
6 <title>Aspect Ratio</title>
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
9 <link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
11 if (navigator.appName !="Netscape")
12 { document.write("<link rel='stylesheet' href='../default.css'>");}
15 <style type="text/css">
17 img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }
18 p.whs2 { margin-left:40px; }
19 img_whs3 { border:none; width:120px; height:56px; border-style:none; }
20 ul.whs4 { list-style:disc; }
21 img_whs5 { border:none; width:158px; height:110px; float:none; border-style:none; }
22 img_whs6 { border:none; width:120px; height:48px; float:none; border-style:none; }
23 img_whs7 { border:none; width:234px; height:96px; float:none; border-style:none; }
24 p.whs8 { margin-left:0px; }
25 p.whs9 { margin-left:36px; }
26 img_whs10 { border:none; width:622px; height:412px; float:none; border-style:none; }
27 p.whs11 { margin-left:80px; }
28 img_whs12 { border:none; width:25px; height:24px; border-style:none; }
29 img_whs13 { border:none; width:439px; height:313px; border-style:none; }
31 </style><script type="text/javascript" language="JavaScript">
33 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
35 var strNSS = "<style type='text/css'>";
36 strNSS += "p.whs8 {margin-left:1pt; }";
38 document.write(strNSS);
42 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
45 if (innerWidth != origWidth || innerHeight != origHeight)
48 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
49 origWidth = innerWidth;
50 origHeight = innerHeight;
56 <style type="text/css">
58 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
59 p.WebHelpNavBar { text-align:right; }
61 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
62 <script type="text/javascript" language="javascript" src="../whver.js"></script>
63 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
64 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
65 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
66 <script type="text/javascript" language="javascript1.2">
70 if (window.setRelStartPage)
72 addTocInfo("MESH module\nQuality controls\nAspect ratio");
73 addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
74 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
79 if (window.setRelStartPage)
81 setRelStartPage("../index.htm");
91 document.location.reload();
95 <body><script type="text/javascript" language="javascript1.2">
97 if (window.writeIntopicBar)
101 <h1>Aspect Ratio</h1>
103 <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>
104 quality criterion for mesh elements reveals the degree of conformity of
105 a mesh element to the regular element of its type (with all edges having
106 the same length). The
107 criterion can be defined as </p>
109 <p class="whs2"><img src="../image142.gif" width="120px" height="56px" border="0" class="img_whs3">where <span style="font-weight: bold; font-style: italic;"><I><B>К</B></I></span>
110 is the considered element of the mesh, <span style="font-weight: bold; font-style: italic;"><I><B>h</B></I></span><span
111 style="vertical-align: Sub;
113 font-style: italic;"><I><B>max</B></I></span> is the diameter of the element
114 К (i.e. the length of the longest edge), <span style="font-weight: bold; font-style: italic;"><I><B>р</B></I></span><span
115 style="vertical-align: Sub;
117 font-style: italic;"><I><B>к</B></I></span> is the radius of the sphere
118 inscribed in the element K, and <span style="font-weight: bold; font-style: italic;"><I><B>a</B></I></span>
119 is a normalisation value chosen so that <span style="font-weight: bold; font-style: italic;"><I><B>Q</B></I></span><span
120 style="vertical-align: Sub;
122 font-style: italic;"><I><B>K</B></I></span> = 1 when К is an equilateral
125 <p class="whs2"> </p>
127 <p>The value of <span style="font-weight: bold; font-style: italic;"><I><B>Q</B></I></span><span
128 style="vertical-align: Sub;
130 font-style: italic;"><I><B>K</B></I></span> varies between 1 and +oo and the
131 closer it is to 1, the better the element К is. </p>
133 <ul type="disc" class="whs4">
135 <li class=kadov-p><p>The <span style="font-weight: bold;"><B>Aspect Ratio</B></span>
136 of a <span style="font-weight: bold;"><B>triangle</B></span> 2D element consisting
137 of 3 nodes is calculated by the formula:</p></li>
142 <p class="whs2"><img src="../pics/image21.gif" x-maintain-ratio="TRUE" width="158px" height="110px" border="0" class="img_whs5"></p>
144 <p class="whs2"><img src="../pics/image23.gif" x-maintain-ratio="TRUE" width="120px" height="48px" border="0" class="img_whs6"> ,</p>
146 <p class="whs2"> </p>
148 <p class="whs2">where <span style="font-weight: bold; font-style: italic;"><I><B>р</B></I></span><span
149 style="vertical-align: Sub;
151 font-style: italic;"><I><B>к</B></I></span> is the half perimeter of the
152 element K and <span style="font-weight: bold; font-style: italic;"><I><B>S</B></I></span><span
153 style="vertical-align: Sub;
155 font-style: italic;"><I><B>K</B></I></span> is its surface.</p>
157 <p class="whs2"> </p>
159 <p class="whs2"><img src="../pics/image27.gif" x-maintain-ratio="TRUE" width="234px" height="96px" border="0" class="img_whs7"></p>
161 <p class="whs8"> </p>
163 <ul type="disc" class="whs4">
165 <li class=kadov-p><p class="whs8">The <span style="font-weight: bold;"><B>Aspect
166 Ratio</B></span> of a <span style="font-weight: bold;"><B>quadrangle</B></span> 2D
167 element consisting of 4 nodes is the worst (i.e. the greatest) value from
168 all triangles which can be built taking three nodes of the quadrangle.
169 There are four triangles to consider: </p></li>
172 <p class="whs9"><img src="../pics/image138.gif" x-maintain-ratio="TRUE" width="622px" height="412px" border="0" class="img_whs10"></p>
174 <p class="whs9">Note, that the Aspect Ratio criterion is
175 applicable to 2D mesh elements only. For 3D elements we use the <a href="../aspect_ratio_3d.htm">Aspect
176 Ratio 3D</a> criterion. </p>
178 <p class="whs11"> </p>
180 <p class=TODO>To apply the Aspect Ratio quality criterion to your mesh:</p>
182 <p class=TODO> </p>
184 <p class="whs2">1. Display your mesh in the viewer.</p>
186 <p class="whs2"> </p>
188 <p class="whs2">2. Choose <span style="font-weight: bold;"><B>Controls
189 > Aspect Ratio </B></span>or click <img src="../image37.gif" width="25px" height="24px" border="0" class="img_whs12"> button in the toolbar.
190 Your mesh will be displayed in the viewer with its elements colored according
191 to the applied mesh quality control criterion:</p>
193 <p class="whs2"> </p>
195 <p class="whs2"><img src="../image94.jpg" width="439px" height="313px" border="0" class="img_whs13"></p>
197 <p class="whs2"> </p>
199 <p class="whs8"><span style="font-weight: bold;"><B>See Also</B></span>
200 a sample TUI Script of an <a href="../quality_controls.htm#bookmark8">Aspect
201 Ratio quality control</a> operation. </p>
205 <script type="text/javascript" language="javascript1.2">
207 if (window.writeIntopicBar)