Mesh Adaption at an arbitrary list of boundaries

Hi all,

I am trying to calculate a convection diffusion equation in 3 dimensions, but I know that my problem will have a boundary layer near a 2D wall.

I create a 2D mesh first, and then extended it into 3D. What I want to do is adapt the 2D mesh first locally near the boundary before I split it.

My problem is that if I were to just add more points at the boundary when making the mesh, it creates a lot more degrees of freedom far away from the wall. Is there a command or a workaround to adapt a mesh only near the wall surface, and it exponentially decays to the normal mesh after a certain distance?

Thank you
Kevin