See for instance: I need to create stuctured uniform, structuted non-uniform, and unstructured mesh in 2D - #5 by dokken which shows you how to define a uniform structured grid to get a similar structure to what you want.
2 Likes