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

Attachment: abc.brep
Description: Binary data

_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to