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