How to Create Simple Grading Mesh

Hi, I’m new to fenics, trying to learn solving for NS equation. And I want to have a simple grading mesh which has finer mesh at the boundary and grows bigger in certain ratio further away the boundary layer by layer.

I could not find much material relevant. I would like to ask help to be directed in the right direction for a solution.

Hi,
FEniCS has only very simple built-in mesh generating functions. For more advanced meshes, you should consider using a dedicated mesher like Gmsh for instance.
Best