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