mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 12:10:34 +05:00
Correction of documentation
This commit is contained in:
parent
38ff6d2f27
commit
cc801656b1
@ -18,11 +18,11 @@ different meshing parameters than the whole mesh.
|
|||||||
|
|
||||||
Several created meshes can be \subpage building_compounds_page "combined into another mesh".
|
Several created meshes can be \subpage building_compounds_page "combined into another mesh".
|
||||||
|
|
||||||
The whole mesh or it's part can be \subpage copy_mesh_page "copied" into another mesh.
|
The whole mesh or its part can be \subpage copy_mesh_page "copied" into another mesh.
|
||||||
|
|
||||||
Meshing parameters of meshes and sub-meshes can be
|
Meshing parameters of meshes and sub-meshes can be
|
||||||
\subpage editing_meshes_page "edited", then only a path of mesh
|
\subpage editing_meshes_page "edited", then only the mesh part
|
||||||
depending on changed parameters will be re-computed.
|
depending on the changed parameters will be re-computed.
|
||||||
|
|
||||||
Meshes can be edited using the MESH functions destined for
|
Meshes can be edited using the MESH functions destined for
|
||||||
\ref modifying_meshes_page "modification" of generated meshes.
|
\ref modifying_meshes_page "modification" of generated meshes.
|
||||||
|
@ -36,7 +36,7 @@ a node or element to the specified group or to create it anew using
|
|||||||
<b>Add to group</b> box, that allows choosing an existing group for
|
<b>Add to group</b> box, that allows choosing an existing group for
|
||||||
the created node or element or giving the name to a new group. By
|
the created node or element or giving the name to a new group. By
|
||||||
default, the <b>Add to group</b> check box is switched off. If the user
|
default, the <b>Add to group</b> check box is switched off. If the user
|
||||||
swiches this check box on, the combo box listing all currently
|
switches this check box on, the combo box listing all currently
|
||||||
existing groups of the corresponding type becomes available. By
|
existing groups of the corresponding type becomes available. By
|
||||||
default, no group is selected. In this case, when the user presses
|
default, no group is selected. In this case, when the user presses
|
||||||
<b>Apply</b> or <b>Apply & Close</b> button, the warning message box
|
<b>Apply</b> or <b>Apply & Close</b> button, the warning message box
|
||||||
@ -72,7 +72,7 @@ created:
|
|||||||
|
|
||||||
\image html add0delement.png
|
\image html add0delement.png
|
||||||
|
|
||||||
In this dialog box specify nodes which will form your 0d elements by
|
In this dialog box specify nodes which will form your 0D elements by
|
||||||
selecting them in the 3D viewer and click the \b Apply or
|
selecting them in the 3D viewer and click the \b Apply or
|
||||||
<b>Apply and Close</b> button. Your 0D elements will be created:
|
<b>Apply and Close</b> button. Your 0D elements will be created:
|
||||||
|
|
||||||
@ -81,34 +81,29 @@ selecting them in the 3D viewer and click the \b Apply or
|
|||||||
\anchor adding_0delems_on_all_nodes_anchor
|
\anchor adding_0delems_on_all_nodes_anchor
|
||||||
<h2>Making 0D elements on Element Nodes</h2>
|
<h2>Making 0D elements on Element Nodes</h2>
|
||||||
|
|
||||||
There is another dialog which lets you create 0D elements. It creates
|
There is another way to create 0D elements. It is possible to create
|
||||||
0D elements on all nodes of selected elements or nodes, where no 0D
|
0D elements on all nodes of the selected mesh, sub-mesh, or a group of elements or nodes.
|
||||||
elements are yet present.
|
|
||||||
|
|
||||||
\image html dlg_0D_on_all_nodes.png
|
\image html dlg_0D_on_all_nodes.png
|
||||||
|
|
||||||
In this dialog
|
In this dialog
|
||||||
<ul>
|
<ul>
|
||||||
<li> Click a radio-button to choose a type of object on whose nodes you
|
<li> The radio-buttons allow choosing the type of object to create 0D elements on.
|
||||||
want to create 0D elements.
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><b> Mesh, sub-mesh, group </b> This button allows you selecting either
|
<li><b> Mesh, sub-mesh, group </b> - this button allows selecting
|
||||||
a mesh, sub-mesh or group to create 0D elements on nodes of their
|
a mesh, a sub-mesh or a group to create 0D elements on the nodes of its
|
||||||
elements. A name of selected object is shown in the dialog. </li>
|
elements. The name of the selected object is shown in the dialog. </li>
|
||||||
<li><b> Elements </b> This button allows you selecting elements either in the
|
<li><b> Elements </b> - this button allows selecting elements in the
|
||||||
VTK viewer or typing their IDs in a field of dialog.</li>
|
VTK viewer or typing their IDs in the dialog.</li>
|
||||||
<li><b> Nodes </b> This button allows you selecting nodes to create
|
<li><b> Nodes </b> - this button allows selecting nodes to create
|
||||||
0D elements on them either in the VTK viewer or typing their IDs
|
0D elements on in the VTK viewer or typing their IDs in the dialog.</li>
|
||||||
in a field of dialog.</li>
|
|
||||||
</ul></li>
|
</ul></li>
|
||||||
<li><b> Set Filter </b> button allows you selecting elements or nodes
|
<li><b> Set Filter </b> button allows selecting elements or nodes
|
||||||
by filtering elements or nodes of the mesh with different criteria
|
by filtering mesh elements or nodes with different criteria
|
||||||
(see \ref filtering_elements "Filter usage" on how to set up selection
|
(see \ref filtering_elements "Filter usage").</li>
|
||||||
criteria).</li>
|
<li> Switching on <b>Add to group</b> check-box allows specifying the
|
||||||
<li> Switching on <b>Add to group</b> check-box allows you specifying a
|
name of the group to which all created or found 0D elements will be added. You can either select an existing group from
|
||||||
name of a group to add all 0D elements created or found on the
|
a drop-down list, or enter the name of the group to be created.</li>
|
||||||
selected element nodes. You can either select an existing group from
|
|
||||||
a drop-down list, or enter a name of a group to create.</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
@ -117,10 +112,10 @@ criteria).</li>
|
|||||||
|
|
||||||
\image html addball.png
|
\image html addball.png
|
||||||
|
|
||||||
In this dialog box specify nodes which will form your ball elements
|
In this dialog box specify the nodes, which will form your ball elements,
|
||||||
either by selecting them in the 3D viewer or by manual entering their IDs,
|
either by selecting them in the 3D viewer or by manually entering their IDs,
|
||||||
specify the ball diameter and click the \b Apply or <b>Apply and
|
specify the ball diameter and click the \b Apply or <b>Apply and
|
||||||
Close</b> button. Your ball elements with an equal diameter will be created:
|
Close</b> button.
|
||||||
|
|
||||||
\image html add_ball.png
|
\image html add_ball.png
|
||||||
|
|
||||||
|
@ -50,8 +50,8 @@ segments on all four sides of the face must be even (divisible by 2).
|
|||||||
<h2>Viscous Layers and Viscous Layers 2D</h2>
|
<h2>Viscous Layers and Viscous Layers 2D</h2>
|
||||||
|
|
||||||
<b>Viscous Layers</b> and <b>Viscous Layers 2D </b> additional
|
<b>Viscous Layers</b> and <b>Viscous Layers 2D </b> additional
|
||||||
hypotheses can be used together with some 3D algorithms,
|
hypotheses can be used together with some 3D algorithms, for example,
|
||||||
Hexahedron(i,j,k) for example, and 2D algorithm, for example Triangle
|
Hexahedron(i,j,k) or 2D algorithms, for example, Triangle
|
||||||
(MEFISTO), correspondingly. These hypotheses allow creation of layers
|
(MEFISTO), correspondingly. These hypotheses allow creation of layers
|
||||||
of highly stretched elements, prisms in 3D and quadrilaterals in 2D,
|
of highly stretched elements, prisms in 3D and quadrilaterals in 2D,
|
||||||
near mesh boundary, which is beneficial for high quality viscous
|
near mesh boundary, which is beneficial for high quality viscous
|
||||||
@ -61,7 +61,7 @@ computations.
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><b>Name</b> - allows to define the name of the hypothesis.</li>
|
<li><b>Name</b> - allows to define the name of the hypothesis.</li>
|
||||||
<li><b>Total thicknes</b> - gives the total thickness of element layers.</li>
|
<li><b>Total thickness</b> - gives the total thickness of element layers.</li>
|
||||||
<li><b>Number of layers</b> - defines the number of element layers.</li>
|
<li><b>Number of layers</b> - defines the number of element layers.</li>
|
||||||
<li><b>Stretch factor</b> - defines the growth factor of element height
|
<li><b>Stretch factor</b> - defines the growth factor of element height
|
||||||
from the mesh boundary inwards.</li>
|
from the mesh boundary inwards.</li>
|
||||||
@ -70,8 +70,8 @@ from the mesh boundary inwards.</li>
|
|||||||
constructed. By default the element layers are not constructed on
|
constructed. By default the element layers are not constructed on
|
||||||
geometrical faces shared by solids (and edges shared by faces in 2D).
|
geometrical faces shared by solids (and edges shared by faces in 2D).
|
||||||
\note A mesh shown in the 3D Viewer can prevent selection of faces
|
\note A mesh shown in the 3D Viewer can prevent selection of faces
|
||||||
and edges, in this case just hide the mesh. To prevent a long waiting when a
|
and edges, in this case just hide the mesh. To avoid a long wait when a
|
||||||
geometry with many faces (or edges) is displayed, a number of faces
|
geometry with many faces (or edges) is displayed, the number of faces
|
||||||
(edges) shown at a time is limited by the value of "Sub-shapes
|
(edges) shown at a time is limited by the value of "Sub-shapes
|
||||||
preview chunk size" preference (in Preferences/Mesh/General tab).
|
preview chunk size" preference (in Preferences/Mesh/General tab).
|
||||||
</li>
|
</li>
|
||||||
|
@ -64,7 +64,7 @@ There is also a number of more specific algorithms:
|
|||||||
</ul>
|
</ul>
|
||||||
\ref use_existing_anchor "Use existing edges" and
|
\ref use_existing_anchor "Use existing edges" and
|
||||||
\ref use_existing_anchor "Use existing faces" algorithms can be
|
\ref use_existing_anchor "Use existing faces" algorithms can be
|
||||||
used to create an 1D or a 2D mesh in a python script.
|
used to create a 1D or a 2D mesh in a python script.
|
||||||
|
|
||||||
\ref constructing_meshes_page "Constructing meshes" page describes in
|
\ref constructing_meshes_page "Constructing meshes" page describes in
|
||||||
detail how to apply meshing algorithms.
|
detail how to apply meshing algorithms.
|
||||||
|
@ -14,7 +14,7 @@ shown.
|
|||||||
|
|
||||||
- \b Nodes:
|
- \b Nodes:
|
||||||
- \b Color - color of nodes.
|
- \b Color - color of nodes.
|
||||||
- \b Type and \b Scale - these options allow changing of the nodes
|
- \b Type and \b Scale - these options allow changing the nodes
|
||||||
representation (see \subpage point_marker_page "Point Marker" page
|
representation (see \subpage point_marker_page "Point Marker" page
|
||||||
for more details).
|
for more details).
|
||||||
- <b>Edges / wireframe</b>:
|
- <b>Edges / wireframe</b>:
|
||||||
@ -23,13 +23,13 @@ shown.
|
|||||||
in wireframe mode).
|
in wireframe mode).
|
||||||
- \b Faces:
|
- \b Faces:
|
||||||
- \b Front - surface color of face elements (seen in shading mode).
|
- \b Front - surface color of face elements (seen in shading mode).
|
||||||
- \b Back - backside surface color of face elements. Use slider to
|
- \b Back - backside surface color of face elements. Use the slider to
|
||||||
select this color generated on base of the \b Face color by
|
select this color generated on the base of the \b Face color by
|
||||||
changing its brightness and saturation.
|
changing its brightness and saturation.
|
||||||
- \b Volumes:
|
- \b Volumes:
|
||||||
- \b Normal - surface color of normal volume elements (seen in shading mode).
|
- \b Normal - surface color of normal volume elements (seen in shading mode).
|
||||||
- \b Reversed - surface color of volume elements. Use slider to
|
- \b Reversed - surface color of volume elements. Use the slider to
|
||||||
select this color generated on base of the \b Normal color by
|
select this color generated on the base of the \b Normal color by
|
||||||
changing its brightness and saturation.
|
changing its brightness and saturation.
|
||||||
- \b Outlines:
|
- \b Outlines:
|
||||||
- \b Color - color of element borders in shading mode.
|
- \b Color - color of element borders in shading mode.
|
||||||
|
@ -37,42 +37,42 @@ written in Python.
|
|||||||
"Create mesh" dialog box contains several tab pages titled \b 3D,
|
"Create mesh" dialog box contains several tab pages titled \b 3D,
|
||||||
\b 2D, \b 1D and \b 0D. The title of each page reflects the
|
\b 2D, \b 1D and \b 0D. The title of each page reflects the
|
||||||
dimension of the CAD model (geometry) the algorithms listed on
|
dimension of the CAD model (geometry) the algorithms listed on
|
||||||
this page affect to. For example, \b 3D page lists algorithms
|
this page affect. For example, \b 3D page lists the algorithms
|
||||||
that affect 3D geometrical objects (solids).
|
that affect 3D geometrical objects (solids).
|
||||||
|
|
||||||
\note
|
\note
|
||||||
- Some page(s) can be disabled - if the source geometrical
|
- Some page(s) can be disabled if the source geometrical
|
||||||
object does not include shapes (sub-shapes) of the corresponding
|
object does not include shapes (sub-shapes) of the corresponding
|
||||||
dimension(s). For example, if input object is a geometrical face,
|
dimension(s). For example, if the input object is a geometrical face,
|
||||||
\b 3D page is disabled.
|
\b 3D page is disabled.
|
||||||
- Some algorithms affect on geometry of several dimensions,
|
- Some algorithms affect the geometry of several dimensions,
|
||||||
i.e. "1D-2D" or "1D-2D-3D". If such algorithm is selected by the
|
i.e. "1D-2D" or "1D-2D-3D". If such an algorithm is selected by the
|
||||||
user, dialog box pages related to the corresponding lower level
|
user, the dialog box pages related to the corresponding lower level
|
||||||
dimensions are disabled.
|
dimensions are disabled.
|
||||||
- \b 0D page does not refer to the 0D elements, but to 0D
|
- \b 0D page does not refer to the 0D elements, but to 0D
|
||||||
geometry (vertices). Mesh module does not provide algorithms that
|
geometry (vertices). Mesh module does not provide algorithms that
|
||||||
produce 0D elements. Currently \b 0D page provides only one
|
produce 0D elements. Currently \b 0D page provides only one
|
||||||
algorithm "Segments around vertex" that allows specyfing required
|
algorithm "Segments around vertex" that allows specyfying the required
|
||||||
size of mesh edges about some selected vertex(vertices).
|
size of mesh edges about the selected vertex (or vertices).
|
||||||
|
|
||||||
For example, you need to mesh a 3D object.
|
For example, you need to mesh a 3D object.
|
||||||
|
|
||||||
First, type the name for your mesh in the \b Name box, by default,
|
First, type the name of your mesh in the \b Name box, by default,
|
||||||
it is "Mesh_1". Then select the geometrical object you wish to
|
it is "Mesh_1". Then select the geometrical object you wish to
|
||||||
mesh in the Object Browser and click "Select" button near \b Geometry
|
mesh in the Object Browser and click "Select" button near \b Geometry
|
||||||
field (if name of the object not yet appeared in \b Geometry field).
|
field (if the name of the object has not yet appeared in \b Geometry field).
|
||||||
|
|
||||||
\image html image120.png
|
\image html image120.png
|
||||||
<em>"Select" button</em>
|
<em>"Select" button</em>
|
||||||
|
|
||||||
Now you can define 3D Algorithm and 3D Hypotheses, which will be
|
Now you can define 3D Algorithm and 3D Hypotheses, which will be
|
||||||
applied to solids of your geometrical object. Click the <em>"Add
|
applied to the solids of your geometrical object. Click the <em>"Add
|
||||||
Hypothesis"</em> button to add a hypothesis.
|
Hypothesis"</em> button to add a hypothesis.
|
||||||
|
|
||||||
\image html image121.png
|
\image html image121.png
|
||||||
<em>"Add Hypothesis" button</em>
|
<em>"Add Hypothesis" button</em>
|
||||||
|
|
||||||
Click the <em>"Edit Hypothesis"</em> button to change values for the
|
Click the <em>"Edit Hypothesis"</em> button to change the values for the
|
||||||
current hypothesis.
|
current hypothesis.
|
||||||
|
|
||||||
\image html image122.png
|
\image html image122.png
|
||||||
@ -86,14 +86,14 @@ written in Python.
|
|||||||
will be used to mesh faces and edges of your geometry. (Note
|
will be used to mesh faces and edges of your geometry. (Note
|
||||||
that any object has edges, even if their existence is not
|
that any object has edges, even if their existence is not
|
||||||
apparent, for example, a sphere has 4 edges). Note that the
|
apparent, for example, a sphere has 4 edges). Note that the
|
||||||
choice of hypotheses and of an algorithm of lower dimension depends on
|
choice of hypotheses and lower dimension algorithms depends on
|
||||||
the algorithm.
|
the higher dimension algorithm.
|
||||||
|
|
||||||
Some algorithms generate mesh of several dimensions while others, of
|
Some algorithms generate mesh of several dimensions, while others
|
||||||
only one dimension. In the latter case there must be one Algorithm and zero or several
|
produce mesh of only one dimension. In the latter case there must be one Algorithm and zero or several
|
||||||
Hypotheses for each dimension of your object, otherwise you will
|
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,
|
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
|
which is a 2D object, you do not need to define a 3D Algorithm and
|
||||||
Hypotheses.
|
Hypotheses.
|
||||||
|
|
||||||
In the <b>Object Browser</b> the structure of the new mesh will be
|
In the <b>Object Browser</b> the structure of the new mesh will be
|
||||||
@ -122,7 +122,7 @@ written in Python.
|
|||||||
tags).
|
tags).
|
||||||
|
|
||||||
\image html hypo_sets.png
|
\image html hypo_sets.png
|
||||||
List of sets of hypotheses: <em>[custom]</em>
|
List of sets of hypotheses. Tag <em>[custom]</em> is
|
||||||
automatically added to the sets defined by the user
|
automatically added to the sets defined by the user
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
@ -164,7 +164,7 @@ Select <b>1D mesh</b> or <b>2D mesh</b> preview mode in the Preview dialog.
|
|||||||
<b>Compute</b> button computes the whole mesh.
|
<b>Compute</b> button computes the whole mesh.
|
||||||
|
|
||||||
When the Preview dialog is closed, the question about the storage of temporarily
|
When the Preview dialog is closed, the question about the storage of temporarily
|
||||||
created mesh elements appers:
|
created mesh elements appears:
|
||||||
|
|
||||||
\image html preview_tmp_data.png
|
\image html preview_tmp_data.png
|
||||||
|
|
||||||
@ -185,7 +185,7 @@ Choose "Change submesh priority" from the Mesh menu or a pop-up
|
|||||||
menu. The opened dialog shows a list of submeshes in the order of
|
menu. The opened dialog shows a list of submeshes in the order of
|
||||||
their priority.
|
their priority.
|
||||||
|
|
||||||
There is an example of submesh order modifications of the Mesh created on a Box
|
There is an example of submesh order modifications taking a Mesh created on a Box
|
||||||
shape. The main Mesh object:
|
shape. The main Mesh object:
|
||||||
<ul>
|
<ul>
|
||||||
<li><i>1D</i> <b>Wire discretisation</b> with <b>Number of Segments</b>=20</li>
|
<li><i>1D</i> <b>Wire discretisation</b> with <b>Number of Segments</b>=20</li>
|
||||||
@ -195,22 +195,22 @@ shape. The main Mesh object:
|
|||||||
The first submesh object <b>Submesh_1</b> created on <b>Face_1</b> is:
|
The first submesh object <b>Submesh_1</b> created on <b>Face_1</b> is:
|
||||||
<ul>
|
<ul>
|
||||||
<li><i>1D</i> <b>Wire discretisation</b> with <b>Number of Segments</b>=4</li>
|
<li><i>1D</i> <b>Wire discretisation</b> with <b>Number of Segments</b>=4</li>
|
||||||
<li><i>2D</i> <b>Triangle (Mefisto)</b> with Hypothesis<b>MaxElementArea</b>=1200</li>
|
<li><i>2D</i> <b>Triangle (Mefisto)</b> with Hypothesis <b>MaxElementArea</b>=1200</li>
|
||||||
</ul>
|
</ul>
|
||||||
The second submesh object <b>Submesh_2</b> created on <b>Face_2</b> is:
|
The second submesh object <b>Submesh_2</b> created on <b>Face_2</b> is:
|
||||||
<ul>
|
<ul>
|
||||||
<li><i>1D</i> <b>Wire discretisation</b> with <b>Number of Segments</b>=8</li>
|
<li><i>1D</i> <b>Wire discretisation</b> with <b>Number of Segments</b>=8</li>
|
||||||
<li><i>2D</i> <b>Triangle (Mefisto)</b> with Hypothesis<b>MaxElementArea</b>=1200</li>
|
<li><i>2D</i> <b>Triangle (Mefisto)</b> with Hypothesis <b>MaxElementArea</b>=1200</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
And the last submesh object <b>Submesh_3</b> created on <b>Face_3</b> is:
|
And the last submesh object <b>Submesh_3</b> created on <b>Face_3</b> is:
|
||||||
<ul>
|
<ul>
|
||||||
<li><i>1D</i> <b>Wire discretisation</b> with <b>Number of Segments</b>=12</li>
|
<li><i>1D</i> <b>Wire discretisation</b> with <b>Number of Segments</b>=12</li>
|
||||||
<li><i>2D</i> <b>Triangle (Mefisto)</b> with Hypothesis<b>MaxElementArea</b>=1200</li>
|
<li><i>2D</i> <b>Triangle (Mefisto)</b> with Hypothesis <b>MaxElementArea</b>=1200</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
The sub-meshes become concurrent if they share sub-shapes that can be
|
The sub-meshes become concurrent if they share sub-shapes that can be
|
||||||
meshed with different algorithms (or different hypothesises). In the
|
meshed with different algorithms (or different hypotheses). In the
|
||||||
example, we have three submeshes with concurrent algorithms, because
|
example, we have three submeshes with concurrent algorithms, because
|
||||||
they have different hypotheses.
|
they have different hypotheses.
|
||||||
|
|
||||||
@ -289,21 +289,21 @@ visualizing in magenta the geometrical entity that causes it.
|
|||||||
"Mesh computation/Show a computation result notification" preference
|
"Mesh computation/Show a computation result notification" preference
|
||||||
to the "Never" value. This option gives the possibility to control mesh
|
to the "Never" value. This option gives the possibility to control mesh
|
||||||
computation reporting. There are the following possibilities: always
|
computation reporting. There are the following possibilities: always
|
||||||
show information box, only if an error occurs or never.
|
show the information box, show only if an error occurs or never.
|
||||||
By default, the information box is always shown after mesh computation operation.
|
By default, the information box is always shown after mesh computation operation.
|
||||||
|
|
||||||
<b>Publish Sub-shape</b> button publishes the sub-shape, whose meshing
|
<b>Publish Sub-shape</b> button publishes the sub-shape, whose meshing
|
||||||
failed, in GEOM component as a child of the mesh geometry, which
|
has failed, in GEOM component as a child of the mesh geometry, which
|
||||||
allows analyzing the problem geometry and creating a submesh on it in
|
allows analyzing the problem geometry and creating a submesh on it in
|
||||||
order to locally tune hypotheses.
|
order to locally tune the hypotheses.
|
||||||
|
|
||||||
If a cause of failure is an invalid input mesh and the algorithm has
|
If the failure is caused by an invalid input mesh and the algorithm has
|
||||||
provided information on what mesh entities are bad <b>Show bad Mesh</b>
|
found which mesh entities are bad, <b>Show bad Mesh</b>
|
||||||
button appears in the dialog. Clicked, it shows bad mesh entities in
|
button appears in the dialog. Clicked, it shows the bad mesh entities in
|
||||||
the Viewer in magenta. Sometimes the shown mesh entities are too small
|
the Viewer in magenta. Sometimes the shown mesh entities are too small
|
||||||
or/and hidden by other mesh elements, to see them it can be helpful to
|
or/and hidden by other mesh elements. They can be seen after
|
||||||
switch the mesh to Wireframe visualization mode or to switch off
|
switching the mesh to Wireframe visualization mode or switching off
|
||||||
visualization of faces and volumes (if any).
|
the visualization of faces and volumes (if any).
|
||||||
|
|
||||||
\image html show_bad_mesh.png
|
\image html show_bad_mesh.png
|
||||||
<em>Too close nodes causing meshing failure are shown in magenta using <b>Show
|
<em>Too close nodes causing meshing failure are shown in magenta using <b>Show
|
||||||
@ -313,22 +313,22 @@ visualization of faces and volumes (if any).
|
|||||||
\anchor use_existing_anchor
|
\anchor use_existing_anchor
|
||||||
<h2>"Use existing edges" and "Use existing faces" algorithms</h2>
|
<h2>"Use existing edges" and "Use existing faces" algorithms</h2>
|
||||||
|
|
||||||
It is possible to create an 1D or a 2D mesh in a python script
|
It is possible to create a 1D or a 2D mesh in a python script
|
||||||
(using <em>AddNode, AddEdge</em> and <em>AddFace</em> commands) and
|
(using <em>AddNode, AddEdge</em> and <em>AddFace</em> commands) and
|
||||||
then use such sub-meshes in the construction of a 2D or a 3D mesh. For
|
then use such sub-meshes in the construction of a 2D or a 3D mesh. For
|
||||||
this, there exist two algorithms: <b>Use existing edges</b> and <b>Use
|
this, there exist two algorithms: <b>Use existing edges</b> and <b>Use
|
||||||
existing faces</b>. Scenario of their usage is following. For
|
existing faces</b>.
|
||||||
example, you want to use standard algorithms to generate 1D and 3D
|
For example, you want to use standard algorithms to generate 1D and 3D
|
||||||
meshes and to create 2D mesh by your python code. Then you
|
meshes and to create 2D mesh by your python code. Then you
|
||||||
<ul>
|
<ul>
|
||||||
<li> create a mesh object, assign an 1D algorithm,</li>
|
<li> create a mesh object, assign a 1D algorithm,</li>
|
||||||
<li> invoke \b Compute command, which computes an 1D mesh,</li>
|
<li> invoke \b Compute command, which computes a 1D mesh,</li>
|
||||||
<li> assign <b>Use existing faces</b> and a 3D algorithm,</li>
|
<li> assign <b>Use existing faces</b> and a 3D algorithm,</li>
|
||||||
<li> run your python code, which creates a 2D mesh,</li>
|
<li> run your python code, which creates a 2D mesh,</li>
|
||||||
<li> invoke \b Compute command, which computes a 3D mesh.</li>
|
<li> invoke \b Compute command, which computes a 3D mesh.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
Consider trying a sample script demonstrating usage of
|
Consider trying a sample script demonstrating the usage of
|
||||||
\ref tui_use_existing_faces "Use existing faces" algorithm for
|
\ref tui_use_existing_faces "Use existing faces" algorithm for
|
||||||
construction of a 2D mesh using Python commands.
|
construction of a 2D mesh using Python commands.
|
||||||
|
|
||||||
|
@ -56,30 +56,32 @@ sub-mesh. You can define algorithms and hypotheses in the same way as
|
|||||||
in \ref constructing_meshes_page "Create mesh" menu.
|
in \ref constructing_meshes_page "Create mesh" menu.
|
||||||
|
|
||||||
\par
|
\par
|
||||||
If the parent mesh is already computed, then you can define
|
If the parent mesh is already computed, then you can define the
|
||||||
\b Geometry by picking mesh elements computed on a sub-shape of interest
|
\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
|
in the 3D Viewer, i.e. you do not have to extract this sub-shape
|
||||||
previously in Geometry module. To start element selection, press \a
|
in Geometry module beforehand. To start element selection, press \a
|
||||||
Selection button to the right of \b Geometry label. If this button is
|
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
|
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
|
following pop-up menu allowing to choose a way of geometry definition will
|
||||||
appear.
|
appear.
|
||||||
|
|
||||||
\par
|
\par
|
||||||
\image html choose_geom_selection_way.png
|
\image html choose_geom_selection_way.png
|
||||||
|
|
||||||
\par
|
\par
|
||||||
There the first item enables selecting the sub-shape in the Object
|
<b>Direct geometry selection</b> enables selecting the sub-shape in the Object
|
||||||
Browser, the second one makes appear the following dialog.
|
Browser.
|
||||||
|
<b>Find geometry by mesh element selection</b> activates the following dialog.
|
||||||
|
|
||||||
\par
|
\par
|
||||||
\image html find_geom_by_mesh_elem.png
|
\image html find_geom_by_mesh_elem.png
|
||||||
|
|
||||||
\par
|
\par
|
||||||
In this dialog, <b> Element Type </b> defines kind of element to pick in the
|
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
|
Viewer.
|
||||||
ID in <b> Element ID</b> field. <b> Geometry name </b> allow you
|
Instead of picking an element in the Viewer, you can type its
|
||||||
define a name of the sub-shape with which it will be published in the Study.
|
ID in <b> Element ID</b> field.
|
||||||
|
<b> Geometry name </b> field allows defining a name of the sub-shape.
|
||||||
|
|
||||||
|
|
||||||
\par
|
\par
|
||||||
|
@ -39,17 +39,16 @@ quadrangles of the currently displayed mesh or sub-mesh.</li>
|
|||||||
<li><b>Use diagonal 1-3</b> and <b>Use diagonal 2-4</b> allows to
|
<li><b>Use diagonal 1-3</b> and <b>Use diagonal 2-4</b> allows to
|
||||||
specify the opposite corners which will be connected by the cutting
|
specify the opposite corners which will be connected by the cutting
|
||||||
edge.</li>
|
edge.</li>
|
||||||
<li><b>Use numeric functor</b> - allows to chose a quality criterion
|
<li><b>Use numeric functor</b> - allows to choose a quality criterion
|
||||||
optimization of which will be used to select the cutting edge.
|
which will be optimized at the outcome of the operation.
|
||||||
<ul>
|
<ul>
|
||||||
<li><b>Minimum diagonal</b> - will be used the edge with the smallest length.</li>
|
<li><b>Minimum diagonal</b> - cuts by the shortest edge.</li>
|
||||||
<li><b>Aspect Ratio</b> - will be used the edge which splits a quadrangle
|
<li><b>Aspect Ratio</b> - cuts by the edge splitting the quadrangle
|
||||||
in order to optimize an Aspect Ratio quality criterion. The reference value is 1.</li>
|
into triangles with optimal \ref aspect_ratio_page "Aspect Ratio". The reference value is 1.</li>
|
||||||
<li><b>Minimum Angle</b> - will be used the edge which splits a quadrangle
|
<li><b>Minimum Angle</b> - cuts by the edge splitting the quadrangle
|
||||||
in order to optimize a Minimum Angle quality criterion. The reference value
|
into triangles with optimal \ref minimum_angle_page "Minimum Angle". The reference value is 60 degrees.</li>
|
||||||
is 60 degrees.</li>
|
<li><b>Skew</b> - cuts by the edge splitting the quadrangle
|
||||||
<li><b>Skew</b> - will be used the edge which splits a quadrangle
|
into triangles with optimal \ref skew_page "Skew". The reference value
|
||||||
in order to optimize a Skew quality criterion. The reference value
|
|
||||||
is 0.0 degrees.</li>
|
is 0.0 degrees.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
@ -4,8 +4,7 @@
|
|||||||
|
|
||||||
\n Extrusion is used to build mesh elements of plus one
|
\n Extrusion is used to build mesh elements of plus one
|
||||||
dimension than the input ones. Any node, segment or 2D element can be
|
dimension than the input ones. Any node, segment or 2D element can be
|
||||||
extruded. Element of each type extrude into elements of a certain type
|
extruded. Each type of elements has a corresponding type of extruded elements:
|
||||||
as follows:
|
|
||||||
<table>
|
<table>
|
||||||
<tr><td><b>Extruded element</b></td><td><b> Result elements </b></td></tr>
|
<tr><td><b>Extruded element</b></td><td><b> Result elements </b></td></tr>
|
||||||
<tr><td>Node </td><td> Segments </td></tr>
|
<tr><td>Node </td><td> Segments </td></tr>
|
||||||
@ -63,7 +62,7 @@ The following dialog common for line and planar elements will appear:
|
|||||||
<li>specify the distance of extrusion along the vector.</li>
|
<li>specify the distance of extrusion along the vector.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<li>Specify the number of steps.</li>
|
<li>Specify the number of steps.</li>
|
||||||
<li>If you activate <b>Generate Groups</b> check-box then the created
|
<li>If you activate <b>Generate Groups</b> check-box, the created
|
||||||
elements contained in groups will be included into new groups named
|
elements contained in groups will be included into new groups named
|
||||||
by pattern "<old group name>_extruded". </li>
|
by pattern "<old group name>_extruded". </li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -126,13 +126,12 @@ Object Browser and select Clear Mesh Data in the pop-up menu.</li>
|
|||||||
\image html mesh_clear.png
|
\image html mesh_clear.png
|
||||||
<em>"Clear Mesh Data" button</em></center>
|
<em>"Clear Mesh Data" button</em></center>
|
||||||
|
|
||||||
\note This command works different in following situations: <ul>
|
\note This command works in a different way in different situations: <ul>
|
||||||
<li> if a mesh is computed on geometry, then "Clear Mesh Data" removes
|
<li> if the mesh is computed on a geometry, then "Clear Mesh Data" removes
|
||||||
all elements and nodes.</li>
|
all elements and nodes.</li>
|
||||||
<li> if mesh is not based on geometry (imported, compound, created from
|
<li> if the mesh is not based on a geometry (imported, compound, created from
|
||||||
scratch etc), then "Clear Mesh Data" removes only elements and
|
scratch etc), then "Clear Mesh Data" removes only the elements and
|
||||||
nodes computed by algorithms, i.e. it can remove nothing.</li></ul>
|
nodes computed by algorithms. If no such elements or nodes have been created, can remove nothing.</li></ul>
|
||||||
|
|
||||||
|
|
||||||
<br><b>See Also</b> a sample TUI Script of a
|
<br><b>See Also</b> a sample TUI Script of a
|
||||||
\ref tui_removing_nodes_and_elements "Removing Nodes and Elements" operation.
|
\ref tui_removing_nodes_and_elements "Removing Nodes and Elements" operation.
|
||||||
|
@ -3,17 +3,17 @@
|
|||||||
\page reorient_faces_page Reorient faces by vector
|
\page reorient_faces_page Reorient faces by vector
|
||||||
|
|
||||||
\n This operation allows changing orientation of a set of neighboring
|
\n This operation allows changing orientation of a set of neighboring
|
||||||
faces. The desired orientation is defined by a vector. Since direction
|
faces. The desired orientation is defined by a vector. Since the direction
|
||||||
of face normals in the set can be even opposite, it is necessary to
|
of face normals in the set can be even opposite, it is necessary to
|
||||||
specify a control face whose normal will be compared with the vector. This
|
specify a control face whose normal will be compared with the vector. This
|
||||||
face can be specified either explicitly or can be found by closeness to
|
face can be either specified explicitly or found by proximity to
|
||||||
a given point.
|
a given point.
|
||||||
|
|
||||||
Orientation of a face is changed by reverting the order of its nodes.
|
Orientation of a face is changed by reverting the order of its nodes.
|
||||||
|
|
||||||
<em>To change orientation of faces:</em>
|
<em>To change orientation of faces:</em>
|
||||||
<ol>
|
<ol>
|
||||||
<li>In the \b Modification menu select the <b>Reorient faces by
|
<li>In the \b Modification menu select <b>Reorient faces by
|
||||||
vector</b> item or click <em>Reorient faces by
|
vector</b> item or click <em>Reorient faces by
|
||||||
vector</em> button in the toolbar.
|
vector</em> button in the toolbar.
|
||||||
|
|
||||||
@ -31,24 +31,19 @@ The following dialog box will appear:
|
|||||||
|
|
||||||
<li>In this dialog
|
<li>In this dialog
|
||||||
<ul>
|
<ul>
|
||||||
<li>Specify a way of selection of the control face: by point or
|
<li>Specify the way of selection of the control face: by point or
|
||||||
explicitely.</li>
|
explicitly.</li>
|
||||||
<li>Select an \b Object containing faces to reorient, either in the Object
|
<li>Select the \b Object (mesh, sub-mesh or a group of faces) containing faces to reorient in the Object Browser or in the 3D Viewer.</li>
|
||||||
Browser or in the 3D Viewer; it can be either <ul>
|
<li>Specify the coordinates of the \b Point by which the control face
|
||||||
<li>group of faces,</li>
|
will be found or of the control \b Face itself. You can easy specify the \b
|
||||||
<li>sub-mesh of faces or</li>
|
Point by either picking a node in the 3D Viewer or selecting a vertex
|
||||||
<li>mesh.</li>
|
in the Object Browser. It is possible to pick the \b Face by mouse in
|
||||||
</ul></li>
|
the 3D Viewer or enter its ID.</li>
|
||||||
<li>Specify either coordinates of a \b Point by which the control face
|
<li>Set up the \b Direction vector to be compared with the normal of the
|
||||||
will be found or the control \b Face it-self. You can easy specify the \b
|
control face. If you pick a node in the 3D Viewer then the \b Direction
|
||||||
Point by either picking a node in the 3D Viewer or by selecting a vertex
|
vector will go from the coordinate system origin to the selected node.
|
||||||
in the Object Browser. The \b Face can be either picked by mouse in
|
If you pick two nodes (holding Shift button) then the \b Direction vector
|
||||||
the 3D Viewer or its ID can be entered by typing.</li>
|
will go from the first to the second node.</li>
|
||||||
<li>Set up a \b Direction to be compared with the normal of the
|
|
||||||
control face. You can either pick a node in the 3D Viewer then a \b Direction
|
|
||||||
from the coordinate system origin to the selected node will be set,
|
|
||||||
or you can pick two nodes (holding Shift button) then a \b Direction
|
|
||||||
from the first to the second node will be set.</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -18,9 +18,9 @@ filter. By default it is prefixed with the corresponding entity type.
|
|||||||
|
|
||||||
\anchor filtering_elements
|
\anchor filtering_elements
|
||||||
|
|
||||||
When we use filters while creating a group or other operation (for
|
When we use filters during a group creation or another operation (by
|
||||||
this click <b>Set Filters</b> button in a corresponding dialog), the
|
clicking <b>Set Filters</b> button in the corresponding dialog), the
|
||||||
menu for setting filters looks a bit differently (see an image below).
|
menu for setting filters looks a bit differently (see the image below).
|
||||||
|
|
||||||
Each filter can be applicable to \b Nodes, \b Edges, \b Faces or \b
|
Each filter can be applicable to \b Nodes, \b Edges, \b Faces or \b
|
||||||
Volumes. You can combine many criteria in one filter, but they all
|
Volumes. You can combine many criteria in one filter, but they all
|
||||||
@ -39,14 +39,14 @@ Or and And.
|
|||||||
\n Some criteria should have the additional parameter of \b Tolerance.
|
\n Some criteria should have the additional parameter of \b Tolerance.
|
||||||
<br>
|
<br>
|
||||||
Switching on <b>Insert filter in viewer</b> checkbox limits
|
Switching on <b>Insert filter in viewer</b> checkbox limits
|
||||||
selection of elements in the Viewer using your current filter.
|
selection of elements in the Viewer to the current filter.
|
||||||
<br>
|
<br>
|
||||||
In the \b Source field you choose if the filter will be applied to
|
In the \b Source field you choose if the filter will be applied to
|
||||||
the whole \b Mesh, the <b>Initial Selection</b> or the <b>Current
|
the whole \b Mesh, the <b>Initial Selection</b> or the <b>Current
|
||||||
Group</b>. If \b Mesh is chosen, the elements satisfying the filter
|
Group</b>. If \b Mesh is chosen, the elements satisfying the filter
|
||||||
will be selected in the 3D Viewer. If <b> Initial Selection</b> is
|
will be selected in the 3D Viewer. If <b> Initial Selection</b> is
|
||||||
chosen, the filter will be applied to the selected elements and the
|
chosen, the filter will be applied to the selected elements and the
|
||||||
elements rejected by the filter will be deseleced. If <b>Current
|
elements rejected by the filter will be deselected. If <b>Current
|
||||||
Group</b> is chosen, the filter will be applied to the list of
|
Group</b> is chosen, the filter will be applied to the list of
|
||||||
elements in the current dialog and the elements rejected
|
elements in the current dialog and the elements rejected
|
||||||
by the filter will be removed from the list.
|
by the filter will be removed from the list.
|
||||||
@ -72,7 +72,7 @@ shape the algorithm works slower.
|
|||||||
</li><li>
|
</li><li>
|
||||||
<b>Lying on Geom</b> selects entities whose at least one node
|
<b>Lying on Geom</b> selects entities whose at least one node
|
||||||
lies on the shape defined by the <b>Threshold Value</b>.
|
lies on the shape defined by the <b>Threshold Value</b>.
|
||||||
If the hreshold shape is a sub-shape of the main shape of the mesh the
|
If the threshold shape is a sub-shape of the main shape of the mesh the
|
||||||
algorithm works faster, if this is any other
|
algorithm works faster, if this is any other
|
||||||
shape, the algorithm works slower.
|
shape, the algorithm works slower.
|
||||||
</li><li>
|
</li><li>
|
||||||
@ -171,7 +171,7 @@ The following criteria allow selecting mesh <b>Faces</b>:
|
|||||||
one element of mesh only. See also a
|
one element of mesh only. See also a
|
||||||
\ref free_edges_page "Free Edges quality control".
|
\ref free_edges_page "Free Edges quality control".
|
||||||
</li><li>
|
</li><li>
|
||||||
<b>Free faces</b> selects 2D mesh elements wich belong to less than two volumes.
|
<b>Free faces</b> selects 2D mesh elements, which belong to less than two volumes.
|
||||||
</li><li>
|
</li><li>
|
||||||
<b>Double faces</b> selects 2D mesh elements basing on the same set of nodes.
|
<b>Double faces</b> selects 2D mesh elements basing on the same set of nodes.
|
||||||
See also \ref filter_double_elements "Double Elements quality control".
|
See also \ref filter_double_elements "Double Elements quality control".
|
||||||
|
@ -28,8 +28,8 @@ to sort the list of IDs. The <b>Set filter</b> button allows to apply a
|
|||||||
definite filter to selection of triangles.</li>
|
definite filter to selection of triangles.</li>
|
||||||
<li><b>Apply to all</b> radio button allows to modify connectivity and
|
<li><b>Apply to all</b> radio button allows to modify connectivity and
|
||||||
type of all triangles of the currently displayed mesh or sub-mesh.</li>
|
type of all triangles of the currently displayed mesh or sub-mesh.</li>
|
||||||
<li>\b Criterion menu allows to chose a quality criterion
|
<li>\b Criterion menu allows to choose a quality criterion,
|
||||||
optimization of which will be used to select triangles to unite.</li>
|
which will be optimized to select triangles to unite.</li>
|
||||||
<li><b>Select from</b> set of fields allows to choose a sub-mesh or an
|
<li><b>Select from</b> set of fields allows to choose a sub-mesh or an
|
||||||
existing group whose triangle elements will be automatically added to
|
existing group whose triangle elements will be automatically added to
|
||||||
the list.</li>
|
the list.</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user