<div dir="ltr">Hi all,<div><br></div><div>when meshing a domain that contains BoundarLayers, the meshing of the curves takes much longer then the meshing of the surfaces. Is there a way to speed this up?</div><div>The following exampple highlights the problem:</div>

<div><br></div><div>================== *snip* ==================</div><div><div>Point(1) = {0, 0, 0};                                                           </div><div>Point(2) = {1, 0, 0};                                                           </div>

<div>Point(3) = {0, 1, 0};                                                           </div><div>                                                                                </div><div>Line(1) = {1, 2};                                                               </div>

<div>Line(2) = {2, 3};                                                               </div><div>Line(3) = {3, 1};                                                               </div><div>                                                                                </div>

<div>Line Loop(4) = {1, 2, 3};                                                       </div><div>Plane Surface(5) = {4};                                                         </div><div>                                                                                </div>

<div>Field[1] = BoundaryLayer;                                                       </div><div>Field[1].EdgesList = {2};                                                       </div><div>Field[1].hfar = 0.05;                                                           </div>

<div>Field[1].hwall_n = 0.001;                                                       </div><div>Field[1].hwall_t = 0.001;                                                       </div><div>Field[1].ratio = 5.0;                                                           </div>

<div>Field[1].thickness = 0.1;                                                       </div><div>Field[1].AnisoMax = 100.0;                                                      </div><div>                                                                                </div>

<div>Background Field = 1;</div></div><div>================== *snap* ==================<br></div><div><br></div><div>Output:</div><div><br></div><div>================== *snip* ==================<br></div><div><div>$ gmsh -2 boundary.geo </div>

<div>Info    : Running 'gmsh -2 boundary.geo' [Gmsh 2.6.2, 1 node, max. 4 threads]</div><div>Info    : Started on Mon Jul  8 21:51:43 2013</div><div>Info    : Reading 'boundary.geo'...</div><div>Info    : Done reading 'boundary.geo'</div>

<div>Info    : Meshing 1D...</div><div>Info    : Meshing curve 1 (Line)</div><div>Info    : 299998 points found in points clouds (1 edges)</div><div>Info    : Meshing curve 2 (Line)</div><div>Info    : Meshing curve 3 (Line)</div>

<div>Info    : Done meshing 1D (10.516 s)</div><div>Info    : Meshing 2D...</div><div>Info    : Meshing surface 5 (Plane, Delaunay)</div><div>Info    : Done meshing 2D (0.684 s)</div><div>Info    : 11332 vertices 22665 elements</div>

<div>Info    : Writing 'boundary.msh'...</div><div>Info    : Done writing 'boundary.msh'</div><div>Info    : Stopped on Mon Jul  8 21:51:55 2013</div></div><div>================== *snap* ==================<br>

</div><div><br></div><div>Cheers,</div><div>Nico</div></div>