Salome HOME
PAL 14158 Add the Octree and OctreeNode classes to accelerate detection of close...
[modules/smesh.git] / doc / salome / gui / SMESH / files / arithmetic_1d.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Arithmetic 1D</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
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 ul.whs1 { list-style:disc; }\r
18 p.whs2 { background-color:Transparent; color:#000000; font-weight:bold; }\r
19 p.whs3 { margin-left:40px; }\r
20 img_whs4 { border:none; width:332px; height:238px; float:none; border-style:none; }\r
21 img_whs5 { border:none; width:309px; height:316px; float:none; border-style:none; }\r
22 p.whs6 { margin-left:0px; }\r
23 img_whs7 { border:none; width:332px; height:212px; float:none; border-style:none; }\r
24 img_whs8 { border:none; width:267px; height:339px; float:none; border-style:none; }\r
25 p.whs9 { font-weight:bold; }\r
26 img_whs10 { border:none; width:367px; height:224px; border-style:none; float:right; }\r
27 img_whs11 { border:none; width:252px; height:243px; float:none; border-style:none; }\r
28 p.whs12 { font-weight:bold; margin-left:40px; }\r
29 img_whs13 { border:none; width:431px; height:233px; border-style:none; float:right; }\r
30 img_whs14 { border:none; width:395px; height:387px; float:none; border-style:none; }\r
31 img_whs15 { border:none; width:332px; height:264px; float:none; border-style:none; }\r
32 img_whs16 { border:none; width:368px; height:760px; float:none; border-style:none; }\r
33 h3.whs17 { margin-left:40px; }\r
34 img_whs18 { border:none; width:365px; height:605px; float:none; border-style:none; }\r
35 img_whs19 { border:none; width:287px; height:305px; float:none; border-style:none; }\r
36 img_whs20 { border:none; width:205px; height:175px; float:none; border-style:none; }\r
37 img_whs21 { border:none; width:195px; height:192px; border-style:none; }\r
38 img_whs22 { border:none; width:206px; height:195px; border-style:none; }\r
39 -->\r
40 </style><script type="text/javascript" language="JavaScript">\r
41 <!--\r
42 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
43 {\r
44   var strNSS = "<style type='text/css'>";\r
45   strNSS += "p.whs2 {background-color:white; }";\r
46   strNSS += "p.whs6 {margin-left:1pt; }";\r
47   strNSS +="</style>";\r
48   document.write(strNSS);\r
49 }\r
50 //-->\r
51 </script>\r
52 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
53 <!--\r
54 function reDo() {\r
55   if (innerWidth != origWidth || innerHeight != origHeight)\r
56      location.reload();\r
57 }\r
58 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
59         origWidth = innerWidth;\r
60         origHeight = innerHeight;\r
61         onresize = reDo;\r
62 }\r
63 onerror = null; \r
64 //-->\r
65 </script>\r
66 <style type="text/css">\r
67 <!--\r
68 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
69 p.WebHelpNavBar { text-align:right; }\r
70 -->\r
71 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
72 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
73 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
74 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
75 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
76 <script type="text/javascript" language="javascript1.2">\r
77 <!--\r
78 if (window.gbWhTopic)\r
79 {\r
80         if (window.setRelStartPage)\r
81         {\r
82         addTocInfo("MESH module\nCreating meshes\nDefining hypotheses\n1D Meshing Hypotheses");\r
83 addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");\r
84 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");\r
85 \r
86         }\r
87 \r
88 \r
89         if (window.setRelStartPage)\r
90         {\r
91         setRelStartPage("../index.htm");\r
92 \r
93                 autoSync(1);\r
94                 sendSyncInfo();\r
95                 sendAveInfoOut();\r
96         }\r
97 \r
98 }\r
99 else\r
100         if (window.gbIE4)\r
101                 document.location.reload();\r
102 //-->\r
103 </script>\r
104 </head>\r
105 <body><script type="text/javascript" language="javascript1.2">\r
106 <!--\r
107 if (window.writeIntopicBar)\r
108         writeIntopicBar(4);\r
109 //-->\r
110 </script>\r
111 <h1>1D Meshing Hypotheses</h1>\r
112 \r
113 <ul type="disc" class="whs1">\r
114         \r
115         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
116                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#arithmetic_1D"><span \r
117  style="font-weight: bold;"><B>Arithmetic 1D</B></span></a></p></li>\r
118         \r
119         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
120                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#Average_length"><span \r
121  style="font-weight: bold;"><B>Average Length</B></span></a></p></li>\r
122         \r
123         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
124                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#deflection_1D"><span \r
125  style="font-weight: bold;"><B>Deflection 1D </B></span></a></p></li>\r
126         \r
127         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
128                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#Number_of_elements"><span \r
129  style="font-weight: bold;"><B>Number of segments</B></span></a></p></li>\r
130         \r
131         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
132                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#start_and_end_length"><span \r
133  style="font-weight: bold;"><B>Start and end length</B></span></a></p></li>\r
134         \r
135         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
136                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#automatic_length"><span \r
137  style="font-weight: bold;"><B>Automatic Length</B></span></a></p></li>\r
138 </ul>\r
139 \r
140 <h3><a name=arithmetic_1D>Arithmetic 1D hypothesis</a></h3>\r
141 \r
142 <p><span style="font-weight: bold;"><B>Arithmetic 1D</B></span> hypothesis allows \r
143  to split edges into segments with a length that changes in arithmetic \r
144  progression (Lk = Lk-1 + d) beginning from a given starting length and \r
145  up to a given end length.</p>\r
146 \r
147 <p>&nbsp;</p>\r
148 \r
149 <p class="whs3"><img src="../pics/a-arithmetic1d.png" x-maintain-ratio="TRUE" width="332px" height="238px" border="0" class="img_whs4"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../pics/b-ithmetic1d.png" x-maintain-ratio="TRUE" width="309px" height="316px" border="0" class="img_whs5"></p>\r
150 \r
151 <p>&nbsp;</p>\r
152 \r
153 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
154  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark">Defining \r
155  Arithmetic 1D hypothesis</a> operation. &nbsp;</p>\r
156 \r
157 <h3><a name=deflection_1D>Deflection 1D hypothesis</a></h3>\r
158 \r
159 <p><span style="font-weight: bold;"><B>Deflection ID </B></span>hypothesis can \r
160  be applied for meshing curvilinear edges composing your geometrical object. \r
161  It uses only one parameter: the value of deflection. &nbsp;</p>\r
162 \r
163 <p>A geometrical edge is divided into equal segments. The maximum distance \r
164  between a point on the edge within a segment and the line connecting the \r
165  ends of the segment should not exceed the specified value of deflection \r
166  . Then mesh nodes are constructed at end segment locations and 1D mesh \r
167  elements are constructed on segments.</p>\r
168 \r
169 <p>&nbsp;</p>\r
170 \r
171 <p class="whs3"><img src="../pics/a-deflection1d.png" x-maintain-ratio="TRUE" width="332px" height="212px" border="0" class="img_whs7"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../pics/b-flection1d.png" x-maintain-ratio="TRUE" width="267px" height="339px" border="0" class="img_whs8"></p>\r
172 \r
173 <p>&nbsp;</p>\r
174 \r
175 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
176  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark9">Defining \r
177  Deflection 1D hypothesis</a> operation. &nbsp;</p>\r
178 \r
179 <p>&nbsp;</p>\r
180 \r
181 <p class="whs9"><img src="../image41.gif" x-maintain-ratio="TRUE" width="367px" height="224px" align="right" border="0" class="img_whs10"></p>\r
182 \r
183 <h3><a name=Average_length>Average Length hypothesis</a></h3>\r
184 \r
185 <p><span style="font-weight: bold;"><B>Average Length </B></span>hypothesis can \r
186  be applied for meshing of edges composing your geometrical object. Definition \r
187  of this hypothesis consists of setting the <span style="font-weight: bold;"><B>length</B></span> \r
188  of segments, which will split these edges. The points on the edges generated \r
189  by these segments will represent nodes of your mesh. Later these nodes \r
190  will be used for meshing of the faces abutting to these edges.</p>\r
191 \r
192 <p>&nbsp;</p>\r
193 \r
194 <p class="whs3"><img src="../pics/a-averagelength.png" x-maintain-ratio="TRUE" width="332px" height="212px" border="0" class="img_whs7"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../pics/b-erage_length.png" x-maintain-ratio="TRUE" width="252px" height="243px" border="0" class="img_whs11"></p>\r
195 \r
196 <p>&nbsp;</p>\r
197 \r
198 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
199  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark3">Defining \r
200  Average Length hypothesis</a> operation. &nbsp;</p>\r
201 \r
202 <p>&nbsp;</p>\r
203 \r
204 <p class="whs12"><img src="../image46.gif" x-maintain-ratio="TRUE" width="431px" height="233px" align="right" border="0" class="img_whs13"></p>\r
205 \r
206 <h3><a name=Number_of_elements>Number of segments hypothesis</a> </h3>\r
207 \r
208 <p><span style="font-weight: bold;"><B>Number of segments </B></span>hypothesis \r
209  can be applied for meshing of edges composing your geometrical object. \r
210  Definition of this hypothesis consists of setting the <span style="font-weight: bold;"><B>number</B></span> \r
211  of segments, which will split these edges. In other words your edges will \r
212  be split into a definite number of segments with approximately the same \r
213  length. The points on the edges generated by these segments will represent \r
214  nodes of your mesh. Later these nodes will be used for meshing of the \r
215  faces abutting to these edges.</p>\r
216 \r
217 <p>&nbsp;</p>\r
218 \r
219 <p class="whs6">You can set the type of distribution for this \r
220  hypothesis in the <span style="font-weight: bold;"><B>Hypothesis Construction</B></span> \r
221  dialog bog : </p>\r
222 \r
223 <p class="whs6">&nbsp;</p>\r
224 \r
225 <p class="whs6"><span style="font-weight: bold;"><B>Equidistant \r
226  Distribution</B></span> - all segments will have the same length, you define \r
227  only the <span style="font-weight: bold;"><B>Number of Segments</B></span>.</p>\r
228 \r
229 <p class="whs6">&nbsp;</p>\r
230 \r
231 <p class="whs3"><img src="../pics/a-nbsegments1.png" x-maintain-ratio="TRUE" width="332px" height="238px" border="0" class="img_whs4"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../pics/b-mberofsegments.png" x-maintain-ratio="TRUE" width="395px" height="387px" border="0" class="img_whs14"></p>\r
232 \r
233 <p>&nbsp;</p>\r
234 \r
235 <p class="whs9">Scale Distribution - <span style="font-weight: normal;">each \r
236  next segment differs from the previous according to the formula:</span> \r
237  A<span style="vertical-align: Sub;">i+1</span> = A<span style="vertical-align: Sub;">i \r
238  </span>* k, <span style="font-weight: normal;">where</span> k <span style="font-weight: normal;">is \r
239  a</span> Scale Factor. </p>\r
240 \r
241 <p class="whs12"><img src="../pics/a-nbsegments2.png" x-maintain-ratio="TRUE" width="332px" height="264px" border="0" class="img_whs15">\</p>\r
242 \r
243 <p class="whs9">&nbsp;</p>\r
244 \r
245 <p class="whs9">Distribution with Table Density - <span style="font-weight: normal;">you \r
246  input a number of pairs</span> t - F(t),<span style="font-weight: normal;"> \r
247  where </span>t<span style="font-weight: normal;"> ranges from 0 to 1,</span> \r
248  &nbsp;<span style="font-weight: normal;">and \r
249  the module computes the formula, which will rule the change of length \r
250  of segments and shows the curve in the plot. You can select the </span>Conversion \r
251  mode<span style="font-weight: normal;"> from </span>Exponent<span style="font-weight: normal;"> \r
252  and </span>Cut negative<span style="font-weight: normal;">. </span></p>\r
253 \r
254 <p class="whs9">&nbsp;</p>\r
255 \r
256 <p class="whs12"><img src="../pics/distributionwithtabledensity.png" x-maintain-ratio="TRUE" width="368px" height="760px" border="0" class="img_whs16"></p>\r
257 \r
258 <p class="whs9">&nbsp;</p>\r
259 \r
260 <p class="whs9">Distribution with Analytic Density - <span \r
261  style="font-weight: normal;">you input the formula, which will rule the \r
262  change of length of segments and the module shows the curve in the plot.</span></p>\r
263 \r
264 <h3 class="whs17"><img src="../pics/distributionwithanalyticdensity.png" x-maintain-ratio="TRUE" width="365px" height="605px" border="0" class="img_whs18"></h3>\r
265 \r
266 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
267  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark9">Defining \r
268  Number of Segments hypothesis</a> operation. &nbsp;</p>\r
269 \r
270 <h3>&nbsp;</h3>\r
271 \r
272 <h3><a name=start_and_end_length>Start and End Length hypothesis.</a></h3>\r
273 \r
274 <p><span style="font-weight: bold;"><B>Start and End Length</B></span> hypothesis \r
275  allows to divide a geometrical edge into segments so that the first and \r
276  the last segments have a specified length. The length of each but the \r
277  first segment differs from length of the previous one by a constant factor. \r
278  Then mesh nodes are constructed at segment ends location and 1D mesh elements \r
279  are constructed on them.</p>\r
280 \r
281 <p>&nbsp;</p>\r
282 \r
283 <p class="whs3"><img src="../pics/a-startendlength.png" x-maintain-ratio="TRUE" width="332px" height="238px" border="0" class="img_whs4"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../pics/b-art_end_length.png" x-maintain-ratio="TRUE" width="287px" height="305px" border="0" class="img_whs19"></p>\r
284 \r
285 <p class="whs6">&nbsp;</p>\r
286 \r
287 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
288  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark3">Defining \r
289  Start and End Length &nbsp;hypothesis</a> \r
290  operation. &nbsp;</p>\r
291 \r
292 <p class="whs6">&nbsp;</p>\r
293 \r
294 <h3><a name=automatic_length>Automatic Length</a></h3>\r
295 \r
296 <p>This hypothesis is automatically applied when you select <span style="font-weight: bold;"><B>Assign \r
297  a set of hypotheses</B></span> option in Create Mesh menu. </p>\r
298 \r
299 <p>&nbsp;</p>\r
300 \r
301 <p class="whs3"><img src="../pics/automaticlength.png" x-maintain-ratio="TRUE" width="205px" height="175px" border="0" class="img_whs20"> </p>\r
302 \r
303 <p>&nbsp;</p>\r
304 \r
305 <p>The dialog box prompts you to define the quality of the future mesh \r
306  by only one parameter, which is <span style="font-weight: bold;"><B>Fineness</B></span>, \r
307  ranging from 0 (coarse mesh, low number of elements) to 1 (extremely fine \r
308  mesh, great number of elements). Compare one and the same object (sphere) \r
309  meshed with minimum and maximum value of this parameter. </p>\r
310 \r
311 <p>&nbsp;</p>\r
312 \r
313 <p class="whs3"><img src="../image147.gif" width="195px" height="192px" border="0" class="img_whs21"> &nbsp;&nbsp;&nbsp;<img src="../image148.gif" width="206px" height="195px" border="0" class="img_whs22"></p>\r
314 \r
315 <p>&nbsp;</p>\r
316 \r
317 <p>&nbsp;</p>\r
318 \r
319 <p>&nbsp;</p>\r
320 \r
321 <p>&nbsp;</p>\r
322 \r
323 <script type="text/javascript" language="javascript1.2">\r
324 <!--\r
325 if (window.writeIntopicBar)\r
326         writeIntopicBar(0);\r
327 //-->\r
328 </script>\r
329 </body>\r
330 </html>\r