<div dir="ltr">Hi Gmsh team, <div><br></div><div>I'd like to create 2D surface mesh with high density near the boundary and corners. It looks like the boundary layer field is quite suitable for this. </div><div><br></div><div>For example I can create a mesh like below. What I failed to find out is to increase the mesh density at the four corners. If I want to do that (which looks like adjusting 1D mesh parameters) together with the boundary layer field, what is the best way? </div><div><br></div><div>Thank you!</div><div>Tian<div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><br></div></div></div></div><div><div>Here is my geo script to generate the mesh:</div><div><br>SetFactory("OpenCASCADE");<br>Rectangle(1) = {0, 0, 0, 1, 2, 0};<br>Field[1] = BoundaryLayer;<br>Field[1].EdgesList = {1, 2, 3, 4};<br>Field[1].hwall_n = 0.03;<br>Field[1].thickness = 0.1;<br>BoundaryLayer Field = 1;<br><div></div></div></div><div><br></div><div><div><img src="cid:ii_kgueet2v0" alt="image.png" width="338" height="542"><br></div></div><div><br></div><div><br></div><div><div><br></div></div></div>