Salome HOME
Fix for NPAL17873.
[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\r
186  can be applied for meshing of edges composing your geometrical\r
187  object. Definition of this hypothesis consists of setting the\r
188  <span style="font-weight: bold;"><B>length </B></span>of segments,\r
189  which will split these edges, and the <span style="font-weight:bold;"><B>precision </B></span>\r
190  of rounding. The points on the edges generated by these segments will represent nodes of your\r
191  mesh. Later these nodes will be used for meshing of the faces abutting\r
192  to these edges.</p>\r
193 \r
194 <p>&nbsp;</p>\r
195 \r
196 <p>The <span style="font-weight: bold;"><B>precision </B></span>\r
197  parameter is used to allow rounding a number of\r
198  segments, calculated from the edge length and average length of\r
199  segment, to the lower integer, if this value outstands from it in\r
200  bounds of the precision. Otherwise, the number of segments is rounded\r
201  to the higher integer. Use value 0.5 to provide rounding to the\r
202  nearest integer, 1.0 for the lower integer, 0.0 for the higher\r
203  integer. Default value is 1e-07.</p>\r
204 \r
205 <p>&nbsp;</p>\r
206 \r
207 <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
208 \r
209 <p>&nbsp;</p>\r
210 \r
211 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
212  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark3">Defining \r
213  Average Length hypothesis</a> operation. &nbsp;</p>\r
214 \r
215 <p>&nbsp;</p>\r
216 \r
217 <p class="whs12"><img src="../image46.gif" x-maintain-ratio="TRUE" width="431px" height="233px" align="right" border="0" class="img_whs13"></p>\r
218 \r
219 <h3><a name=Number_of_elements>Number of segments hypothesis</a> </h3>\r
220 \r
221 <p><span style="font-weight: bold;"><B>Number of segments </B></span>hypothesis \r
222  can be applied for meshing of edges composing your geometrical object. \r
223  Definition of this hypothesis consists of setting the <span style="font-weight: bold;"><B>number</B></span> \r
224  of segments, which will split these edges. In other words your edges will \r
225  be split into a definite number of segments with approximately the same \r
226  length. The points on the edges generated by these segments will represent \r
227  nodes of your mesh. Later these nodes will be used for meshing of the \r
228  faces abutting to these edges.</p>\r
229 \r
230 <p>&nbsp;</p>\r
231 \r
232 <p class="whs6">You can set the type of distribution for this \r
233  hypothesis in the <span style="font-weight: bold;"><B>Hypothesis Construction</B></span> \r
234  dialog bog : </p>\r
235 \r
236 <p class="whs6">&nbsp;</p>\r
237 \r
238 <p class="whs6"><span style="font-weight: bold;"><B>Equidistant \r
239  Distribution</B></span> - all segments will have the same length, you define \r
240  only the <span style="font-weight: bold;"><B>Number of Segments</B></span>.</p>\r
241 \r
242 <p class="whs6">&nbsp;</p>\r
243 \r
244 <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
245 \r
246 <p>&nbsp;</p>\r
247 \r
248 <p class="whs9">Scale Distribution - <span style="font-weight: normal;">each \r
249  next segment differs from the previous according to the formula:</span> \r
250  A<span style="vertical-align: Sub;">i+1</span> = A<span style="vertical-align: Sub;">i \r
251  </span>* k, <span style="font-weight: normal;">where</span> k <span style="font-weight: normal;">is \r
252  a</span> Scale Factor. </p>\r
253 \r
254 <p class="whs12"><img src="../pics/a-nbsegments2.png" x-maintain-ratio="TRUE" width="332px" height="264px" border="0" class="img_whs15">\</p>\r
255 \r
256 <p class="whs9">&nbsp;</p>\r
257 \r
258 <p class="whs9">Distribution with Table Density - <span style="font-weight: normal;">you \r
259  input a number of pairs</span> t - F(t),<span style="font-weight: normal;"> \r
260  where </span>t<span style="font-weight: normal;"> ranges from 0 to 1,</span> \r
261  &nbsp;<span style="font-weight: normal;">and \r
262  the module computes the formula, which will rule the change of length \r
263  of segments and shows the curve in the plot. You can select the </span>Conversion \r
264  mode<span style="font-weight: normal;"> from </span>Exponent<span style="font-weight: normal;"> \r
265  and </span>Cut negative<span style="font-weight: normal;">. </span></p>\r
266 \r
267 <p class="whs9">&nbsp;</p>\r
268 \r
269 <p class="whs12"><img src="../pics/distributionwithtabledensity.png" x-maintain-ratio="TRUE" width="368px" height="760px" border="0" class="img_whs16"></p>\r
270 \r
271 <p class="whs9">&nbsp;</p>\r
272 \r
273 <p class="whs9">Distribution with Analytic Density - <span \r
274  style="font-weight: normal;">you input the formula, which will rule the \r
275  change of length of segments and the module shows the curve in the plot.</span></p>\r
276 \r
277 <h3 class="whs17"><img src="../pics/distributionwithanalyticdensity.png" x-maintain-ratio="TRUE" width="365px" height="605px" border="0" class="img_whs18"></h3>\r
278 \r
279 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
280  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark9">Defining \r
281  Number of Segments hypothesis</a> operation. &nbsp;</p>\r
282 \r
283 <h3>&nbsp;</h3>\r
284 \r
285 <h3><a name=start_and_end_length>Start and End Length hypothesis.</a></h3>\r
286 \r
287 <p><span style="font-weight: bold;"><B>Start and End Length</B></span> hypothesis \r
288  allows to divide a geometrical edge into segments so that the first and \r
289  the last segments have a specified length. The length of each but the \r
290  first segment differs from length of the previous one by a constant factor. \r
291  Then mesh nodes are constructed at segment ends location and 1D mesh elements \r
292  are constructed on them.</p>\r
293 \r
294 <p>&nbsp;</p>\r
295 \r
296 <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
297 \r
298 <p class="whs6">&nbsp;</p>\r
299 \r
300 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
301  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark3">Defining \r
302  Start and End Length &nbsp;hypothesis</a> \r
303  operation. &nbsp;</p>\r
304 \r
305 <p class="whs6">&nbsp;</p>\r
306 \r
307 <h3><a name=automatic_length>Automatic Length</a></h3>\r
308 \r
309 <p>This hypothesis is automatically applied when you select <span style="font-weight: bold;"><B>Assign \r
310  a set of hypotheses</B></span> option in Create Mesh menu. </p>\r
311 \r
312 <p>&nbsp;</p>\r
313 \r
314 <p class="whs3"><img src="../pics/automaticlength.png" x-maintain-ratio="TRUE" width="205px" height="175px" border="0" class="img_whs20"> </p>\r
315 \r
316 <p>&nbsp;</p>\r
317 \r
318 <p>The dialog box prompts you to define the quality of the future mesh \r
319  by only one parameter, which is <span style="font-weight: bold;"><B>Fineness</B></span>, \r
320  ranging from 0 (coarse mesh, low number of elements) to 1 (extremely fine \r
321  mesh, great number of elements). Compare one and the same object (sphere) \r
322  meshed with minimum and maximum value of this parameter. </p>\r
323 \r
324 <p>&nbsp;</p>\r
325 \r
326 <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
327 \r
328 <p>&nbsp;</p>\r
329 \r
330 <p>&nbsp;</p>\r
331 \r
332 <p>&nbsp;</p>\r
333 \r
334 <p>&nbsp;</p>\r
335 \r
336 <script type="text/javascript" language="javascript1.2">\r
337 <!--\r
338 if (window.writeIntopicBar)\r
339         writeIntopicBar(0);\r
340 //-->\r
341 </script>\r
342 </body>\r
343 </html>\r