1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
6 <title>Constructing meshes</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 p.whs1 { margin-left:0px; }
\r
18 ul.whs2 { list-style:disc; }
\r
19 p.whs3 { margin-left:40px; }
\r
20 img_whs4 { border:none; width:22px; height:24px; border-style:none; }
\r
21 p.whs5 { margin-left:80px; }
\r
22 img_whs6 { border:none; border-style:none; width:309px; height:296px; float:none; }
\r
23 img_whs7 { border:none; width:173px; height:88px; border-style:none; }
\r
24 img_whs8 { border:none; width:34px; height:29px; border-style:none; }
\r
25 img_whs9 { border:none; width:29px; height:28px; border-style:none; }
\r
26 img_whs10 { border:none; width:30px; height:29px; border-style:none; }
\r
27 img_whs11 { border:none; width:232px; height:142px; border-style:none; float:right; }
\r
28 img_whs12 { border:none; width:25px; height:24px; border-style:none; }
\r
29 img_whs13 { border:none; width:293px; height:350px; border-style:none; }
\r
31 </style><script type="text/javascript" language="JavaScript">
\r
33 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
35 var strNSS = "<style type='text/css'>";
\r
36 strNSS += "p.whs1 {margin-left:1pt; }";
\r
37 strNSS +="</style>";
\r
38 document.write(strNSS);
\r
42 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
45 if (innerWidth != origWidth || innerHeight != origHeight)
\r
48 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
49 origWidth = innerWidth;
\r
50 origHeight = innerHeight;
\r
56 <style type="text/css">
\r
58 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
60 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
\r
61 <script type="text/javascript" language="javascript" src="../whver.js"></script>
\r
62 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
\r
63 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
\r
64 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
\r
66 <body><script type="text/javascript" language="javascript1.2">
\r
68 if (window.gbWhTopic)
\r
70 if (window.addTocInfo)
\r
72 addTocInfo("MESH module\nCreating meshes\nConstructing meshes");
\r
73 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
76 if (window.writeBtnStyle)
\r
79 if (window.writeIntopicBar)
\r
82 if (window.setRelStartPage)
\r
84 setRelStartPage("../smesh.htm");
\r
93 document.location.reload();
\r
96 <h1>Constructing meshes</h1>
\r
98 <p class="whs1">Construction of a mesh consists of:</p>
\r
100 <p class="whs1"> </p>
\r
102 <ul type="disc" class="whs2">
\r
104 <li class=kadov-p><p class="whs1">Selecting a geometrical
\r
105 object for meshing</p></li>
\r
107 <li class=kadov-p><p class="whs1">Applying <a href="about_meshing_algorithms.htm">meshing
\r
108 algorithms</a> and <a href="about_hypotheses.htm">hypotheses</a> which
\r
109 will be used at computation of this mesh.</p></li>
\r
112 <p class="whs1"> </p>
\r
114 <p class=TODO>To construct a mesh:</p>
\r
116 <p class="whs3">1. In the <span style="font-weight: bold;"><B>Mesh
\r
117 </B></span>menu select<span style="font-weight: bold;"><B> Create Mesh </B></span>or
\r
118 click <img src="../image32.gif" width="22px" height="24px" border="0" class="img_whs4"> button in the toolbar. The following dialog box will
\r
121 <p class="whs3"> </p>
\r
123 <p class="whs5"><img src="../pics/c-createmesh.png" x-maintain-ratio="TRUE" width="309px" height="296px" border="0" class="img_whs6"></p>
\r
125 <p class="whs5"> </p>
\r
127 <p class="whs3">2. For example, you need to mesh a 3d object.
\r
130 <p class="whs3">First, type the name for your mesh in the
\r
131 "Name" box, by default, it is "Mesh_1". Then select
\r
132 the object you wish to mesh in the Object Browser <img src="../image119.gif" width="173px" height="88px" border="0" class="img_whs7">and click
\r
133 the <img src="../image120.gif" width="34px" height="29px" border="0" class="img_whs8"> "Add" button. </p>
\r
135 <p class="whs3">Now you can define 1d Algorithm and 1d Hypotheses,
\r
136 which will be applied to the edges of your object. (Note that any object
\r
137 has edges, even if their existence is not apparent, for example, a sphere
\r
138 has 4 edges). Click the <img src="../image121.gif" width="29px" height="28px" border="0" class="img_whs9"> button to add a hypothesis. Click the <img src="../image122.gif" width="30px" height="29px" border="0" class="img_whs10"> button
\r
139 to define values for the current hypothesis. The use of additional hypotheses
\r
140 is optional (i.e. you may leave "None" in this box). </p>
\r
142 <p class="whs3"> </p>
\r
144 <p class="whs3">Proceed in the same way with 2d and 3d Algorithms
\r
145 and Hypotheses, note that the choice of hypotheses depends on the algorithm.
\r
146 There must be one Algorithm and one or several Hypotheses for each dimension
\r
147 of your object, otherwise you will not get any mesh at all. Of course,
\r
148 if you wish to mesh a face, which is a 2d object, you don't need to define
\r
149 3d Algorithm and Hypotheses. </p>
\r
151 <p class="whs3">In the <span style="font-weight: bold;"><B>Object
\r
152 Browser</B></span> the structure of the new mesh will be displayed as follows:</p>
\r
154 <p class="whs3"><img src="../image88.jpg" width="232px" height="142px" align="right" border="0" class="img_whs11">It contains:</p>
\r
156 <ul type="disc" class="whs2">
\r
158 <li class=kadov-p><p class="whs3">a reference to the
\r
159 geometrical object on the basis of which the mesh has been constructed;</p></li>
\r
161 <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Applied
\r
162 hypotheses </B></span>folder containing the references to the hypotheses applied
\r
163 to the construction of the mesh;</p></li>
\r
165 <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Applied
\r
166 algorithms </B></span>folder containing the references to the algorithms applied
\r
167 to the construction of the mesh.</p></li>
\r
170 <p class="whs3"> </p>
\r
172 <p class="whs3">There is an alternative way to create a mesh
\r
173 on an object simply by clicking <span style="font-weight: bold;"><B>Assign
\r
174 a set of hypotheses </B></span>button and selecting between Automatic Tetrahedralization
\r
175 or Hexahedralization. The
\r
176 program will automatically generate a 3D mesh with the most appropriate
\r
177 settings. In the same way you can apply this functionality for meshing
\r
178 2D objects, in which case 3D algorithms are not applied. </p>
\r
180 <p class="whs3"> </p>
\r
182 <p class="whs3">3. Now, when everything is ready, select
\r
183 your mesh in the <span style="font-weight: bold;"><B>Object Browser</B></span>.<span>
\r
184 </span><span> From
\r
185 the </span><span style="font-weight: bold;"><B>Mesh </B></span><span>menu select</span><span
\r
186 style="font-weight: bold;"><B> Compute </B></span><span>or click <img src="../image28.gif" width="25px" height="24px" border="0" class="img_whs12"> button of the toolbar. </span></p>
\r
188 <p class="whs3">If you've done everything right, you'll obtain
\r
189 something like this. <img src="../image129.gif" width="293px" height="350px" border="0" class="img_whs13"></p>
\r
191 <p class="whs3">Consider trying a sample script for construction
\r
192 of a mesh from our <a href="../constructing_meshes.htm">TUI Scripts</a>
\r
195 <p class="whs3"> </p>
\r
199 <script type="text/javascript" language="javascript1.2">
\r
201 if (window.writeIntopicBar)
\r
202 writeIntopicBar(0);
\r