<div dir="ltr"><div><div><div><div>Is it possible to generate a 2D boundary layer mesh near an edge whose elements at the edge have some specified aspect ratio using the BoundaryLayer field?  Below is my attempt.<br></div><span style="font-family:monospace,monospace"><br></span><div style="margin-left:40px"><span style="font-family:monospace,monospace">Field[1] = BoundaryLayer;</span><br><span style="font-family:monospace,monospace">Field[1].EdgesList = {1};</span><br><span style="font-family:monospace,monospace">Field[1].NodesList = {1, 2};</span><br><span style="font-family:monospace,monospace">Field[1].hfar = lc;</span><br><span style="font-family:monospace,monospace">Field[1].hwall_n = lc/4;  // want an aspect ratio of 1:4</span><br><span style="font-family:monospace,monospace">Field[1].hwall_t = lc;</span><br><span style="font-family:monospace,monospace">Field[1].ratio = 1.25;</span><br><span style="font-family:monospace,monospace">Field[1].thickness = 0.25;</span><br><span style="font-family:monospace,monospace">Field[1].Quads = 1;       // want layer with rectangular quads</span><br><span style="font-family:monospace,monospace">Background Field = 1;</span><br></div><br></div>Here, edge 1 is just a straight line that is the bottom boundary of a square.  I do get refinement near this edge, but the elements are not rectangular with the 1:4 aspect as I expected.  They are approximately 1:1 in aspect having the size specified by hwall_n.  The hwall_t setting is evidently ignored.  Is there something I am doing wrong?   I am using the 'automatic' 2d meshing algorithm with Blossom recombination to quads.<br><br></div>Thanks!<br></div></div>