1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
6 <title>Adding nodes and elements</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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='../default.css'>");}
\r
15 <style type="text/css">
\r
17 ul.whs1 { list-style:disc; }
\r
18 p.whs2 { font-weight:bold; }
\r
19 p.whs3 { margin-left:40px; }
\r
20 img_whs4 { border:none; width:157px; height:132px; border-style:none; }
\r
21 img_whs5 { border:none; width:332px; height:222px; float:none; border-style:none; }
\r
22 img_whs6 { border:none; border-style:none; width:257px; height:247px; float:none; }
\r
23 img_whs7 { border:none; width:332px; height:231px; float:none; border-style:none; }
\r
24 img_whs8 { border:none; width:260px; height:255px; float:none; }
\r
25 img_whs9 { border:none; width:332px; height:257px; float:none; border-style:none; }
\r
26 img_whs10 { border:none; width:275px; height:254px; float:none; }
\r
27 h4.whs11 { margin-left:40px; }
\r
28 img_whs12 { border:none; float:none; width:280px; height:258px; }
\r
29 img_whs13 { border:none; width:251px; height:258px; float:none; }
\r
30 img_whs14 { border:none; width:350px; height:184px; border-style:none; }
\r
31 img_whs15 { border:none; width:332px; height:430px; float:none; border-style:none; }
\r
32 img_whs16 { border:none; width:369px; height:360px; float:none; }
\r
34 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
37 if (innerWidth != origWidth || innerHeight != origHeight)
\r
40 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
41 origWidth = innerWidth;
\r
42 origHeight = innerHeight;
\r
48 <style type="text/css">
\r
50 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
52 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
\r
53 <script type="text/javascript" language="javascript" src="../whver.js"></script>
\r
54 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
\r
55 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
\r
56 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
\r
58 <body><script type="text/javascript" language="javascript1.2">
\r
60 if (window.gbWhTopic)
\r
62 if (window.addTocInfo)
\r
64 addTocInfo("MESH module\nModifying meshes\nAdding nodes and elements");
\r
65 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
68 if (window.writeBtnStyle)
\r
71 if (window.writeIntopicBar)
\r
74 if (window.setRelStartPage)
\r
76 setRelStartPage("../smesh.htm");
\r
85 document.location.reload();
\r
88 <h1>Adding nodes and elements</h1>
\r
90 <p>In SMESH you can add to your mesh different elements such as:</p>
\r
94 <ul type="disc" class="whs1">
\r
96 <li class=kadov-p><p class="whs2"><a href="#Adding_nodes">Nodes</a></p></li>
\r
98 <li class=kadov-p><p class="whs2"><a href="#Adding_edges">Edges</a></p></li>
\r
100 <li class=kadov-p><p class="whs2"><a href="#Adding_triangles">Triangles</a></p></li>
\r
102 <li class=kadov-p><p class="whs2"><a href="#Adding_quadrangles">Quadrangles</a></p></li>
\r
104 <li class=kadov-p><p class="whs2"><a href="#Adding_tetrahedrons">Tetrahedrons</a></p></li>
\r
106 <li class=kadov-p><p class="whs2"><a href="#Adding_hexahedrons">Hexahedrons</a></p></li>
\r
111 <p class=TODO>To add a node or an element to your mesh:</p>
\r
113 <p class=TODO> </p>
\r
115 <p class="whs3">1. Select your mesh in the Object Browser
\r
116 or in the 3D viewer.</p>
\r
118 <p class="whs3"> </p>
\r
120 <p class="whs3">2. From the <span style="font-weight: bold;"><B>Modification
\r
121 </B></span>menu choose the <span style="font-weight: bold;"><B>Add </B></span>item,
\r
122 the following associated submenu will appear:</p>
\r
124 <p class="whs3"> </p>
\r
126 <p class="whs3"><img src="../image73.gif" width="157px" height="132px" border="0" class="img_whs4"></p>
\r
128 <p class="whs3"> </p>
\r
130 <p class="whs3"> </p>
\r
132 <p class="whs3">From this submenu select the type of element
\r
133 which you would like to add to your mesh. </p>
\r
135 <p class="whs3"> </p>
\r
137 <p> <span style="font-weight: bold;"><B>See
\r
138 Also</B></span> sample TUI Scripts of <a href="../modifying_meshes.htm#bookmark">Adding
\r
139 Nodes and Elements</a><a href="../modifying_meshes.htm#bookmark8"> </a>operations.
\r
144 <h4><a name=Adding_nodes>Adding nodes</a></h4>
\r
146 <p class="whs3"><img src="../pics/addnode.png" x-maintain-ratio="TRUE" width="332px" height="222px" border="0" class="img_whs5"> <img src="../pics/add_node.png" x-maintain-ratio="TRUE" width="257px" height="247px" border="0" class="img_whs6"></p>
\r
148 <p class="whs3"> </p>
\r
150 <p class="whs3">In this dialog box set coordinates for your
\r
151 node in the <span style="font-weight: bold;"><B>Coordinates </B></span>set of
\r
152 fields and click the <span style="font-weight: bold;"><B>Apply </B></span>or
\r
153 <span style="font-weight: bold;"><B>OK </B></span>button. Your node will be created:</p>
\r
155 <p class="whs3"> </p>
\r
157 <h4><a name=Adding_edges>Adding edges</a></h4>
\r
161 <p class="whs3"><img src="../pics/addedge.png" x-maintain-ratio="TRUE" width="332px" height="231px" border="0" class="img_whs7"> <img src="../pics/add_edge.png" x-maintain-ratio="TRUE" width="260px" height="255px" border="0" class="img_whs8"></p>
\r
163 <p class="whs3"> </p>
\r
165 <p class="whs3">In this dialog box specify the nodes which
\r
166 will form your edge by selecting them in the 3D viewer with pressed Shift
\r
167 button and click the <span style="font-weight: bold;"><B>Apply </B></span>or
\r
168 <span style="font-weight: bold;"><B>OK </B></span>button. Your edge will be created:</p>
\r
170 <p class="whs3"> </p>
\r
172 <h4><a name=Adding_triangles>Adding triangles</a></h4>
\r
174 <p class="whs3"> </p>
\r
176 <p class="whs3"><img src="../pics/addtriangle.png" x-maintain-ratio="TRUE" width="332px" height="257px" border="0" class="img_whs9"> <img src="../pics/add_triangle.png" x-maintain-ratio="TRUE" width="275px" height="254px" border="0" class="img_whs10"></p>
\r
178 <p class="whs3"> </p>
\r
180 <p class="whs3">In this dialog box specify the nodes which
\r
181 will form your triangle by selecting them in the 3D viewer with pressed
\r
182 Shift button and click the <span style="font-weight: bold;"><B>Apply </B></span>or
\r
183 <span style="font-weight: bold;"><B>OK </B></span>button. Your triangle will
\r
186 <p class="whs3"> </p>
\r
188 <h4><a name=Adding_quadrangles>Adding quadrangles</a></h4>
\r
190 <h4 class="whs11"><img src="../pics/addquadrangle.png" x-maintain-ratio="TRUE" width="332px" height="257px" border="0" class="img_whs9"> <img src="../pics/add_quadrangle.png" x-maintain-ratio="TRUE" width="280px" height="258px" border="0" class="img_whs12"></h4>
\r
192 <p class="whs3">In this dialog box specify the nodes which
\r
193 will form your quadrangle by selecting them in the 3D viewer with pressed
\r
194 Shift button and click the <span style="font-weight: bold;"><B>Apply </B></span>or
\r
195 <span style="font-weight: bold;"><B>OK </B></span>button. Your quadrangle will
\r
198 <p class="whs3"> </p>
\r
200 <h4><a name=Adding_quadrangles1>Adding polygons </a></h4>
\r
202 <h4 class="whs11"><img src="../pics/addpolygon.png" x-maintain-ratio="TRUE" width="332px" height="257px" border="0" class="img_whs9"> <img src="../pics/add_polygone.png" x-maintain-ratio="TRUE" width="251px" height="258px" border="0" class="img_whs13"></h4>
\r
204 <p class="whs3">In this dialog box specify the nodes which
\r
205 will form your polygon by selecting them in the 3D viewer with pressed
\r
206 Shift button and click the <span style="font-weight: bold;"><B>Apply </B></span>or
\r
207 <span style="font-weight: bold;"><B>OK </B></span>button. </p>
\r
209 <p class="whs3"> </p>
\r
211 <h4><a name=Adding_tetrahedrons>Adding tetrahedrons</a></h4>
\r
213 <p class="whs3"><img src="../pics/addtetrahedron.png" x-maintain-ratio="TRUE" width="332px" height="231px" border="0" class="img_whs7"></p>
\r
215 <p class="whs3"> </p>
\r
217 <p class="whs3">In this dialog box specify the nodes which
\r
218 will form your tetrahedron by selecting them in the 3D viewer with pressed
\r
219 Shift button and click the <span style="font-weight: bold;"><B>Apply </B></span>or
\r
220 <span style="font-weight: bold;"><B>OK </B></span>button. Your tetrahedron will
\r
223 <p class="whs3"> </p>
\r
225 <p class="whs3"><img src="../image70.jpg" width="350px" height="184px" border="0" class="img_whs14"></p>
\r
227 <h4><a name=Adding_hexahedrons>Adding hexahedrons</a></h4>
\r
229 <p class="whs3"><img src="../pics/addhexahedron.png" x-maintain-ratio="TRUE" width="332px" height="231px" border="0" class="img_whs7"></p>
\r
231 <p class="whs3"> </p>
\r
233 <p class="whs3">In this dialog box specify the nodes which
\r
234 will form your hexahedron by selecting them in the 3D viewer with pressed
\r
235 Shift button and click the <span style="font-weight: bold;"><B>Apply </B></span>or
\r
236 <span style="font-weight: bold;"><B>OK </B></span>button. Your hexahedron will
\r
239 <p class="whs3"> </p>
\r
241 <p class="whs3"> </p>
\r
243 <p class="whs3"><img src="../image71.jpg" width="350px" height="184px" border="0" class="img_whs14"></p>
\r
245 <p class="whs3"> </p>
\r
247 <h4><a name=Adding_hexahedrons1>Adding polyhedrons</a></h4>
\r
249 <p class="whs3"><img src="../pics/a-createpolyhedralvolume.png" x-maintain-ratio="TRUE" width="332px" height="430px" border="0" class="img_whs15"> <img src="../pics/add_polyhedron.png" x-maintain-ratio="TRUE" width="369px" height="360px" border="0" class="img_whs16"></p>
\r
251 <p class="whs3"> </p>
\r
253 <p class="whs3">There are two different ways to add polyhedral
\r
256 <p class="whs3">If you select <span style="font-weight: bold;"><B>Node</B></span>
\r
257 as <span style="font-weight: bold;"><B>Elements Type</B></span> you will specify
\r
258 the nodes which will form the faces of your polyhedron by selecting the
\r
259 nodes in the 3D viewer with pressed Shift button and clicking the <span
\r
260 style="font-weight: bold;"><B>Add</B></span> button to add the face in the list
\r
261 of Faces by Nodes, which will form your polyhedron. Note, that it could
\r
262 be very useful to toggle Polyhedron Preview checkbox to see the results
\r
263 of your selection. </p>
\r
265 <p class="whs3">The second way is somewhat simpler, however,
\r
266 there are cases when it does not provide you with the necessary level
\r
267 of precision. If you select <span style="font-weight: bold;"><B>Face</B></span>
\r
268 as <span style="font-weight: bold;"><B>Elements Type</B></span>, you will be
\r
269 able to select the faces which
\r
270 will form your polyhedron in the 3D viewer with pressed Shift button.
\r
271 If you've managed to </p>
\r
273 <p class="whs3">obtain the necessary result, click the <span
\r
274 style="font-weight: bold;"><B>Apply </B></span>or <span style="font-weight: bold;"><B>OK
\r
275 </B></span><span style="margin-left: 40px;">button. Your hexahedron will be
\r
276 created.</span></p>
\r
278 <p class="whs3"> </p>
\r
282 <p class="whs3"> </p>
\r
284 <script type="text/javascript" language="javascript1.2">
\r
286 if (window.writeIntopicBar)
\r
287 writeIntopicBar(0);
\r