Inflation layer (Viscous layer) in sharp corners

Hello everybody,

I am trying to create a 2D pseudo mesh for OpenFOAM simulation through SALOME. I first create the 2D mesh and then I extrude it along z axis, with one cell height only. I use NETGEN 1D-2D with Viscous Layer hypothesis for the generation of the mesh with inflation layers.

However, when I use the Viscous Layer hypothesis for inflation layer generation in shapes with sharp corners (like a square, see atatched image), there is an area in the vertex where the inflation layer doesnt apply and a very inconsistent mesh is formed.

I think I must somehow “group” it. I have already created a group in geometry, however it gets each edge separately.

Any ideas on how to fix that?