Salome HOME
b7e6cdb1d71cd2e5680f2570862b0eecf0fdc0e7
[modules/smesh.git] / doc / salome / gui / SMESH / files / aspect_ratio.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <!--(==============================================================)-->\r
6 <!--(Document created with RoboEditor. )============================-->\r
7 <!--(==============================================================)-->\r
8 \r
9 <head>\r
10 \r
11 <title>Aspect Ratio</title>\r
12 \r
13 <!--(Meta)==========================================================-->\r
14 \r
15 <meta http-equiv=content-type content="text/html; charset=windows-1252">\r
16 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">\r
17 <meta name=generator-major-version content=0.1>\r
18 <meta name=generator-minor-version content=1>\r
19 <meta name=filetype content=kadov>\r
20 <meta name=filetype-version content=1>\r
21 <meta name=page-count content=1>\r
22 <meta name=layout-height content=1101>\r
23 <meta name=layout-width content=700>\r
24 \r
25 \r
26 <!--(Links)=========================================================-->\r
27 \r
28  <link rel='stylesheet' href='../default_ns.css'>\r
29 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
30 <!--\r
31 if (navigator.appName !="Netscape")\r
32 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
33 //-->\r
34 </script>\r
35 <style type="text/css">\r
36 <!--\r
37 img_whs1 {border-style: none; border: none; width: 30px; height: 30px; float: none;}\r
38 ul.whs2 {list-style: disc;}\r
39 p.whs3 {margin-left: 80px;}\r
40 img_whs4 {border-style: none; border: none; width: 238px; height: 205px;}\r
41 p.whs5 {margin-left: 0px;}\r
42 img_whs6 {border-style: none; border: none; width: 226px; height: 70px;}\r
43 p.whs7 {margin-left: 40px;}\r
44 img_whs8 {border-style: none; border: none; width: 25px; height: 24px;}\r
45 img_whs9 {border-style: none; border: none; width: 467px; height: 327px;}\r
46 -->\r
47 </style>\r
48 <script type="text/javascript" language="JavaScript">\r
49 <!--\r
50 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
51 {\r
52   var strNSS = "<style type='text/css'>";\r
53   strNSS += "p.whs5 {margin-left:1; }";\r
54   strNSS +="</style>";\r
55   document.write(strNSS);\r
56 }\r
57 //-->\r
58 </script>\r
59 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
60 <!--\r
61 function reDo() {\r
62   if (innerWidth != origWidth || innerHeight != origHeight)\r
63      location.reload();\r
64 }\r
65 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
66         origWidth = innerWidth;\r
67         origHeight = innerHeight;\r
68         onresize = reDo;\r
69 }\r
70 onerror = null; \r
71 //-->\r
72 </script>\r
73 <style type="text/css">\r
74 <!--\r
75   div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
76 -->\r
77 </style>\r
78 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
79 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
80 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
81 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
82 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
83 </head>\r
84 \r
85 <!--(Body)==========================================================-->\r
86 \r
87 \r
88 <body>\r
89 \r
90 <script type="text/javascript" language="javascript1.2">\r
91 <!--\r
92 if (window.gbWhTopic)\r
93 {\r
94         if (window.addTocInfo)\r
95         {\r
96         addTocInfo("SMESH module\nQuality controls\nAspect Ratio");\r
97 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
98 \r
99         }\r
100         if (window.writeBtnStyle)\r
101                 writeBtnStyle();\r
102 \r
103         if (window.writeIntopicBar)\r
104                 writeIntopicBar(1);\r
105 \r
106         if (window.setRelStartPage)\r
107         {\r
108         setRelStartPage("../smesh.html");\r
109 \r
110                 autoSync(0);\r
111                 sendSyncInfo();\r
112                 sendAveInfoOut();\r
113         }\r
114 }\r
115 else\r
116         document.location.reload();\r
117 //-->\r
118 </script>\r
119 <h1>Aspect Ratio</h1>\r
120 \r
121 <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
122  quality criterion for mesh elements is defined as follows:</p>\r
123 \r
124 <p>&nbsp;</p>\r
125 \r
126 <ul type="disc" class="whs2">\r
127         \r
128         <li class=kadov-p><p>For a <span style="font-weight: bold;"><B>triangle</B></span> \r
129  2D element consisting of 3 nodes a the <span style="font-weight: bold;"><B>Aspect \r
130  Ratio</B></span> is calculated as the ratio of the length, h2, of the edge \r
131  of this triangle, to the height, h1. The ratio of h2 to h1 is then multiplied \r
132  by &nbsp;3<span \r
133  style="vertical-align: Super; font-size: 10pt;"><font size=2 style="font-size:10pt;">(1/2)</font></span> /2, so that \r
134  a \93perfect\94 element in the shape of an equilateral triangle will be equal \r
135  to 1. This procedure is repeated for the remaining two edges of the triangle, \r
136  and the largest value is retained as the <span style="font-weight: bold;"><B>Aspect \r
137  Ratio</B></span> for the element.</p></li>\r
138 </ul>\r
139 \r
140 <p>&nbsp;</p>\r
141 \r
142 <p class="whs3"><img src="../image26.jpg" width="238px" height="205px" border="0" class="img_whs4"></p>\r
143 \r
144 <p>&nbsp;</p>\r
145 \r
146 <p class="whs5">&nbsp;</p>\r
147 \r
148 <ul type="disc" class="whs2">\r
149         \r
150         <li class=kadov-p><p class="whs5">For a <span style="font-weight: bold;"><B>quadrangle</B></span> \r
151  2D element consisting of 4 nodes &nbsp;the \r
152  <span style="font-weight: bold;"><B>Aspect Ratio </B></span>is the ratio of the \r
153  element's longest side to its shortest side.</p></li>\r
154 </ul>\r
155 \r
156 <p class="whs3"><img src="../image22.gif" width="226px" height="70px" border="0" class="img_whs6"></p>\r
157 \r
158 <p class="whs3">&nbsp;</p>\r
159 \r
160 <p class=TODO>To apply the Aspect Ratio quality criterion to your mesh:</p>\r
161 \r
162 <p class=TODO>&nbsp;</p>\r
163 \r
164 <p class="whs7">1. Display your mesh in the viewer.</p>\r
165 \r
166 <p class="whs7">&nbsp;</p>\r
167 \r
168 <p class="whs7">2. Choose <span style="font-weight: bold;"><B>Quality \r
169  Controls &gt; Aspect Ratio </B></span>or click <img src="../image37.gif" width="25px" height="24px" border="0" class="img_whs8"> button in the \r
170  toolbar. Your mesh will be displayed in the viewer with its elements colored \r
171  according to the applied mesh quality control criterion:</p>\r
172 \r
173 <p class="whs7">&nbsp;</p>\r
174 \r
175 <p class="whs7"><img src="../image7.jpg" width="467px" height="327px" border="0" class="img_whs9"></p>\r
176 \r
177 <script type="text/javascript" language="javascript1.2">\r
178 <!--\r
179 if (window.writeIntopicBar)\r
180         writeIntopicBar(0);\r
181 //-->\r
182 </script>\r
183 </body>\r
184 \r
185 </html>\r