9 To create a **Grid** in the **Main Menu** select **Model -> 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 - base: base vector of the cylinder (select a vector).
69 - height: vertical 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)
87 The result is an array of hexahedra which are arranged along the
88 radial axis first, then the angular axis, then according to the layers
89 and then possibly hexahedra filling the central part.
91 The filling of the central part of the cylinder is made according to the two following cases:
93 .. image:: _static/cyl_grid2.PNG
97 Filling of the central part of the cylinder in the case the number of angular elements is odd na = 5.
99 .. image:: _static/cyl_grid1.PNG
103 Filling of the central part of the cylinder in the case the number of angular elements is even na = 4.
108 .. image:: _static/cylgrid1.png
111 .. image:: _static/cylgrid2.png
114 .. image:: _static/cylgrid3.png
117 .. image:: _static/cylgrid4.png
120 .. image:: _static/cylgrid5.png
123 .. image:: _static/cylgrid6.png
128 Cylindrical grids with different filling cases
130 TUI command: :ref:`tuicylgrid`
137 To create a spherical grid, select radio button **Spherical**:
139 .. image:: _static/gui_make_spher_grid.png
143 Dialogue Box for a Spherical grid
146 The following data are required:
148 - the center (vertex) of the central hexahedron,
149 - the vector corresponding to the diametrically opposite vertex to the initial vertex,
150 - the number of embedded hexahedra (nb),
151 - the coefficient of growth (k).
154 The result is an array of hexahedra starting with the central and
155 other hexahedral are arranged layer by layer from the center. Each
156 layer contains six hexahedral always in the following order: two along
157 the X axis, then two for the Y axis and two for the Z axis.
159 The result of this action is:
161 .. image:: _static/sph_grid.png
165 Resulting Spherical grid
167 TUI command: :ref:`tuisphergrid`