[Gmsh] Boundary layer mesh: v4.7.1 conditionally crashes

Tian Xia tianxia.ui at gmail.com
Tue Dec 1 09:20:21 CET 2020


Hi GMsh team,

I am using the following setup to create 2D mesh. The program crashes and
gets closed unexpectedly.

If I changed to "MeshSize{ PointsOf{ Surface{1}; } }= 8;" instead of 5. It
is OK. Is it a bug?


//
SetFactory("OpenCASCADE");

General.Terminal=1;
General.AbortOnError=3;

Merge "abc.brep";

// Assign physical group Q1b
Physical Surface("abc") = {1};
// set mesh size
MeshSize{ PointsOf{ Surface{1}; } }= 5;
// set boundary mesh
Field[123] = BoundaryLayer;
Field[123].CurvesList = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
Field[123].Ratio = 1.1;
Field[123].Size = 0.001;
Field[123].SizeFar = 1;
Field[123].Thickness = 2;
BoundaryLayer Field = 123;




-- 
Tian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20201201/16b74a20/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abc.brep
Type: application/octet-stream
Size: 2373 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20201201/16b74a20/attachment.brep>


More information about the gmsh mailing list