<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">Dear All,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">Recently, I want to generate a mesh which has 2 boundary layers in 2 different locations. These 2 boundary layers should use different grid size. I know how to define many boundary layers with the same grid properties. However, I do not know how to define many boundary layers with 2 or more grid properties (e.g. grid size). The code to define boundary layers is list as below:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default"><div class="gmail_default"><font color="#000000">Field[1]           = BoundaryLayer;</font></div><div class="gmail_default"><font color="#000000">Field[1].EdgesList = {5,6,7};</font></div><div class="gmail_default"><font color="#000000">Field[1].Quads     = 1;</font></div><div class="gmail_default"><font color="#000000">Field[1].hfar      = 0.5;</font></div><div class="gmail_default"><font color="#000000">Field[1].hwall_n   = 0.01;</font></div><div class="gmail_default"><font color="#000000">Field[1].hwall_t   = 0.02;</font></div><div class="gmail_default"><font color="#000000">Field[1].thickness = 0.2;</font></div><div class="gmail_default"><font color="#000000">Field[1].ratio     = 1.2;</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000">BoundaryLayer Field = 1;</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#ff0000">I tried to use the code below to try, but fails:</font></div><div class="gmail_default"><font color="#000000"><br></font></div><div class="gmail_default"><font color="#000000"><div class="gmail_default">Field[1]           = BoundaryLayer;</div><div class="gmail_default">Field[1].EdgesList = {5,6,7};</div><div class="gmail_default">Field[1].Quads     = 1;</div><div class="gmail_default">Field[1].hfar      = 0.5;</div><div class="gmail_default">Field[1].hwall_n   = 0.01;</div><div class="gmail_default">Field[1].hwall_t   = 0.03;</div><div class="gmail_default">Field[1].thickness = 0.2;</div><div class="gmail_default">Field[1].ratio     = 1.2;</div><div class="gmail_default"><br></div><div class="gmail_default">Field[2]           = BoundaryLayer;</div><div class="gmail_default">Field[2].EdgesList = {8};</div><div class="gmail_default">Field[2].Quads     = 1;</div><div class="gmail_default">Field[2].hfar      = 0.5;</div><div class="gmail_default">Field[2].hwall_n   = 0.05;</div><div class="gmail_default">Field[2].hwall_t   = 0.2;</div><div class="gmail_default">Field[2].thickness = 2.2;</div><div class="gmail_default">Field[2].ratio     = 1.1;</div><div class="gmail_default"><br></div><div class="gmail_default">BoundaryLayer Field = {1,2}</div><div class="gmail_default"><br></div><div class="gmail_default">The Gmsh told me that the "BoundaryLayer Field = {1,2}" is syntax error, and I can not find the related things in manual. Hope for your help. Thanks.</div><div class="gmail_default"><br></div><div class="gmail_default">Best regards,</div><div class="gmail_default">Feilin Jia</div></font></div></div><div><br></div>
</div>