Salome HOME
Redesign SALOME documentation
[modules/smesh.git] / doc / salome / gui / SMESH / input / adding_quadratic_elements.rst
1                                     
2 .. _adding_quadratic_elements_page: 
3
4 *************************
5 Adding Quadratic Elements
6 *************************  
7
8 MESH module allows you to work with **Quadratic Elements**.
9
10 Quadratic elements are defined by the same corner nodes as the corresponding linear ones, but in addition they have *midside* nodes located between the corner nodes on element sides.
11
12 If a quadratic 2D element has an additional node at the element center, it is a bi-quadratic element (both TRIA7 and QUAD9 elements are supported). If a quadratic hexahedral element has 7 additional nodes: at the element center and at the center of each side, it is a tri-quadratic element (or HEXA27).
13
14 The convention of nodal connectivity of elements used in SALOME is the MED library convention. You can consult the description of nodal connectivity of elements in the documentation on MED library or :ref:`connectivity_page`.
15
16 There are several ways to create quadratic elements in your mesh:
17
18 * manually (this way is described below);
19 * use :ref:`quadratic_mesh_anchor` hypothesis to generate a quadratic mesh on your geometry;
20 * convert an existing linear mesh to a quadratic one (see :ref:`convert_to_from_quadratic_mesh_page`).
21
22 **To add a quadratic element to your mesh:**
23
24 #. Select your mesh in the Object Browser or in the 3D viewer.
25
26 #. From the **Modification** menu choose the **Add** item and select one of the following:
27
28         .. image:: ../images/image152.png
29                 :align: center
30
31 .. note::
32         All dialogs for adding quadratic element to the mesh provide the possibility to automatically add an element to the specified group or to create the group anew using **Add to group** box, that allows choosing an existing group for the created node or element or giving the name to a new group. By default, the **Add to group** check box is switched off. If the user switches this check box on, the combo box listing all currently existing groups of the corresponding type becomes available. By default, no group is selected. In this case, when the user presses **Apply** or **Apply & Close** button, the warning message box informs the user about the necessity to input a new group name. The combo box lists groups of all the 
33         :ref:`grouping_elements_page` both 
34         :ref:`standalone_group`,
35         :ref:`group_on_filter`, and 
36         :ref:`group_on_geom`. If the user chooses a group on geometry or on filter, he is warned and proposed to convert this group to standalone.
37         If the user rejects conversion operation, it is cancelled and a new quadratic element is not created.
38
39
40 To create any **Quadratic Element** specify the nodes which will form your element by selecting them in the 3D viewer with pressed Shift button and click *Selection* button to the right of **Corner Nodes** label. Their numbers will appear in the dialog box as **Corner Nodes** (alternatively you can just input numbers in this field without selection; note that to use this way the mesh should be selected before invoking this operation). The edges formed by the corner nodes will appear in the table. To define the middle nodes for each edge, double-click on the respective field and input the number of the node (or pick the node in the viewer). For bi-quadratic and tri-quadratic elements, your also need to specify central nodes. As soon as all needed nodes are specified, a preview of a new quadratic element will be displayed in the 3D viewer. Then you will be able to click **Apply** or **Apply and Close** button to add the element to the mesh.
41
42 .. image:: ../images/aqt.png
43         :align: center
44
45 **Reverse** button reverses the element.
46
47
48
49