I've started toying around with compound volumes, and I've stumbled on
an example which makes Gmsh crash when attempting to mesh a set of
compound volumes.
The crash log is as follows:
.rui@Kubuntu:text$ gmsh
Compound Volume 100 face 24
Compound Volume 100 face 26
Compound Volume 100 face 94
Compound Volume 100 face 98
Compound Volume 100 face 102
Compound Volume 100 face 106
Compound Volume 100 face 114
Compound Volume 100 face 118
Compound Volume 100 face 122
Compound Volume 100 face 123
Compound Volume 100 face 136
Compound Volume 100 face 140
Compound Volume 100 face 144
Compound Volume 100 face 148
Compound Volume 100 face 152
Compound Volume 100 face 156
Compound Volume 100 face 160
Compound Volume 100 face 165
[Kubuntu:18655] *** Process received signal ***
[Kubuntu:18655] Signal: Segmentation fault (11)
[Kubuntu:18655] Signal code: (128)
[Kubuntu:18655] Failing at address: (nil)
[Kubuntu:18655] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60)
[0x7fb5efe5bc60]
[Kubuntu:18655] [ 1]
gmsh(_Z30meshNormalsPointOutOfTheRegionP7GRegion+0x524) [0x72cff4]
[Kubuntu:18655] [ 2] gmsh(_ZN11meshGRegionclEP7GRegion+0x3b3) [0x730283]
[Kubuntu:18655] [ 3]
gmsh(_ZSt8for_eachISt23_Rb_tree_const_iteratorIP7GRegionE11meshGRegionET0_T_S6_S5_+0x24)
[0x6e8f84]
[Kubuntu:18655] [ 4] gmsh(_Z12GenerateMeshP6GModeli+0xbc4) [0x6e8b24]
[Kubuntu:18655] [ 5] gmsh(_ZN6GModel4meshEi+0x9) [0x606d39]
[Kubuntu:18655] [ 6] gmsh(_Z10mesh_3d_cbP9Fl_WidgetPv+0x1b) [0x86b97b]
[Kubuntu:18655] [ 7]
/usr/lib/libfltk.so.1.1(_ZN9Fl_Button6handleEi+0xed) [0x7fb5f9c32b5d]
[Kubuntu:18655] [ 8] /usr/lib/libfltk.so.1.1(+0x2fd9e) [0x7fb5f9c2bd9e]
[Kubuntu:18655] [ 9]
/usr/lib/libfltk.so.1.1(_ZN2Fl6handleEiP9Fl_Window+0x4fe) [0x7fb5f9c2ce1e]
[Kubuntu:18655] [10]
/usr/lib/libfltk.so.1.1(_Z9fl_handleRK7_XEvent+0x9b) [0x7fb5f9c6f72b]
[Kubuntu:18655] [11] /usr/lib/libfltk.so.1.1(+0x746f3) [0x7fb5f9c706f3]
[Kubuntu:18655] [12] /usr/lib/libfltk.so.1.1(_Z7fl_waitd+0x3e5)
[0x7fb5f9c70b65]
[Kubuntu:18655] [13] /usr/lib/libfltk.so.1.1(_ZN2Fl4waitEd+0x130)
[0x7fb5f9c2da30]
[Kubuntu:18655] [14] /usr/lib/libfltk.so.1.1(_ZN2Fl3runEv+0x1d)
[0x7fb5f9c2db6d]
[Kubuntu:18655] [15] gmsh(_Z8GmshFLTKiPPc+0x2e2) [0x521b52]
[Kubuntu:18655] [16] gmsh(main+0x98) [0x520a28]
[Kubuntu:18655] [17]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff) [0x7fb5efad6eff]
[Kubuntu:18655] [18] gmsh() [0x5208c9]
[Kubuntu:18655] *** End of error message ***
Segmentation fault
Rui Maciel
h = 0.080;
b = 0.046;
t_w = 0.0038;
t_f = 0.0052;
r = 0.005;
l = 2.0;
trans = h;
Point(1) = {-b/2, 0, 0};
Point(2) = {-b/2, t_f, 0};
Point(3) = {b/2, 0, 0};
Point(4) = {b/2, t_f, 0};
Point(5) = {-b/2, h, 0};
Point(6) = {-b/2, h-t_f, 0};
Point(7) = {b/2, h, 0};
Point(8) = {b/2, h-t_f, 0};
Point(9) = {t_w/2+r,t_f,0};
Point(10) = {t_w/2,t_f+r,0};
Point(11) = {-t_w/2-r,t_f,0};
Point(12) = {-t_w/2,t_f+r,0};
// web
Point(13) = {t_w/2+r, h-t_f, 0};
Point(14) = {t_w/2, h-t_f-r, 0};
Point(15) = {-t_w/2-r, h-t_f, 0};
Point(16) = {-t_w/2, h-t_f-r, 0};
// points for the circle center
Point(17) = {t_w/2+r, h-t_f-r, 0};
Point(18) = {-t_w/2-r, h-t_f-r, 0};
Point(19) = {t_w/2+r, t_f+r, 0};
Point(20) = {-t_w/2-r, t_f+r, 0};
Point(21) = { t_w/2+r,0,0};
Point(22) = {-t_w/2-r,0,0};
Point(23) = { t_w/2+r,h,0};
Point(24) = {-t_w/2-r,h,0};
// lines
Line(1) = {2, 1};
Line(2) = {1, 22};
Line(3) = {22, 21};
Line(4) = {21, 3};
Line(5) = {3, 4};
Line(6) = {4, 9};
Line(7) = {9, 11};
Line(8) = {11, 2};
Line(9) = {5, 6};
Line(10) = {6, 15};
Line(11) = {15, 13};
Line(12) = {13, 8};
Line(13) = {8, 7};
Line(14) = {7, 23};
Line(15) = {23, 24};
Line(16) = {24, 5};
Line(17) = {16, 12};
Line(18) = {14, 10};
Circle(19) = {11, 20, 12};
Circle(20) = {9, 19, 10};
Circle(21) = {15, 18, 16};
Circle(22) = {13, 17, 14};
Line Loop(23) = {3, 4, 5, 6, 7, 8, 1, 2};
Plane Surface(24) = {23};
Line Loop(25) = {20, -18, -22, -11, 21, 17, -19, -7};
Plane Surface(26) = {25};
Line Loop(27) = {12, 13, 14, 15, 16, 9, 10, 11};
Plane Surface(28) = {27};
Physical Surface(29) = {28, 26, 24};
Translate {0, 0, trans } { Duplicata{ Surface{24, 26, 28}; } }
Rotate {{1, 0, 0}, {0, h, trans}, -Pi/2} {
Duplicata{ Surface{30, 39, 48}; }
}
Extrude {0, 0, 2*trans+h} {
Surface{24, 26, 28};
}
Extrude {0, trans, 0} {
Surface{56, 65, 74};
}
Compound Volume (100) = {1, 2};
Coherence;
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh