Salome HOME
Porting GUI documentation on Doxygen tool.
[modules/smesh.git] / doc / salome / gui / SMESH / input / creating_groups.doc
1 /*!
2
3 \page creating_groups_page Creating groups
4
5 \n In MESH you can create groups of elements of different types. To
6 create a group of elements in the \b Mesh menu select <b>Create
7 Group</b>.
8 \n To create any group you should define the following:
9 <ul>
10 <li><b>Mesh</b> - the name of the mesh whose elements will form your
11 group. You can select your mesh in the Objet Browser or in the 3D
12 viewer.</li>
13 <li><b>Elements Type</b> - set of radio buttons allows to select the type of
14 elements which will form your group:</li>
15 <ul>
16 <li><b>Nodes</b></li>
17 <li><b>Edges</b></li>
18 <li><b>Faces</b></li>
19 <li><b>Volumes</b></li>
20 </ul>
21 <li><b>Name</b> field allows to enter the name of your new group.</li>
22 </ul>
23 SALOME Platform distinguishes between the two Group types:
24 <b>Standalone Group</b> and <b>Group on Geometry</b>.
25
26 <br><h2>Standalone Group</h2>
27
28 <b>Standalone Group</b> consists of mesh elements, which you can define in
29 two possible ways.
30 <ul>
31 <li>Choosing them manually with the mouse in the 3D Viewer. You can
32 click on an element in the 3D viewer and it will be highlighted. After
33 that click the \b Add button and the ID of this element will be added to
34 the list.</li>
35 <li>Applying Filters. The <b>Set filter</b> button allows to apply a
36 definite filter to selection of the elements of your group. See more
37 about filters on the
38 \ref selection_filter_library_page "Selection filter library" page.</li>
39 </ul>
40 To remove a selected element or elements from the list click the
41 \b Remove button. The <b>Sort List</b> button allows to sort the list of IDs of
42 mesh elements.
43 \n <b>Select from</b> set of fields allows to choose a submesh or an existing
44 group whose elements of the previously defined type will be added to
45 the list of elements which will form your group.
46 \n <b>Color Number</b> (integer only, ranging from 0 to 9999) - allows to
47 assign to the group a certain index, for example, defining boundary
48 conditions. This feature introduces a useful element of preprocessing
49 in Mesh module. Note that <b>Color number</b> attribute has nothing to do
50 with the colors used for the display of the elements of the group.
51
52 \image html creategroup.png
53
54 \image html image130.gif
55 <center>In this picture the brown cells belong to a group defined manually.</center>
56
57 \image html image131.gif
58 <center>In this picture the brown cells belong to the group defined by the criterion 
59 <b>Taper > 0</b>.</center>
60
61 <b>See Also</b> a sample TUI Script of a 
62 \ref tui_create_standalone_group "Create a Standalone Group"
63 operation.  
64
65 <br><h2>Group on Geometry</h2>
66
67 To create a group on geometry check <b>Group on geometry</b> in the \b Group
68 \b type field. <b>Group on geometry</b> contains the elements of a certain type
69 belonging to the selected geometrical object. To define a group select
70 in the Objet Browser or in the 3D viewer a geometrical object from
71 which the elements will be taken. After confirmation of the operation
72 a new group of mesh elements will be created.
73
74 \image html a-creategroup.png
75
76 \image html image132.gif
77 <center>In this picture the cells which belong to a certain face are
78 selected in green.</center>
79
80 <b>See Also</b> a sample TUI Script of a 
81 \ref tui_create_group_on_geometry "Create a Group on Geometry"
82 operation.
83
84 */