1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
6 <title>Creating groups</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">
11 if (navigator.appName !="Netscape")
12 { document.write("<link rel='stylesheet' href='../default.css'>");}
15 <style type="text/css">
17 p.whs1 { font-weight:bold; }
18 img_whs2 { border:none; width:30px; height:30px; float:none; border-style:none; }
19 p.whs3 { margin-left:40px; font-weight:normal; }
20 ul.whs4 { list-style:disc; }
21 p.whs5 { font-weight:bold; margin-left:40px; }
22 p.whs6 { margin-left:40px; font-weight:bold; }
23 p.whs7 { margin-left:40px; }
24 p.whs8 { margin-left:36px; }
25 table.whs9 { x-cell-content-align:top; width:100%; border-spacing:0px; }
26 col.whs10 { width:33.382%; }
27 col.whs11 { width:66.618%; }
28 tr.whs12 { x-cell-content-align:top; height:587px; }
29 td.whs13 { width:33.382%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }
30 img_whs14 { border:none; width:312px; height:621px; float:none; border-style:none; }
31 td.whs15 { width:66.618%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
32 p.whs16 { margin-left:0px; }
33 img_whs17 { border:none; width:145px; height:150px; border-style:none; float:left; }
34 img_whs18 { border:none; width:149px; height:158px; border-style:none; }
35 col.whs19 { width:33.48%; }
36 col.whs20 { width:66.52%; }
37 tr.whs21 { x-cell-content-align:top; }
38 td.whs22 { width:33.48%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
39 img_whs23 { border:none; width:312px; height:312px; float:none; border-style:none; }
40 td.whs24 { width:66.52%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
41 img_whs25 { border:none; width:135px; height:150px; border-style:none; }
42 p.whs26 { margin-left:80px; }
44 </style><script type="text/javascript" language="JavaScript">
46 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
48 var strNSS = "<style type='text/css'>";
49 strNSS += "p.whs16 {margin-left:1pt; }";
51 document.write(strNSS);
55 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
58 if (innerWidth != origWidth || innerHeight != origHeight)
61 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
62 origWidth = innerWidth;
63 origHeight = innerHeight;
69 <style type="text/css">
71 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
72 p.WebHelpNavBar { text-align:right; }
74 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
75 <script type="text/javascript" language="javascript" src="../whver.js"></script>
76 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
77 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
78 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
79 <script type="text/javascript" language="javascript1.2">
83 if (window.setRelStartPage)
85 addTocInfo("MESH module\nGrouping elements\nCreating groups");
86 addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
87 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
92 if (window.setRelStartPage)
94 setRelStartPage("../index.htm");
104 document.location.reload();
108 <body><script type="text/javascript" language="javascript1.2">
110 if (window.writeIntopicBar)
114 <h1>Creating groups</h1>
116 <p class="whs1"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs2"> <span
117 style="font-weight: normal;">In MESH you
118 can create groups of elements of different types. To create a group of
119 elements</span><span style="font-weight: normal; margin-left: 40px;">
120 in the </span><span style="margin-left: 40px;">Mesh</span><span style="font-weight: normal; margin-left: 40px;">
121 menu select </span><span style="margin-left: 40px;">Create Group</span><span
122 style="font-weight: normal; margin-left: 40px;">.</span><span style="margin-left: 40px;">
125 <p class="whs3">To create any group
126 you should define the following: </p>
128 <ul type="disc" class="whs4">
130 <li class=kadov-p><p class="whs5">Mesh:
131 <span style="font-weight: normal;">the name of the mesh whose elements
132 will form your group. You can select your mesh in the Objet Browser or
133 in the 3D viewer.</span></p></li>
135 <li class=kadov-p><p class="whs3"><span
136 style="font-weight: bold;"><B>Elements</B></span> <span style="font-weight: bold;"><B>Type</B></span>
137 set of radio buttons allows to select the type of elements which will
138 form your group:</p></li>
140 <ul type="disc" class="whs4">
142 <li class=kadov-p><p class="whs6">Nodes</p></li>
144 <li class=kadov-p><p class="whs6">Edges
147 <li class=kadov-p><p class="whs6">Faces</p></li>
149 <li class=kadov-p><p class="whs6">Volumes</p></li>
152 <li class=kadov-p><p class="whs3"><span
153 style="font-weight: bold;"><B>Name </B></span>field allows to enter the name
154 of your new group.</p></li>
157 <p class="whs3">SALOME Platform distinguishes
158 between the two Group types: <span style="font-weight: bold;"><B>Standalone
159 Group</B></span> and <span style="font-weight: bold;"><B>Group on Geometry</B></span>.
162 <h3>Standalone Group </h3>
164 <p class="whs7"><span style="font-weight: bold;"><B>Standalone
165 Group</B></span> consists of mesh elements, which you can define in two possible
168 <ul type="disc" class="whs4">
170 <li class=kadov-p><p class="whs8">Choosing them manually
171 with the mouse in the 3D Viewer. You can click on an element in the 3D
172 viewer and it will be highlighted. After that click the <span style="font-weight: bold;"><B>Add
173 </B></span>button and the ID of this element will be added to the list. </p></li>
175 <li class=kadov-p><p class="whs7">Applying Filters. The
176 <span style="font-weight: bold;"><B>Set filter </B></span>button allows to apply
177 a definite filter to selection of the elements of your group. See more
178 about filters on the <a href="../selection_filter_library.htm">Selection
179 filter library</a> page. </p></li>
182 <p class="whs7">To remove a selected element or elements
183 from the list click the <span style="font-weight: bold;"><B>Remove </B></span>button.
184 The <span style="font-weight: bold;"><B>Sort List </B></span>button allows to
185 sort the list of IDs of mesh elements. </p>
187 <p class="whs7"><span style="font-weight: bold;"><B>Select from
188 </B></span>set of fields allows to choose a submesh or an existing group whose
189 elements of the previously defined type will be added to the list of elements
190 which will form your group. </p>
192 <p class="whs7"><span style="font-weight: bold;"><B>Color Number</B></span>
193 (integer only, ranging from 0 to 9999) - allows to assign to the group
194 a certain index, for example, defining boundary conditions. This feature
195 introduces a useful element of preprocessing in Mesh module. Note that
196 <span style="font-weight: bold;"><B>Color number</B></span> attribute has nothing
197 to do with the colors used for the display of the elements of the group.</p>
199 <p class="whs7"> </p>
201 <table x-use-null-cells cellspacing="0" width="100%" class="whs9">
205 <tr valign="top" class="whs12">
206 <td width="33.382%" class="whs13">
207 <p class="whs1"><img src="../pics/creategroup.png" x-maintain-ratio="TRUE" width="312px" height="621px" border="0" class="img_whs14"></td>
208 <td width="66.618%" class="whs15">
209 <p class="whs16"><img src="../image130.gif" width="145px" height="150px" align="left" border="0" class="img_whs17"> </p>
210 <p class="whs16"> </p>
211 <p class="whs16"> </p>
212 <p class="whs16"> </p>
213 <p class="whs16"> </p>
214 <p class="whs16"> </p>
215 <p class="whs16">In this picture the brown cells belong to
216 a group defined manually.</p>
217 <p class="whs16"> </p>
218 <p class="whs16"> <img src="../image131.gif" width="149px" height="158px" border="0" class="img_whs18"> In this picture the brown cells belong to the group defined
219 by the criterion <br>
221 <p class="whs16"> </p>
222 <p class="whs16"> </td></tr>
225 <p class="whs7"> </p>
227 <p class="whs5"> See
228 Also a sample TUI Script of a <a href="../grouping_elements.htm#bookmark">Create
229 a Standalone Group</a> operation. </p>
231 <h3>Group on Geometry </h3>
233 <p class="whs3">To create a group on
234 geometry check <span style="font-weight: bold;"><B>Group on geometry</B></span>
235 in the <span style="font-weight: bold;"><B>Group type</B></span> field. <span
236 style="font-weight: bold;"><B>Group on geometry </B></span>contains the elements
237 of a certain type belonging to the selected<span style="font-weight: bold;">
238 <B></B></span>geometrical object. To define a group select in the Objet Browser
239 or in the 3D viewer a geometrical object from which the elements will
240 be taken. After confirmation of the operation a new group of mesh elements
243 <p class="whs3"> </p>
245 <table x-use-null-cells cellspacing="0" width="100%" class="whs9">
249 <tr valign="top" class="whs21">
250 <td width="33.48%" class="whs22">
251 <p><img src="../pics/a-creategroup.png" x-maintain-ratio="TRUE" width="312px" height="312px" border="0" class="img_whs23"></td>
252 <td width="66.52%" class="whs24">
253 <p><img src="../image132.gif" width="135px" height="150px" border="0" class="img_whs25"> In this picture the cells which belong to a certain face
254 are selected in green. </td></tr>
257 <p class="whs3"> </p>
259 <p class="whs6"> See
260 Also a sample TUI Script of a <a href="../grouping_elements.htm#bookmark5">Create
261 a Group on Geometry</a><a href="../grouping_elements.htm#bookmark"> </a>operation.
268 <p class="whs16"> </p>
270 <p class="whs26"> </p>
274 <script type="text/javascript" language="javascript1.2">
276 if (window.writeIntopicBar)