Salome HOME
Adding user documentation
[modules/smesh.git] / doc / gui / input / create_dual_mesh.rst
1 .. _create_dual_mesh_page:
2
3 ****************
4 Create Dual Mesh
5 ****************
6
7 We can create the dual of a Tetrahedron Mesh which will be a polyhedron mesh.
8 The Mesh is created using MEDCoupling computeDualMesh function.
9
10 *To create a dual mesh:*
11
12 .. |img| image:: ../images/create_dual_mesh_icon.png
13
14 From the contextual menu in the Object Browser of from the **Mesh** menu select
15 **Create Dual Mesh** or click *"Create Dual Mesh"* button |img| in the toolbar.
16
17 The following dialog box will appear:
18
19 .. image:: ../images/create_dual_mesh_dlg.png
20         :align: center
21
22 In the dialog:
23
24 * specify the mesh for which to create the dual mesh:
25   * **Select whole mesh** from the study tree. If a mesh was selected before calling function it will be preselected.
26   * If the mesh is not made of only Tetrahedrons a error message will be displayed and you won't be allowed to go through.
27 * specify the **New Mesh Name**;
28 * activate **Project boundary elements on shape** for the boundary points of the
29   dual mesh to be projected on their associated shape.
30
31 * Click **Apply** or **Apply and Close** button to confirm the operation.
32
33 ----------------------------
34 Limitations of the dual mesh
35 ----------------------------
36
37 Only 2d groups will be transferred to the dual mesh.
38
39 If you have convex shape the projection might not improve the mesh.
40
41
42 **See Also** a sample script of :ref:`tui_create_dual_mesh`.