Salome HOME
Update SMESH documentation
[modules/smesh.git] / doc / salome / gui / SMESH / input / about_meshes.doc
1 /*!
2
3 \page about_meshes_page About meshes
4
5 \n \b MESH represents a discretization of a geometrical CAD model into
6 a set of entities with a simple topology. 
7
8 Meshes are stored in DAT, MED and UNV formats and can be
9 \subpage importing_exporting_meshes_page "imported from and exported to"
10  the file in these formats.
11
12 However, it is possible to \subpage constructing_meshes_page "construct meshes" 
13 on the basis of geometrical shapes produced in the GEOM module.
14 It is also possible to \subpage constructing_submeshes_page "create mesh on a part of the geometrical object", 
15 for example, a face. 
16
17 Several created meshes can be \subpage building_compounds_page "combined into mesh compounds".
18
19 All created meshes and submeshes can be \subpage editing_meshes_page "edited".
20
21 There is also a possibility to preview the mesh before its whole computation. Please,
22 refer to the \subpage preview_meshes_page chapter for more details.
23
24 Meshes can be also using the MESH functions destined for 
25 \ref modifying_meshes_page "modification" of generated meshes.
26
27 The \b topology of a mesh is described by the relationships between its
28 entities including:
29
30 <ul>
31 <li>\b Node &mdash; 0D object of a mesh presented by a point with coordinates (x, y, z).</li>
32 <li>\b Edge &mdash; 1D element of a mesh defined by two nodes.</li>
33 <li>\b Face &mdash; 2D element of a mesh defined by three or four edges (closed contour).</li>
34 <li>\b Volume &mdash; 3D element of a mesh defined by several faces.</li>
35 </ul>
36
37 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;These entities are
38 considered as topological entities and they don't
39 imply any geometric representation. Only \b Nodes reference  geometric
40 representations of points with definite coordinates. The node entity
41 will contain  additional information about its position in the space
42 and its relations with the meshed CAD model. Its position could be
43 described in the following way:
44
45 <ul>
46 <li><b>2D position</b>. It is a free position defined by only two coordinates x,y.</li>
47 <li><b>3D position</b>. It is a free position defined by three coordinates x,y and z. </li>
48 <li><b>Surface position</b>. It characterizes the position of a node on a
49 geometric surface and is defined by the u,v position in the parametric
50 space of the corresponding surface.</li>
51 <li><b>Line position</b>. It characterizes the position of a node on a
52 geometric curve and is defined by the u parameter and the
53 corresponding curve.</li>
54 <li><b>Vertex position</b>. It characterizes the position of a node on a
55 geometric point of the meshed CAD model and is defined by the x,y,z
56 coordinates of the corresponding vertex.</li>
57 </ul>
58
59 <br><h2>Connections</h2>
60
61 Each mesh entity bounds 0 or more mesh entities of higher
62 dimension. In the same way each mesh entity is bounded by 0 or more
63 mesh entities of lower dimension:
64
65 <ul>
66 <li>A node bounds edges, faces and volumes</li>
67 <li>An edge bounds faces, and volumes</li>
68 <li>A face bounds volumes</li>
69 <li>A volume is bounded by faces, edges and nodes</li>
70 <li>A face is bounded by edges, and nodes</li>
71 <li>An edge is bounded by nodes</li>
72 </ul>
73
74 You can notice that there are two types of connections: \b inverse and
75 \b direct connections.
76
77 <br><h2>Inverse connections</h2>
78
79 This relationship has a particularity that the order of bounded
80 entities has not a direct meaning. Also the number of bounded entities
81 is not fixed.
82
83 \b Example: The edges surrounding a node. The 3rd edge has no more
84 sense that the 5th one.
85
86 <br><h2>Direct connections</h2>
87
88 This relationship has a particularity that the order of bounding
89 entities is meaningful. The number of bounding entities is fixed and
90 depends on the type of the entity (hexahedron, tetrahedron,?).
91
92 \b Example: An edge is composed of two nodes. A face is composed of 3
93 or 4 edges depending if we are dealing with triangles or quadrangles.
94
95 The connections are not only restricted to entities of one dimension
96 higher or lower. For example some algorithms may be interested to
97 retrieve all the faces surrounding a node.
98
99 */