Generating a structured mesh (surfaces)
. To mesh surfaces with a structured mesh, select the option Mesh->Structured->Surfaces->Assign number of cells. . Select all top surfaces 9, 24, 26 and 12 and press ESC. . A window appears in which to enter the number of divisions that the lines to be selected will have. Enter 4.. Click Assign and select one vertical line5 (parallel to the Y axis). Press ESC. . Another window appears in which to enter the number of divisions on the lines. Enter 6.. Click Assign and select the 4 bottom lines5. Press ESC. . Another window appears in which to enter the number of divisions on the lines. In this case, all the boundary lines have already been defined. Therefore, click Close. . Select Mesh->Element type->Triangle. Select surfaces 26 and 12. Press ESC.
. Select Mesh->Generate mesh.. A window comes up asking whether the previous mesh sould be eliminated. Click Yes.. Another window appears in wihich to enter the maximum element size. Leave the default value unaltered an click OK. The result is the mesh shown in Figure 8.. As seen in Figures 7 and 8, GID can obtain surface structured meshes made of quadrilaterals or triangles. There are tow kinds of structured mesh that use triangles: the one shown in Figure 7 is obtained when the Utilities->Preferences->Meshing->Symmetrical structured->triangles option is set. If this option is not set, the mesh presented in Figure 8 is produced (with fewer nodes than if using the previous option).

_____________________________________________________________________
5 When selecting a line, GID automatically selects all lines parallel to it.
Generating a structured mesh (surfaces)