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