2008-03-07 12:47:05 +05:00
|
|
|
/*!
|
|
|
|
|
2012-08-09 16:03:55 +06:00
|
|
|
\page constructing_submeshes_page Constructing sub-meshes
|
2008-03-07 12:47:05 +05:00
|
|
|
|
2012-08-09 16:03:55 +06:00
|
|
|
Sub-mesh is a mesh on a geometrical sub-object created with algorithms
|
2009-02-17 10:27:49 +05:00
|
|
|
and/or hypotheses other than the algorithms and hypotheses assigned to
|
|
|
|
the parent mesh on the parent object.
|
|
|
|
<br><br>
|
2012-08-09 16:03:55 +06:00
|
|
|
If a geometrical sub-object belongs to several geometrical objects
|
|
|
|
having different meshes or sub-meshes, it will be meshed with the
|
|
|
|
hypotheses of a sub-mesh of a lower dimension.<br>
|
|
|
|
For example, a face of a box is meshed with a sub-mesh using algorithms
|
2009-02-17 10:27:49 +05:00
|
|
|
and hypotheses other than the parent mesh on the whole box. The face
|
|
|
|
and the box share four edges, which will be meshed with algorithms and
|
2012-08-09 16:03:55 +06:00
|
|
|
hypotheses of the sub-mesh on the face, because the face is a 2D object
|
2009-02-17 10:27:49 +05:00
|
|
|
while the box is a 3D object. <br>
|
|
|
|
If the dimensions are the same, an arbitrary algorithm/hypothesis
|
|
|
|
will be used. This means that an edge shared by two faces each having
|
2012-08-09 16:03:55 +06:00
|
|
|
its own different sub-mesh, will be meshed using algorithms and
|
|
|
|
hypotheses of any of the two, chosen randomly. This indeterminacy can
|
|
|
|
be fixed by defining \ref submesh_order_anchor "Sub-mesh priority".
|
|
|
|
<br>
|
2009-02-17 10:27:49 +05:00
|
|
|
|
2012-08-09 16:03:55 +06:00
|
|
|
\n Construction of a sub-mesh consists of:
|
2008-03-07 12:47:05 +05:00
|
|
|
<ul>
|
2012-08-09 16:03:55 +06:00
|
|
|
<li>Selecting a mesh which will encapsulate your sub-mesh</li>
|
2008-03-07 12:47:05 +05:00
|
|
|
<li>Selecting a geometrical object for meshing</li>
|
|
|
|
<li>Applying one or several previously described
|
|
|
|
\ref about_hypo_page "hypotheses" and
|
|
|
|
\ref basic_meshing_algos_page "meshing algorithms" which will be used
|
2012-08-09 16:03:55 +06:00
|
|
|
at computation of this sub-mesh</li>
|
2008-03-07 12:47:05 +05:00
|
|
|
</ul>
|
|
|
|
|
2012-08-09 16:03:55 +06:00
|
|
|
<br><em>To construct a sub-mesh:</em>
|
2008-03-07 12:47:05 +05:00
|
|
|
\par
|
2012-08-09 16:03:55 +06:00
|
|
|
From the \b Mesh menu select <b>Create Sub-mesh</b> or click <em>"Create
|
2008-03-07 12:47:05 +05:00
|
|
|
Sum-mesh"</em> button in the toolbar.
|
|
|
|
|
2012-10-08 17:56:59 +06:00
|
|
|
<center>
|
|
|
|
\image html image33.gif
|
|
|
|
<em>"Create Sub-mesh" button</em>
|
|
|
|
</center>
|
2008-03-07 12:47:05 +05:00
|
|
|
|
|
|
|
\par
|
|
|
|
The following dialog box will appear:
|
|
|
|
|
2012-10-08 17:56:59 +06:00
|
|
|
\par
|
2008-03-07 12:47:05 +05:00
|
|
|
\image html createmesh-inv2.png
|
|
|
|
|
|
|
|
\par
|
|
|
|
It allows to define the \b Name, the parent \b Mesh and the \b
|
|
|
|
Geometry (e.g. a face if the parent mesh has been built on box) of the
|
2012-08-09 16:03:55 +06:00
|
|
|
sub-mesh. You can define algorithms and hypotheses in the same way as
|
2008-03-07 12:47:05 +05:00
|
|
|
in \ref constructing_meshes_page "Create mesh" menu.
|
|
|
|
|
2012-10-08 17:56:59 +06:00
|
|
|
\par
|
|
|
|
If the parent mesh is already computed, then you can define
|
|
|
|
\b Geometry by picking mesh elements computed on a sub-shape of interest
|
|
|
|
in the 3D Viewer, i.e. you don't have to extract this sub-shape
|
|
|
|
previously in Geometry module. To start element selection, press \a
|
|
|
|
Selection button to the right of \b Geometry label. If this button is
|
|
|
|
already down, then click it to release and then click it again. The
|
|
|
|
following pop-up menu to choose a way of geometry definition will
|
|
|
|
appear.
|
|
|
|
|
|
|
|
\par
|
|
|
|
\image html choose_geom_selection_way.png
|
|
|
|
|
|
|
|
\par
|
|
|
|
There the first item enables selecting the sub-shape in the Object
|
|
|
|
Browser, the second one makes appear the following dialog.
|
|
|
|
|
|
|
|
\par
|
|
|
|
\image html find_geom_by_mesh_elem.png
|
|
|
|
|
|
|
|
\par
|
|
|
|
In this dialog, <b> Element Type </b> defines kind of element to pick in the
|
|
|
|
Viewer. Instead of picking an element in the Viewer, you can type its
|
|
|
|
ID in <b> Element ID</b> field. <b> Geometry name </b> allow you
|
|
|
|
define a name of the sub-shape with which it will be published in the Study.
|
|
|
|
|
|
|
|
|
2008-03-07 12:47:05 +05:00
|
|
|
\par
|
2012-08-09 16:03:55 +06:00
|
|
|
In the Object Browser the structure of the new sub-mesh will be
|
2008-03-07 12:47:05 +05:00
|
|
|
displayed as follows:
|
|
|
|
|
|
|
|
\image html image10.jpg
|
|
|
|
|
|
|
|
\par
|
|
|
|
It contains:
|
|
|
|
<ul>
|
2012-08-09 16:03:55 +06:00
|
|
|
<li>a reference to the geometrical object on the basis of which the sub-mesh has been constructed;</li>
|
2008-03-07 12:47:05 +05:00
|
|
|
<li><b>Applied hypotheses</b> folder containing the references to the
|
2012-08-09 16:03:55 +06:00
|
|
|
hypotheses applied to the construction of the sub-mesh;</li>
|
2008-03-07 12:47:05 +05:00
|
|
|
<li><b>Applied algorithms</b> folder containing the references to the
|
2012-08-09 16:03:55 +06:00
|
|
|
algorithms applied to the construction of the sub-mesh.</li>
|
2008-03-07 12:47:05 +05:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<br><b>See Also</b> a sample TUI Script of a
|
2012-08-09 16:03:55 +06:00
|
|
|
\ref tui_construction_submesh "Construct Sub-mesh" operation.
|
2008-03-07 12:47:05 +05:00
|
|
|
|
|
|
|
*/
|