9 To create a **Grid** in the **Main Menu** select **Model -> Construction -> Make Grid**.
11 Three kinds of grid can be created:
13 - cartesian grid (see :ref:`guicartgrid`),
14 - cylindrical grid (see :ref:`guicylgrid`),
15 - spherical grid (see :ref:`guisphergrid`).
22 To create a cartesian grid, select radio button **Cartesian**:
24 .. image:: _static/gui_make_cart_grid.png
28 Dialogue Box for a Cartesian grid
31 The following data are required:
33 - the vertex of the initial hexahedron,
34 - the vector corresponding to the diametrically opposite vertex to the initial vertex,
35 - the number of repetition of this hexahedra along the three axes
36 (n(x), n(y) and n(z)).
39 The result of this action is:
41 .. image:: _static/cartgrid3.png
47 TUI command: :ref:`tuicartgrid`
55 To create a cylindrical grid, select radio button **Cylindrical**:
57 .. image:: _static/gui_make_cyl_grid.png
61 Dialogue Box for a Cylindrical grid (regular size)
64 The following data are required:
67 - center: coordinates of the cylinder base center (select a vertex).
68 - axis: direction vector of the cylinder (select a vector).
69 - base: base vector of the cylinder (select a vector).
72 - radius: size and number of elements from the center.
73 - angle: size and number of elements around the center.
74 - height: size and number of elements on height.
75 - fill: choose this option to fill the central part of the hexhahedra.
78 Elements size of the grid can be irregular (differents sizes). Select the adequate radio button:
80 .. image:: _static/gui_make_cyl_grid_irregular.png
84 Dialogue Box for a Cylindrical grid (irregular size)
89 .. image:: _static/cylgrid1.png
92 .. image:: _static/cylgrid2.png
95 .. image:: _static/cylgrid3.png
98 .. image:: _static/cylgrid4.png
101 .. image:: _static/cylgrid5.png
104 .. image:: _static/cylgrid6.png
109 Cylindrical grids with different filling cases
111 TUI command: :ref:`tuicylgrid`
118 To create a spherical grid, select radio button **Spherical**:
120 .. image:: _static/gui_make_spher_grid.png
124 Dialogue Box for a Spherical grid
127 The following data are required:
129 - the center (vertex) of the central hexahedron,
130 - the radius of the internal hexahedron
131 - the number of embedded hexahedra (nb),
132 - the coefficient of growth (k).
135 The result is an array of hexahedra starting with the central and
136 other hexahedral are arranged layer by layer from the center. Each
137 layer contains six hexahedral always in the following order: two along
138 the X axis, then two for the Y axis and two for the Z axis.
140 The result of this action is:
142 .. image:: _static/sph_grid.png
146 Resulting Spherical grid
148 TUI command: :ref:`tuisphergrid`