Salome HOME
Join modifications from branch OCC_debug_for_3_2_0b1
[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 -->\r
70 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
71 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
72 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
73 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
74 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
75 </head>\r
76 <body><script type="text/javascript" language="javascript1.2">\r
77 <!--\r
78 if (window.gbWhTopic)\r
79 {\r
80         if (window.addTocInfo)\r
81         {\r
82         addTocInfo("MESH module\nCreating meshes\nDefining hypotheses\n1D Meshing Hypotheses");\r
83 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
84 \r
85         }\r
86         if (window.writeBtnStyle)\r
87                 writeBtnStyle();\r
88 \r
89         if (window.writeIntopicBar)\r
90                 writeIntopicBar(1);\r
91 \r
92         if (window.setRelStartPage)\r
93         {\r
94         setRelStartPage("../smesh.htm");\r
95 \r
96                 autoSync(1);\r
97                 sendSyncInfo();\r
98                 sendAveInfoOut();\r
99         }\r
100 }\r
101 else\r
102         if (window.gbIE4)\r
103                 document.location.reload();\r
104 //-->\r
105 </script>\r
106 <h1>1D Meshing Hypotheses</h1>\r
107 \r
108 <ul type="disc" class="whs1">\r
109         \r
110         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
111                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#arithmetic_1D"><span \r
112  style="font-weight: bold;"><B>Arithmetic 1D</B></span></a></p></li>\r
113         \r
114         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
115                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#Average_length"><span \r
116  style="font-weight: bold;"><B>Average Length</B></span></a></p></li>\r
117         \r
118         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
119                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#deflection_1D"><span \r
120  style="font-weight: bold;"><B>Deflection 1D </B></span></a></p></li>\r
121         \r
122         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
123                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#Number_of_elements"><span \r
124  style="font-weight: bold;"><B>Number of segments</B></span></a></p></li>\r
125         \r
126         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
127                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#start_and_end_length"><span \r
128  style="font-weight: bold;"><B>Start and end length</B></span></a></p></li>\r
129         \r
130         <li style="/*begin!kadov{{*/ color: #000000; /*}}end!kadov*/ "\r
131                 class=kadov-p><p class="whs2"><a href="arithmetic_1d.htm#automatic_length"><span \r
132  style="font-weight: bold;"><B>Automatic Length</B></span></a></p></li>\r
133 </ul>\r
134 \r
135 <h3><a name=arithmetic_1D>Arithmetic 1D hypothesis</a></h3>\r
136 \r
137 <p><span style="font-weight: bold;"><B>Arithmetic 1D</B></span> hypothesis allows \r
138  to split edges into segments with a length that changes in arithmetic \r
139  progression (Lk = Lk-1 + d) beginning from a given starting length and \r
140  up to a given end length.</p>\r
141 \r
142 <p>&nbsp;</p>\r
143 \r
144 <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
145 \r
146 <p>&nbsp;</p>\r
147 \r
148 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
149  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark">Defining \r
150  Arithmetic 1D hypothesis</a> operation. &nbsp;</p>\r
151 \r
152 <h3><a name=deflection_1D>Deflection 1D hypothesis</a></h3>\r
153 \r
154 <p><span style="font-weight: bold;"><B>Deflection ID </B></span>hypothesis can \r
155  be applied for meshing curvilinear edges composing your geometrical object. \r
156  It uses only one parameter: the value of deflection. &nbsp;</p>\r
157 \r
158 <p>A geometrical edge is divided into equal segments. The maximum distance \r
159  between a point on the edge within a segment and the line connecting the \r
160  ends of the segment should not exceed the specified value of deflection \r
161  . Then mesh nodes are constructed at end segment locations and 1D mesh \r
162  elements are constructed on segments.</p>\r
163 \r
164 <p>&nbsp;</p>\r
165 \r
166 <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
167 \r
168 <p>&nbsp;</p>\r
169 \r
170 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
171  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark9">Defining \r
172  Deflection 1D hypothesis</a> operation. &nbsp;</p>\r
173 \r
174 <p>&nbsp;</p>\r
175 \r
176 <p class="whs9"><img src="../image41.gif" x-maintain-ratio="TRUE" width="367px" height="224px" align="right" border="0" class="img_whs10"></p>\r
177 \r
178 <h3><a name=Average_length>Average Length hypothesis</a></h3>\r
179 \r
180 <p><span style="font-weight: bold;"><B>Average Length </B></span>hypothesis can \r
181  be applied for meshing of edges composing your geometrical object. Definition \r
182  of this hypothesis consists of setting the <span style="font-weight: bold;"><B>length</B></span> \r
183  of segments, which will split these edges. The points on the edges generated \r
184  by these segments will represent nodes of your mesh. Later these nodes \r
185  will be used for meshing of the faces abutting to these edges.</p>\r
186 \r
187 <p>&nbsp;</p>\r
188 \r
189 <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
190 \r
191 <p>&nbsp;</p>\r
192 \r
193 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
194  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark3">Defining \r
195  Average Length hypothesis</a> operation. &nbsp;</p>\r
196 \r
197 <p>&nbsp;</p>\r
198 \r
199 <p class="whs12"><img src="../image46.gif" x-maintain-ratio="TRUE" width="431px" height="233px" align="right" border="0" class="img_whs13"></p>\r
200 \r
201 <h3><a name=Number_of_elements>Number of segments hypothesis</a> </h3>\r
202 \r
203 <p><span style="font-weight: bold;"><B>Number of segments </B></span>hypothesis \r
204  can be applied for meshing of edges composing your geometrical object. \r
205  Definition of this hypothesis consists of setting the <span style="font-weight: bold;"><B>number</B></span> \r
206  of segments, which will split these edges. In other words your edges will \r
207  be split into a definite number of segments with approximately the same \r
208  length. The points on the edges generated by these segments will represent \r
209  nodes of your mesh. Later these nodes will be used for meshing of the \r
210  faces abutting to these edges.</p>\r
211 \r
212 <p>&nbsp;</p>\r
213 \r
214 <p class="whs6">You can set the type of distribution for this \r
215  hypothesis in the <span style="font-weight: bold;"><B>Hypothesis Construction</B></span> \r
216  dialog bog : </p>\r
217 \r
218 <p class="whs6">&nbsp;</p>\r
219 \r
220 <p class="whs6"><span style="font-weight: bold;"><B>Equidistant \r
221  Distribution</B></span> - all segments will have the same length, you define \r
222  only the <span style="font-weight: bold;"><B>Number of Segments</B></span>.</p>\r
223 \r
224 <p class="whs6">&nbsp;</p>\r
225 \r
226 <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
227 \r
228 <p>&nbsp;</p>\r
229 \r
230 <p class="whs9">Scale Distribution - <span style="font-weight: normal;">each \r
231  next segment differs from the previous according to the formula:</span> \r
232  A<span style="vertical-align: Sub;">i+1</span> = A<span style="vertical-align: Sub;">i \r
233  </span>* k, <span style="font-weight: normal;">where</span> k <span style="font-weight: normal;">is \r
234  a</span> Scale Factor. </p>\r
235 \r
236 <p class="whs12"><img src="../pics/a-nbsegments2.png" x-maintain-ratio="TRUE" width="332px" height="264px" border="0" class="img_whs15">\</p>\r
237 \r
238 <p class="whs9">&nbsp;</p>\r
239 \r
240 <p class="whs9">Distribution with Table Density - <span style="font-weight: normal;">you \r
241  input a number of pairs</span> t - F(t),<span style="font-weight: normal;"> \r
242  where </span>t<span style="font-weight: normal;"> ranges from 0 to 1,</span> \r
243  &nbsp;<span style="font-weight: normal;">and \r
244  the module computes the formula, which will rule the change of length \r
245  of segments and shows the curve in the plot. You can select the </span>Conversion \r
246  mode<span style="font-weight: normal;"> from </span>Exponent<span style="font-weight: normal;"> \r
247  and </span>Cut negative<span style="font-weight: normal;">. </span></p>\r
248 \r
249 <p class="whs9">&nbsp;</p>\r
250 \r
251 <p class="whs12"><img src="../pics/distributionwithtabledensity.png" x-maintain-ratio="TRUE" width="368px" height="760px" border="0" class="img_whs16"></p>\r
252 \r
253 <p class="whs9">&nbsp;</p>\r
254 \r
255 <p class="whs9">Distribution with Analytic Density - <span \r
256  style="font-weight: normal;">you input the formula, which will rule the \r
257  change of length of segments and the module shows the curve in the plot.</span></p>\r
258 \r
259 <h3 class="whs17"><img src="../pics/distributionwithanalyticdensity.png" x-maintain-ratio="TRUE" width="365px" height="605px" border="0" class="img_whs18"></h3>\r
260 \r
261 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
262  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark9">Defining \r
263  Number of Segments hypothesis</a> operation. &nbsp;</p>\r
264 \r
265 <h3>&nbsp;</h3>\r
266 \r
267 <h3><a name=start_and_end_length>Start and End Length hypothesis.</a></h3>\r
268 \r
269 <p><span style="font-weight: bold;"><B>Start and End Length</B></span> hypothesis \r
270  allows to divide a geometrical edge into segments so that the first and \r
271  the last segments have a specified length. The length of each but the \r
272  first segment differs from length of the previous one by a constant factor. \r
273  Then mesh nodes are constructed at segment ends location and 1D mesh elements \r
274  are constructed on them.</p>\r
275 \r
276 <p>&nbsp;</p>\r
277 \r
278 <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
279 \r
280 <p class="whs6">&nbsp;</p>\r
281 \r
282 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
283  a sample TUI Script of a <a href="../defining_hypotheses_tui.htm#bookmark3">Defining \r
284  Start and End Length &nbsp;hypothesis</a> \r
285  operation. &nbsp;</p>\r
286 \r
287 <p class="whs6">&nbsp;</p>\r
288 \r
289 <h3><a name=automatic_length>Automatic Length</a></h3>\r
290 \r
291 <p>This hypothesis is automatically applied when you select <span style="font-weight: bold;"><B>Assign \r
292  a set of hypotheses</B></span> option in Create Mesh menu. </p>\r
293 \r
294 <p>&nbsp;</p>\r
295 \r
296 <p class="whs3"><img src="../pics/automaticlength.png" x-maintain-ratio="TRUE" width="205px" height="175px" border="0" class="img_whs20"> </p>\r
297 \r
298 <p>&nbsp;</p>\r
299 \r
300 <p>The dialog box prompts you to define the quality of the future mesh \r
301  by only one parameter, which is <span style="font-weight: bold;"><B>Fineness</B></span>, \r
302  ranging from 0 (coarse mesh, low number of elements) to 1 (extremely fine \r
303  mesh, great number of elements). Compare one and the same object (sphere) \r
304  meshed with minimum and maximum value of this parameter. </p>\r
305 \r
306 <p>&nbsp;</p>\r
307 \r
308 <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
309 \r
310 <p>&nbsp;</p>\r
311 \r
312 <p>&nbsp;</p>\r
313 \r
314 <p>&nbsp;</p>\r
315 \r
316 <p>&nbsp;</p>\r
317 \r
318 <script type="text/javascript" language="javascript1.2">\r
319 <!--\r
320 if (window.writeIntopicBar)\r
321         writeIntopicBar(0);\r
322 //-->\r
323 </script>\r
324 </body>\r
325 </html>\r