Hi,
I've been running gmsh to generate a 3D mesh of a pavement section of
the file that I am attaching using the following command
gmsh Geometry3D.geo -3 -optimize -v 0
In some computers I have been encountering problems generating the mesh
while in others the mesh is generated without any problem. Sometimes,
depending on the computer, I get a "Runtime Error !" window or it
freezes producing no error window. For this last case if I don't use
the verbose mode gmsh keeps displaying messages that indicate it is
running the optimization and that process continues for a long period of
time and seems to keep running until I kill the process, we don't know
if that process ever finishes or if it's stuck in a cyclic process.
Even the same case might work on the same computer one day and not work
on another.
I also tried using netgen (gmsh Geometry3D.geo -3 -optimize_netgen -v
0), and a similar thing happened: In some computers where I had problems
it seemed to work fine by generating the mesh while in others did not,
and then on the other hand, the error appeared in some computers that
had no problems before.
I also tried defining the algorithm del3d or front3d (gmsh
Geometry3D.geo -3 -algo front3d -optimize -v 0) and sometimes it seems
to help, but still I haven't been able to find something stable. I must
add that I am using 32bit processor for all computers and the same
operating system (Windows XP SP3). I've tried two different versions of
GMSH (2.5 and 2.4.2).
Is this related to a random generator function or a floating point
comparison problem? Is there a way to avoid this issue?
Point(1) = { 0.00000000, -0.00000000, 0.00000000,
0.80000000};
Point(2) = { 4.80000000, -0.00000000, 0.00000000,
0.98587318};
Point(3) = { 9.60000000, -0.00000000, 0.00000000,
1.32572875};
Point(4) = { 14.40000000, -0.00000000, 0.00000000,
1.76582539};
Point(5) = { 19.20000000, -0.00000000, 0.00000000,
2.28698547};
Point(6) = { 24.00000000, -0.00000000, 0.00000000,
2.87812537};
Point(7) = { 24.00000000, -0.00000000, -6.00000000,
2.97479561};
Point(8) = { 24.00000000, -0.00000000, -15.00000000,
3.46121074};
Point(9) = { 24.00000000, -0.00000000, -24.00000000,
4.29497634};
Point(10) = { 24.00000000, -0.00000000, -33.00000000,
5.40697186};
Point(11) = { 24.00000000, -0.00000000, -42.00000000,
6.74657326};
Point(12) = { 19.20000000, -0.00000000, -42.00000000,
6.34680686};
Point(13) = { 14.40000000, -0.00000000, -42.00000000,
6.02912876};
Point(14) = { 9.60000000, -0.00000000, -42.00000000,
5.79823231};
Point(15) = { 4.80000000, -0.00000000, -42.00000000,
5.65797847};
Point(16) = { 0.00000000, -0.00000000, -42.00000000,
5.61092755};
Point(17) = { 0.00000000, -0.00000000, -33.00000000,
4.15062474};
Point(18) = { 0.00000000, -0.00000000, -24.00000000,
2.87812537};
Point(19) = { 0.00000000, -0.00000000, -15.00000000,
1.82681397};
Point(20) = { 0.00000000, -0.00000000, -6.00000000,
1.05976567};
Point(21) = { 0.00000000, -9.00000000, 0.00000000,
1.27722001};
Point(22) = { 4.80000000, -9.00000000, 0.00000000,
1.37577809};
Point(23) = { 9.60000000, -9.00000000, 0.00000000,
1.64370488};
Point(24) = { 14.40000000, -9.00000000, 0.00000000,
2.03681899};
Point(25) = { 19.20000000, -9.00000000, 0.00000000,
2.52585214};
Point(26) = { 24.00000000, -9.00000000, 0.00000000,
3.09365930};
Point(27) = { 24.00000000, -9.00000000, -6.00000000,
3.18728795};
Point(28) = { 24.00000000, -9.00000000, -15.00000000,
3.66059463};
Point(29) = { 24.00000000, -9.00000000, -24.00000000,
4.47770752};
Point(30) = { 24.00000000, -9.00000000, -33.00000000,
5.57406206};
Point(31) = { 24.00000000, -9.00000000, -42.00000000,
6.90029690};
Point(32) = { 19.20000000, -9.00000000, -42.00000000,
6.50407367};
Point(33) = { 14.40000000, -9.00000000, -42.00000000,
6.18945732};
Point(34) = { 9.60000000, -9.00000000, -42.00000000,
5.96094226};
Point(35) = { 4.80000000, -9.00000000, -42.00000000,
5.82220585};
Point(36) = { 0.00000000, -9.00000000, -42.00000000,
5.77567675};
Point(37) = { 0.00000000, -9.00000000, -33.00000000,
4.33585362};
Point(38) = { 0.00000000, -9.00000000, -24.00000000,
3.09365930};
Point(39) = { 0.00000000, -9.00000000, -15.00000000,
2.09314121};
Point(40) = { 0.00000000, -9.00000000, -6.00000000,
1.42877357};
Point(41) = { 0.00000000, -21.00000000, 0.00000000,
2.50091975};
Point(42) = { 4.80000000, -21.00000000, 0.00000000,
2.56714198};
Point(43) = { 9.60000000, -21.00000000, 0.00000000,
2.76109237};
Point(44) = { 14.40000000, -21.00000000, 0.00000000,
3.07099951};
Point(45) = { 19.20000000, -21.00000000, 0.00000000,
3.48271074};
Point(46) = { 24.00000000, -21.00000000, 0.00000000,
3.98306565};
Point(47) = { 24.00000000, -21.00000000, -6.00000000,
4.06720330};
Point(48) = { 24.00000000, -21.00000000, -15.00000000,
4.49782264};
Point(49) = { 24.00000000, -21.00000000, -24.00000000,
5.25673399};
Point(50) = { 24.00000000, -21.00000000, -33.00000000,
6.29475909};
Point(51) = { 24.00000000, -21.00000000, -42.00000000,
7.56870556};
Point(52) = { 19.20000000, -21.00000000, -42.00000000,
7.18654136};
Point(53) = { 14.40000000, -21.00000000, -42.00000000,
6.88396168};
Point(54) = { 9.60000000, -21.00000000, -42.00000000,
6.66473394};
Point(55) = { 4.80000000, -21.00000000, -42.00000000,
6.53188038};
Point(56) = { 0.00000000, -21.00000000, -42.00000000,
6.48736795};
Point(57) = { 0.00000000, -21.00000000, -33.00000000,
5.12387822};
Point(58) = { 0.00000000, -21.00000000, -24.00000000,
3.98306565};
Point(59) = { 0.00000000, -21.00000000, -15.00000000,
3.11718417};
Point(60) = { 0.00000000, -21.00000000, -6.00000000,
2.60402962};
Point(61) = { 0.00000000, -71.00000000, 0.00000000,
11.37407542};
Point(62) = { 4.80000000, -71.00000000, 0.00000000,
11.41030153};
Point(63) = { 9.60000000, -71.00000000, 0.00000000,
11.51873371};
Point(64) = { 14.40000000, -71.00000000, 0.00000000,
11.69864718};
Point(65) = { 19.20000000, -71.00000000, 0.00000000,
11.94887777};
Point(66) = { 24.00000000, -71.00000000, 0.00000000,
12.26788155};
Point(67) = { 24.00000000, -71.00000000, -6.00000000,
12.32296174};
Point(68) = { 24.00000000, -71.00000000, -15.00000000,
12.61071107};
Point(69) = { 24.00000000, -71.00000000, -24.00000000,
13.13902064};
Point(70) = { 24.00000000, -71.00000000, -33.00000000,
13.89792630};
Point(71) = { 24.00000000, -71.00000000, -42.00000000,
14.87476929};
Point(72) = { 19.20000000, -71.00000000, -42.00000000,
14.57715563};
Point(73) = { 14.40000000, -71.00000000, -42.00000000,
14.34418988};
Point(74) = { 9.60000000, -71.00000000, -42.00000000,
14.17696548};
Point(75) = { 4.80000000, -71.00000000, -42.00000000,
14.07629590};
Point(76) = { 0.00000000, -71.00000000, -42.00000000,
14.04268284};
Point(77) = { 0.00000000, -71.00000000, -33.00000000,
13.04475885};
Point(78) = { 0.00000000, -71.00000000, -24.00000000,
12.26788155};
Point(79) = { 0.00000000, -71.00000000, -15.00000000,
11.72610882};
Point(80) = { 0.00000000, -71.00000000, -6.00000000,
11.43066061};
Line(1) = { 1, 2};
Line(2) = { 2, 3};
Line(3) = { 3, 4};
Line(4) = { 4, 5};
Line(5) = { 5, 6};
Line(6) = { 6, 7};
Line(7) = { 7, 8};
Line(8) = { 8, 9};
Line(9) = { 9, 10};
Line(10) = { 10, 11};
Line(11) = { 11, 12};
Line(12) = { 12, 13};
Line(13) = { 13, 14};
Line(14) = { 14, 15};
Line(15) = { 15, 16};
Line(16) = { 16, 17};
Line(17) = { 17, 18};
Line(18) = { 18, 19};
Line(19) = { 19, 20};
Line(20) = { 20, 1};
Line(21) = { 21, 22};
Line(22) = { 22, 23};
Line(23) = { 23, 24};
Line(24) = { 24, 25};
Line(25) = { 25, 26};
Line(26) = { 26, 27};
Line(27) = { 27, 28};
Line(28) = { 28, 29};
Line(29) = { 29, 30};
Line(30) = { 30, 31};
Line(31) = { 31, 32};
Line(32) = { 32, 33};
Line(33) = { 33, 34};
Line(34) = { 34, 35};
Line(35) = { 35, 36};
Line(36) = { 36, 37};
Line(37) = { 37, 38};
Line(38) = { 38, 39};
Line(39) = { 39, 40};
Line(40) = { 40, 21};
Line(41) = { 41, 42};
Line(42) = { 42, 43};
Line(43) = { 43, 44};
Line(44) = { 44, 45};
Line(45) = { 45, 46};
Line(46) = { 46, 47};
Line(47) = { 47, 48};
Line(48) = { 48, 49};
Line(49) = { 49, 50};
Line(50) = { 50, 51};
Line(51) = { 51, 52};
Line(52) = { 52, 53};
Line(53) = { 53, 54};
Line(54) = { 54, 55};
Line(55) = { 55, 56};
Line(56) = { 56, 57};
Line(57) = { 57, 58};
Line(58) = { 58, 59};
Line(59) = { 59, 60};
Line(60) = { 60, 41};
Line(61) = { 61, 62};
Line(62) = { 62, 63};
Line(63) = { 63, 64};
Line(64) = { 64, 65};
Line(65) = { 65, 66};
Line(66) = { 66, 67};
Line(67) = { 67, 68};
Line(68) = { 68, 69};
Line(69) = { 69, 70};
Line(70) = { 70, 71};
Line(71) = { 71, 72};
Line(72) = { 72, 73};
Line(73) = { 73, 74};
Line(74) = { 74, 75};
Line(75) = { 75, 76};
Line(76) = { 76, 77};
Line(77) = { 77, 78};
Line(78) = { 78, 79};
Line(79) = { 79, 80};
Line(80) = { 80, 61};
Line(81) = { 1, 21};
Line(82) = { 6, 26};
Line(83) = { 11, 31};
Line(84) = { 16, 36};
Line(85) = { 21, 41};
Line(86) = { 26, 46};
Line(87) = { 31, 51};
Line(88) = { 36, 56};
Line(89) = { 41, 61};
Line(90) = { 46, 66};
Line(91) = { 51, 71};
Line(92) = { 56, 76};
Line Loop(1) = { 1, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20};
Plane Surface(1) = { 1};
Line Loop(2) = { 21, 22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40};
Plane Surface(2) = { 2};
Line Loop(3) = { 41, 42, 43, 44, 45, 46, 47, 48, 49,
50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60};
Plane Surface(3) = { 3};
Line Loop(4) = { 61, 62, 63, 64, 65, 66, 67, 68, 69,
70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80};
Plane Surface(4) = { 4};
Line Loop(5) = { 81, 21, 22, 23, 24, 25, -82, -5, -4,
-3, -2, -1};
Plane Surface(5) = { 5};
Line Loop(6) = { 82, 26, 27, 28, 29, 30, -83, -10, -9,
-8, -7, -6};
Plane Surface(6) = { 6};
Line Loop(7) = { 83, 31, 32, 33, 34, 35, -84, -15, -14,
-13, -12, -11};
Plane Surface(7) = { 7};
Line Loop(8) = { 84, 36, 37, 38, 39, 40, -81, -20, -19,
-18, -17, -16};
Plane Surface(8) = { 8};
Line Loop(9) = { 85, 41, 42, 43, 44, 45, -86, -25, -24,
-23, -22, -21};
Plane Surface(9) = { 9};
Line Loop(10) = { 86, 46, 47, 48, 49, 50, -87, -30,
-29, -28, -27, -26};
Plane Surface(10) = { 10};
Line Loop(11) = { 87, 51, 52, 53, 54, 55, -88, -35,
-34, -33, -32, -31};
Plane Surface(11) = { 11};
Line Loop(12) = { 88, 56, 57, 58, 59, 60, -85, -40,
-39, -38, -37, -36};
Plane Surface(12) = { 12};
Line Loop(13) = { 89, 61, 62, 63, 64, 65, -90, -45,
-44, -43, -42, -41};
Plane Surface(13) = { 13};
Line Loop(14) = { 90, 66, 67, 68, 69, 70, -91, -50,
-49, -48, -47, -46};
Plane Surface(14) = { 14};
Line Loop(15) = { 91, 71, 72, 73, 74, 75, -92, -55,
-54, -53, -52, -51};
Plane Surface(15) = { 15};
Line Loop(16) = { 92, 76, 77, 78, 79, 80, -89, -60,
-59, -58, -57, -56};
Plane Surface(16) = { 16};
Surface Loop(1) = { 5, 6, 7, 8, 1, 2};
Volume(1) = { 1};
Physical Volume(1) = { 1};
Surface Loop(2) = { 9, 10, 11, 12, 2, 3};
Volume(2) = { 2};
Physical Volume(2) = { 2};
Surface Loop(3) = { 13, 14, 15, 16, 3, 4};
Volume(3) = { 3};
Physical Volume(3) = { 3};
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh