Salome HOME
Nerge with PAL/SALOME 2.1.0d
[modules/smesh.git] / doc / salome / gui / SMESH / files / about_meshes.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>About meshes</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=1398>\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 {text-indent: 8px;}\r
40 p.whs4 {text-indent: 48px;}\r
41 h4.whs5 {text-indent: 1px;}\r
42 p.whs6 {text-indent: 1px;}\r
43 img_whs7 {border-style: none; border: none; width: 36px; height: 38px; float: none;}\r
44 p.whs8 {font-weight: bold; text-indent: 1px;}\r
45 -->\r
46 </style>\r
47 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
48 <!--\r
49 function reDo() {\r
50   if (innerWidth != origWidth || innerHeight != origHeight)\r
51      location.reload();\r
52 }\r
53 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
54         origWidth = innerWidth;\r
55         origHeight = innerHeight;\r
56         onresize = reDo;\r
57 }\r
58 onerror = null; \r
59 //-->\r
60 </script>\r
61 <style type="text/css">\r
62 <!--\r
63   div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
64 -->\r
65 </style>\r
66 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
67 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
68 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
69 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
70 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
71 </head>\r
72 \r
73 <!--(Body)==========================================================-->\r
74 \r
75 \r
76 <body>\r
77 \r
78 <script type="text/javascript" language="javascript1.2">\r
79 <!--\r
80 if (window.gbWhTopic)\r
81 {\r
82         if (window.addTocInfo)\r
83         {\r
84         addTocInfo("SMESH module\nCreating meshes\nAbout meshes");\r
85 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
86 \r
87         }\r
88         if (window.writeBtnStyle)\r
89                 writeBtnStyle();\r
90 \r
91         if (window.writeIntopicBar)\r
92                 writeIntopicBar(1);\r
93 \r
94         if (window.setRelStartPage)\r
95         {\r
96         setRelStartPage("../smesh.htm");\r
97 \r
98                 autoSync(0);\r
99                 sendSyncInfo();\r
100                 sendAveInfoOut();\r
101         }\r
102 }\r
103 else\r
104         document.location.reload();\r
105 //-->\r
106 </script>\r
107 <h1>About meshes</h1>\r
108 \r
109 <p><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> <span style="font-weight: bold;"><B>MESH</B></span> represents \r
110  a discretization of a geometrical CAD model into a set of entities with \r
111  a simple topology. In SMESH there are two options of creation of meshes, \r
112  you can:</p>\r
113 \r
114 <p>&nbsp;</p>\r
115 \r
116 <ul type="disc" class="whs2">\r
117         \r
118         <li class=kadov-p><p>generate meshes on the basis of geometrical shapes \r
119  produced in the GEOM module, </p></li>\r
120         \r
121         <li class=kadov-p><p>create your own meshes using the SMESH functions \r
122  destined for modification of generated meshes. More about this functionality \r
123  of SMESH see in the chapter "Modifying meshes". </p></li>\r
124 </ul>\r
125 \r
126 <p>&nbsp;</p>\r
127 \r
128 <p>The topology of a mesh is described by the relationships between its \r
129  entities including:</p>\r
130 \r
131 <p class="whs3">&nbsp;</p>\r
132 \r
133 <ul type="disc" class="whs2">\r
134         \r
135         <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Node</B></span> \r
136  \96 0D element of a mesh presented by a point with coordinates (x, y, z).</p></li>\r
137         \r
138         <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Edge</B></span> \r
139  \96 1D element of a mesh defined by two nodes.</p></li>\r
140         \r
141         <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Face</B></span> \r
142  \96 2D element of a mesh defined by three or four edges (closed contour).</p></li>\r
143         \r
144         <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Volume</B></span> \r
145  \96 3D element of a mesh defined by several faces.</p></li>\r
146 </ul>\r
147 \r
148 <p class="whs3">&nbsp;</p>\r
149 \r
150 <p class="whs4">These entities are considered as topological \r
151  entities and they don't imply any geometric representation. Only <span \r
152  style="font-weight: bold;"><B>Nodes</B></span> reference &nbsp;geometric \r
153  representations of points with definite coordinates. <span style="text-indent: 8px;">The \r
154  node entity will contain &nbsp;additional \r
155  information about its position in the space and its relations with the \r
156  meshed CAD model. Its position could be described in the following way:</span></p>\r
157 \r
158 <p class="whs4">&nbsp;</p>\r
159 \r
160 <ul type="disc" class="whs2">\r
161         \r
162         <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>2D \r
163  position</B></span>. It is a free position defined by only two coordinates \r
164  x,y.</p></li>\r
165         \r
166         <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>3D \r
167  position</B></span>. It is a free position defined by three coordinates x,y \r
168  and z.</p></li>\r
169         \r
170         <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Surface \r
171  position</B></span>. It characterizes the position of a node on a geometric \r
172  surface and is defined by the u,v position in the parametric space of \r
173  the corresponding surface.</p></li>\r
174         \r
175         <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Line \r
176  position</B></span>. It characterizes the position of a node on a geometric \r
177  curve and is defined by the u parameter and the corresponding curve.</p></li>\r
178         \r
179         <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Vertex \r
180  position</B></span>. It characterizes the position of a node on a geometric \r
181  point of the meshed CAD model and is defined by the x,y,z coordinates \r
182  of the corresponding vertex.</p></li>\r
183 </ul>\r
184 \r
185 <p class="whs3">&nbsp;</p>\r
186 \r
187 <p class="whs3">&nbsp;</p>\r
188 \r
189 <h4 class="whs5">Connections</h4>\r
190 \r
191 <p class="whs6">Each mesh entity bounds 0 or more mesh entities \r
192  of higher dimension. In the same way each mesh entity is bounded by 0 \r
193  or more mesh entities of lower dimension:</p>\r
194 \r
195 <p class="whs6">&nbsp;</p>\r
196 \r
197 <ul type="disc" class="whs2">\r
198         \r
199         <li class=kadov-p><p class="whs6">A node bounds edges, \r
200  faces and volumes</p></li>\r
201         \r
202         <li class=kadov-p><p class="whs6">An edge bounds faces, \r
203  and volumes</p></li>\r
204         \r
205         <li class=kadov-p><p class="whs6">A face bounds volumes</p></li>\r
206         \r
207         <li class=kadov-p><p class="whs6">A volume is bounded \r
208  by faces, edges and nodes</p></li>\r
209         \r
210         <li class=kadov-p><p class="whs6">A face is bounded by \r
211  edges, and nodes</p></li>\r
212         \r
213         <li class=kadov-p><p class="whs6">An edge is bounded by \r
214  nodes</p></li>\r
215 </ul>\r
216 \r
217 <p class="whs6">&nbsp;</p>\r
218 \r
219 <p class="whs6">You can notice that there are two types of \r
220  connections: <span style="font-weight: bold;"><B>inverse</B></span> and <span \r
221  style="font-weight: bold;"><B>direct</B></span> connections.</p>\r
222 \r
223 <p class="whs6">&nbsp;</p>\r
224 \r
225 <h4 class="whs5">Inverse connections</h4>\r
226 \r
227 <p class="whs6">&nbsp;</p>\r
228 \r
229 <p class="whs6">This relationship has a particularity that \r
230  the order of bounded entities has not a direct meaning. Also the number \r
231  of bounded entities is not fixed.</p>\r
232 \r
233 <p class="whs6">&nbsp;</p>\r
234 \r
235 <p class="whs6"><img src="../pics/exemple.gif" x-maintain-ratio="TRUE" width="36px" height="38px" border="0" class="img_whs7"> The edges surrounding a node. \r
236  The 3rd edge has no more sense that the 5th one.</p>\r
237 \r
238 <p class="whs6">&nbsp;</p>\r
239 \r
240 <p class="whs8">Direct connections</p>\r
241 \r
242 <p class="whs6">&nbsp;</p>\r
243 \r
244 <p class="whs6">This relationship has a particularity that \r
245  the order of bounding entities is meaningful. The number of bounding entities \r
246  is fixed and depends on the type of the entity (hexahedron, tetrahedron,\85).</p>\r
247 \r
248 <p class="whs6">&nbsp;</p>\r
249 \r
250 <p class="whs6"><img src="../pics/exemple.gif" x-maintain-ratio="TRUE" width="36px" height="38px" border="0" class="img_whs7"> An edge is composed of two \r
251  nodes. A face is composed of 3 or 4 edges depending if we are dealing \r
252  with triangles or quadrangles.</p>\r
253 \r
254 <p class="whs6">&nbsp;</p>\r
255 \r
256 <p class="whs6">The connections are not only restricted to \r
257  entities of one dimension higher or lower. For example some algorithms \r
258  may be interested to retrieve all the faces surrounding a node.</p>\r
259 \r
260 <p class="whs6">&nbsp;</p>\r
261 \r
262 <p class="whs6">&nbsp;</p>\r
263 \r
264 <p class="whs6">&nbsp;</p>\r
265 \r
266 <script type="text/javascript" language="javascript1.2">\r
267 <!--\r
268 if (window.writeIntopicBar)\r
269         writeIntopicBar(0);\r
270 //-->\r
271 </script>\r
272 </body>\r
273 \r
274 </html>\r