Salome HOME
Merge branch 'V8_5_asterstudy'
[modules/smesh.git] / doc / salome / gui / SMESH / input / make_2dmesh_from_3d.rst
1 .. _make_2dmesh_from_3d_page:
2
3 **************************
4 Generate boundary elements
5 **************************
6
7 This functionality allows to generate mesh elements on the borders of elements of a higher dimension, for example, to create 2D elements around a block of 3D elements as in the following figure.
8
9 .. image:: ../images/2d_from_3d_example.png
10         :align: center
11
12 .. centered::
13         Missing 2D elements were generated
14
15
16 *To generate border elements:*
17
18 .. |img| image:: ../images/2d_from_3d_ico.png
19
20 #. Select a mesh or group in the Object Browser or in the 3D Viewer
21 #. From the **Modification** menu choose **Create boundary elements** item, or click "Create boundary elements" button |img| in the toolbar
22
23    The following dialog box will appear:
24
25         .. image:: ../images/2d_from_3d_dlg.png 
26                 :align: center
27
28         .. centered::
29                  Create boundary elements dialog box
30
31 #. Check in the dialog box one of two radio buttons corresponding to the type of operation you would like to perform.
32 #. Fill the other fields available in the dialog box.
33 #. Click the **Apply** or **Apply and Close** button to perform the operation.
34
35 *Create boundary elements* dialog allows creation of boundary elements of two types.
36
37 * **2D from 3D** creates missing mesh faces on free facets of volume elements
38 * **1D from 2D** creates missing mesh edges on free edges of mesh faces
39
40 Here a **free facet** means a facet shared by only one volume, a **free edge**
41 means an edge shared by only one mesh face.
42
43 In this dialog:
44
45 * specify the **Target** mesh, where the boundary elements will be created.
46   
47         * **This mesh** adds elements in the selected mesh.
48         * **New mesh** adds elements to a new mesh. The new mesh appears in the Object Browser with the name that you can change in the adjacent box. 
49   
50 * activate **Copy source mesh** checkbox to copy all elements of the selected mesh to the new mesh, else the new mesh will contain only boundary elements (old and created by this operation).
51 * activate **Create group** checkbox to create a group to which all the boundary elements (old and new) are added. The new group appears in the Object Browser with the name that you can change in the adjacent box. 
52
53 **See Also** a sample TUI Script of a :ref:`tui_make_2dmesh_from_3d` operation.  
54
55