2007-02-07 17:14:23 +05:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
< html >
< head >
< title > Constructing meshes< / title >
< meta http-equiv = "content-type" content = "text/html; charset=windows-1252" >
< meta name = "generator" content = "RoboHelp by eHelp Corporation www.ehelp.com" >
< link rel = "stylesheet" href = "../default_ns.css" > < script type = "text/javascript" language = "JavaScript" title = "WebHelpSplitCss" >
<!--
if (navigator.appName !="Netscape")
{ document.write("< link rel = 'stylesheet' href = '../default.css' > ");}
//-->
< / script >
< style type = "text/css" >
<!--
p.whs1 { margin-left:0px; }
ul.whs2 { list-style:disc; }
p.whs3 { margin-left:40px; }
img_whs4 { border:none; width:22px; height:24px; border-style:none; }
p.whs5 { margin-left:80px; }
2007-04-24 17:04:11 +06:00
img_whs6 { border:none; width:370px; height:296px; float:none; border-style:none; }
2007-02-07 17:14:23 +05:00
img_whs7 { border:none; width:173px; height:88px; border-style:none; }
img_whs8 { border:none; width:34px; height:29px; border-style:none; }
img_whs9 { border:none; width:29px; height:28px; border-style:none; }
img_whs10 { border:none; width:30px; height:29px; border-style:none; }
img_whs11 { border:none; width:232px; height:142px; border-style:none; float:right; }
img_whs12 { border:none; width:25px; height:24px; border-style:none; }
2007-04-24 17:04:11 +06:00
img_whs13 { border:none; width:457px; height:486px; float:none; border-style:none; }
img_whs14 { border:none; width:564px; height:402px; float:none; border-style:none; }
img_whs15 { border:none; width:260px; height:270px; float:none; border-style:none; }
2007-02-07 17:14:23 +05:00
-->
< / style > < script type = "text/javascript" language = "JavaScript" >
<!--
if ((navigator.appName == "Netscape") & & (parseInt(navigator.appVersion) == 4))
{
var strNSS = "< style type = 'text/css' > " ;
strNSS += "p.whs1 {margin-left:1pt; }";
strNSS +="< / style > ";
document.write(strNSS);
}
//-->
< / script >
< script type = "text/javascript" language = "JavaScript" title = "WebHelpInlineScript" >
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) & & (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
< / script >
< style type = "text/css" >
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
< / style > < script type = "text/javascript" language = "javascript1.2" src = "../whmsg.js" > < / script >
< script type = "text/javascript" language = "javascript" src = "../whver.js" > < / script >
< script type = "text/javascript" language = "javascript1.2" src = "../whproxy.js" > < / script >
< script type = "text/javascript" language = "javascript1.2" src = "../whutils.js" > < / script >
< script type = "text/javascript" language = "javascript1.2" src = "../whtopic.js" > < / script >
< script type = "text/javascript" language = "javascript1.2" >
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("MESH module\nCreating meshes\nConstructing meshes");
addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("../index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
< / script >
< / head >
< body > < script type = "text/javascript" language = "javascript1.2" >
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
< / script >
< h1 > Constructing meshes< / h1 >
< p class = "whs1" > Construction of a mesh consists of:< / p >
< p class = "whs1" > < / p >
< ul type = "disc" class = "whs2" >
< li class = kadov-p > < p class = "whs1" > Selecting a geometrical
object for meshing< / p > < / li >
< li class = kadov-p > < p class = "whs1" > Applying < a href = "about_meshing_algorithms.htm" > meshing
algorithms< / a > and < a href = "about_hypotheses.htm" > hypotheses< / a > which
will be used at computation of this mesh.< / p > < / li >
< / ul >
< p class = "whs1" > < / p >
< p class = TODO > To construct a mesh:< / p >
< p class = "whs3" > 1. In the < span style = "font-weight: bold;" > < B > Mesh
< / B > < / span > menu select< span style = "font-weight: bold;" > < B > Create Mesh < / B > < / span > or
click < img src = "../image32.gif" width = "22px" height = "24px" border = "0" class = "img_whs4" > button in the toolbar. The following dialog box will
appear:< / p >
< p class = "whs3" > < / p >
2007-04-18 21:44:59 +06:00
< p class = "whs5" > < img src = "../pics/createmesh-inv.png" x-maintain-ratio = "TRUE" width = "370px" height = "296px" border = "0" class = "img_whs6" > < / p >
2007-02-07 17:14:23 +05:00
< p class = "whs5" > < / p >
< p class = "whs3" > 2. For example, you need to mesh a 3d object.
< / p >
< p class = "whs3" > First, type the name for your mesh in the
" Name" box, by default, it is " Mesh_1" . Then select
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
the < img src = "../image120.gif" width = "34px" height = "29px" border = "0" class = "img_whs8" > " Add" button. < / p >
< p class = "whs3" > Now you can define 1d Algorithm and 1d Hypotheses,
which will be applied to the edges of your object. (Note that any object
has edges, even if their existence is not apparent, for example, a sphere
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
to define values for the current hypothesis. The use of additional hypotheses
is optional (i.e. you may leave " None" in this box). < / p >
< p class = "whs3" > < / p >
< p class = "whs3" > Proceed in the same way with 2d and 3d Algorithms
and Hypotheses, note that the choice of hypotheses depends on the algorithm.
There must be one Algorithm and one or several Hypotheses for each dimension
of your object, otherwise you will not get any mesh at all. Of course,
if you wish to mesh a face, which is a 2d object, you don't need to define
3d Algorithm and Hypotheses. < / p >
< p class = "whs3" > In the < span style = "font-weight: bold;" > < B > Object
Browser< / B > < / span > the structure of the new mesh will be displayed as follows:< / p >
< p class = "whs3" > < img src = "../image88.jpg" width = "232px" height = "142px" align = "right" border = "0" class = "img_whs11" > It contains:< / p >
< ul type = "disc" class = "whs2" >
< li class = kadov-p > < p class = "whs3" > a reference to the
geometrical object on the basis of which the mesh has been constructed;< / p > < / li >
< li class = kadov-p > < p class = "whs3" > < span style = "font-weight: bold;" > < B > Applied
hypotheses < / B > < / span > folder containing the references to the hypotheses applied
to the construction of the mesh;< / p > < / li >
< li class = kadov-p > < p class = "whs3" > < span style = "font-weight: bold;" > < B > Applied
algorithms < / B > < / span > folder containing the references to the algorithms applied
to the construction of the mesh.< / p > < / li >
< / ul >
< p class = "whs3" > < / p >
< p class = "whs3" > There is an alternative way to create a mesh
on an object simply by clicking < span style = "font-weight: bold;" > < B > Assign
a set of hypotheses < / B > < / span > button and selecting between Automatic Tetrahedralization
or Hexahedralization. The
program will automatically generate a 3D mesh with the most appropriate
settings. In the same way you can apply this functionality for meshing
2D objects, in which case 3D algorithms are not applied. < / p >
< p class = "whs3" > < / p >
< p class = "whs3" > 3. Now, when everything is ready, select
your mesh in the < span style = "font-weight: bold;" > < B > Object Browser< / B > < / span > .
From the
< span style = "font-weight: bold;" > < B > Mesh < / B > < / span > menu select< span style = "font-weight: bold;" > < B >
2007-04-24 17:04:11 +06:00
Compute < / B > < / span > or click < img src = "../image28.gif" width = "25px" height = "24px" border = "0" class = "img_whs12" > button of the toolbar. The Mesh
Computation information box appears.< / p >
< p class = "whs3" > < / p >
< p class = "whs3" > < img src = "../pics/meshcomputationsucceed.png" x-maintain-ratio = "TRUE" width = "457px" height = "486px" border = "0" class = "img_whs13" > < / p >
< p class = "whs3" > < / p >
< p class = "whs3" > If the mesh computation failed, the information
about the cause of the failure is provided. < / p >
< p class = "whs3" > < / p >
< p class = "whs3" > < img src = "../pics/meshcomputationfail.png" x-maintain-ratio = "TRUE" width = "564px" height = "402px" border = "0" class = "img_whs14" > < / p >
< p class = "whs3" > < / p >
< p class = "whs3" > After you select the error, < span style = "font-weight: bold;" > < B > Show
Subshape< / B > < / span > button allows visualizing the mesh elements that cause
it< / p >
< p class = "whs3" > < / p >
< p class = "whs3" > < img src = "../pics/failed_computation.png" x-maintain-ratio = "TRUE" width = "260px" height = "270px" border = "0" class = "img_whs15" > < / p >
< p class = "whs3" > < / p >
< p class = "whs3" > < span style = "font-weight: bold;" > < B > Publish
Subshape< / B > < / span > button allows importing it in a separate MED or UNV file.
< / p >
2007-02-07 17:14:23 +05:00
< p class = "whs3" > < / p >
< p class = "whs3" > Consider trying a sample script for construction
of a mesh from our < a href = "../constructing_meshes.htm" > TUI Scripts< / a >
section.< / p >
< p class = "whs3" > < / p >
< p > < / p >
< script type = "text/javascript" language = "javascript1.2" >
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
< / script >
< / body >
< / html >