7 Revolution is used to build mesh elements of plus one
8 dimension than the input ones. Boundary elements around generated
9 mesh of plus one dimension are additionally created. All created
10 elements can be automatically grouped. Revolution can be used to create
11 a :ref:`structured mesh from scratch <extrusion_struct>`.
12 See :ref:`extrusion_page` page for general information on Revolution,
13 which can be viewed as extrusion along a circular path.
15 *To apply revolution:*
17 .. |img| image:: ../images/image92.png
18 .. |sel| image:: ../images/image120.png
20 #. From the **Modification** menu choose the **Revolution** item or click **"Revolution"** button in the toolbar.
22 The following dialog will appear:
24 .. image:: ../images/revolution1.png
30 * Use *Selection* button |sel| to specify what you are going to select at a given moment, **Nodes**, **Edges** or **Faces**.
32 * Specify **Nodes**, **Edges** and **Faces**, which will be revolved, by one of following means:
33 * **Select the whole mesh, sub-mesh or group** activating this check-box.
34 * Choose mesh elements with the mouse in the 3D Viewer. It is possible to select a whole area with a mouse frame.
35 * Input the element IDs directly in **Node IDs**, **Edge IDs** and **Face IDs** fields. The selected elements will be highlighted in the viewer, if the mesh is shown there.
36 * Apply Filters. **Set filter** button allows to apply a filter to the selection of elements. See more about filters in the :ref:`filtering_elements` page.
37 * Specify the **Axis** of revolution:
38 * Specify the coordinates of the start **Point** of the axis of revolution; either directly or by picking a node in the Viewer (selection of nodes is activated as you click the *Selection* button).
39 * Specify the **Vector** of the axis in either of three ways:
40 * directly adjust vector components;
41 * click *Selection* button, choose **From Origin to selected Point** in the opened menu and pick a node in the Viewer;
42 * click *Selection* button, chose **Normal to selected Face** in the opened menu and pick a mesh face in the Viewer.
43 * Specify the **Angle** of revolution and the **Number of steps** of revolution,
44 * **Angle by Step** - the elements are revolved by the specified angle at each step (i.e. for Angle=30 and Number of Steps=3, the elements will be extruded by 30 degrees twice for a total of 30*3=90)
46 .. image:: ../images/revolutionsn2.png
50 Example of Revolution with Angle by Step. Angle=30 and Number of Steps=3
52 * **Total Angle** - the elements are revolved by the specified angle only once and the number of steps defines the number of iterations (i.e. for Angle=30 and Number of Steps=3, the elements will be revolved by 30/3=10 degrees twice for a total of 30).
54 .. image:: ../images/revolutionsn1.png
58 Example of Revolution with Total Angle. Angle=30 and Number of Steps=3
62 * Specify the **Tolerance**, which is used to detect nodes lying on the axis of revolution.
63 * Activate **Preview** check-box to see the result mesh in the viewer.
64 * If you activate **Generate Groups** check-box, the **result elements** created from **selected elements** contained in groups will be included into new groups named by pattern "<old group name>_rotated" and "<old group name>_top". For example if a selected quadrangle is included in *g_Faces* group (see figures below) then result hexahedra will be included in *g_Faces_rotated* group and a quadrangle created at the "top" of revolved mesh will be included in *g_Faces_top* group.
66 .. image:: ../images/extrusion_groups.png
69 .. image:: ../images/extrusion_groups_res.png
73 This check-box is active only if there are some groups in the mesh.
75 #. Click **Apply** or **Apply and Close** button to confirm the operation.
77 **See Also** a sample TUI Script of a :ref:`tui_revolution` operation.