There was some errors in your .geo file and I attach here a new version.
You can control the refinement of the mesh by modifying the lc and lc2 characteristic length parameters at the beginning of the file. But I also have some problems if I click on the "Refine" button (is it what you were also doing ?). "Refine" is just supposed to divide each triangle in 4 parts, it is not a smart mesh refinement tool, just a quick hack.

Dave


Javier Piñeiro wrote:
Dear David

I attach you the .geo file and the .msh I created over it. If you try to refine the msh, it will do it after giving a good list of errors. Over the .geo file, meshing you will obtain the same mesh, and if you try to refine it there, at least in my case, the program crashes.

Than you for your help

Javier



2009/7/30 David Colignon <[email protected] <mailto:[email protected]>>


    Javier Piñeiro wrote:

        Dear All

        I am currently working on my MSc Thesis at Cranfield University
        (UK) about Open Source and CFD, and Gmsh is one of the software
        packages I am evaluating.

        My problem is that the startpoint for the comparartive is a mesh
        developed in Gambit. It is a quite big file, with around 500000
        cells and 34 Mb. The format file is .msh, but Gmsh is not able
        to open it (even though it opens .msh).



    Hi Javier,

    I suppose Gambit and Gmsh use .msh as an extension for mesh file,
    but it doesn't mean that the format of the files is the same (open
    both with a text editor to see the differences). I am not aware that
    Gmsh is able to open Gambit mesh files... Gmsh has its own format
    for mesh files:
    http://www.geuz.org/gmsh/doc/texinfo/gmsh-full.html#SEC56



        Does anyone know what the problem might be? Is there a way to
        convert the file to something readible by Gmsh, if possible in
        open source?



    Gmsh can also import and export meshes in  I-deas UNV, Nastran
    BDF, STL, Medit MESH and VRML 1.0 files format



    Is

        the size of the file or the number of cells a limitation

        I also tried to do the mesh from scratch on Gmsh, including the
        geometry. I got a mesh but if I try to refine it the program
        crashes.



    Can you send us your .geo file ?


    Cheers,

    Dave

-- David Colignon, Ph.D.
    Collaborateur Logistique du F.R.S.-FNRS
    CÉCI - Consortium des Équipements de Calcul Intensif
    ACE - Applied & Computational Electromagnetics
    Sart-Tilman B28
    Université de Liège
    4000 Liège - BELGIQUE
    Tél: +32 (0)4 366 37 32
    Fax: +32 (0)4 366 29 10
    WWW:    http://hpc.montefiore.ulg.ac.be/
    Agenda:
    http://www.google.com/calendar/embed?src=david.colignon%40gmail.com


        Changing the options in the characteristic length does not have
        any effect, it generates exactly the same mesh. Does anyone know
        something about this?


        Thank you in advanced for your help

Kind regards

Javier Pineiro


-- Javier Piñeiro Pérez


        ------------------------------------------------------------------------

        _______________________________________________
        gmsh mailing list
        [email protected] <mailto:[email protected]>
        http://www.geuz.org/mailman/listinfo/gmsh





--
Javier Piñeiro Pérez
lc = 10. ;
lc2 = 1000. ;
Point(1) = {0, 0, 0, lc};
Point(2) = {0.5, 2.339, 0, lc};
Point(3) = {1, 3.7271, 0, lc};
Point(4) = {2, 5.8025, 0, lc};
Point(5) = {4, 8.9238, 0, lc};
Point(6) = {8, 13.735, 0, lc};
Point(7) = {12, 17.8581, 0, lc};
Point(8) = {20, 25.3735, 0, lc};
Point(9) = {30, 33.0215, 0, lc};
Point(10) = {40, 39.1283, 0, lc};
Point(11) = {50, 44.2753, 0, lc};
Point(12) = {60, 48.7571, 0, lc};
Point(13) = {80, 56.4308, 0, lc};
Point(14) = {100, 62.9981, 0, lc};
Point(15) = {120, 68.6204, 0, lc};
Point(16) = {140, 73.43600000000001, 0, lc};
Point(17) = {160, 77.5707, 0, lc};
Point(18) = {180, 81.06870000000001, 0, lc};
Point(19) = {200, 83.92019999999999, 0, lc};
Point(20) = {220, 86.1433, 0, lc};
Point(21) = {240, 87.8308, 0, lc};
Point(22) = {260, 89.084, 0, lc};
Point(23) = {280, 90.0016, 0, lc};
Point(24) = {300, 90.68040000000001, 0, lc};
Point(25) = {320, 91.1857, 0, lc};
Point(26) = {340, 91.50790000000001, 0, lc};
Point(27) = {360, 91.6266, 0, lc};
Point(28) = {380, 91.52119999999999, 0, lc};
Point(29) = {400, 91.1712, 0, lc};
Point(30) = {420, 90.56570000000001, 0, lc};
Point(31) = {440, 89.7175, 0, lc};
Point(32) = {460, 88.64270000000001, 0, lc};
Point(33) = {480, 87.35720000000001, 0, lc};
Point(34) = {500, 85.8772, 0, lc};
Point(35) = {520, 84.2145, 0, lc};
Point(36) = {540, 82.3712, 0, lc};
Point(37) = {560, 80.348, 0, lc};
Point(38) = {580, 78.1451, 0, lc};
Point(39) = {600, 75.7633, 0, lc};
Point(40) = {620, 73.2055, 0, lc};
Point(41) = {640, 70.48220000000001, 0, lc};
Point(42) = {660, 67.60460000000001, 0, lc};
Point(43) = {680, 64.5843, 0, lc};
Point(44) = {700, 61.4329, 0, lc};
Point(45) = {720, 58.1599, 0, lc};
Point(46) = {740, 54.7675, 0, lc};
Point(47) = {760, 51.2565, 0, lc};
Point(48) = {780, 47.6281, 0, lc};
Point(49) = {800, 43.8836, 0, lc};
Point(50) = {820, 40.0245, 0, lc};
Point(51) = {840, 36.0536, 0, lc};
Point(52) = {860, 31.974, 0, lc};
Point(53) = {880, 27.7891, 0, lc};
Point(54) = {900, 23.5025, 0, lc};
Point(55) = {920, 19.1156, 0, lc};
Point(56) = {940, 14.6239, 0, lc};
Point(57) = {960, 10.0232, 0, lc};
Point(58) = {970, 7.6868, 0, lc};
Point(59) = {980, 5.3335, 0, lc};
Point(60) = {1000, 0, 0, lc};
Point(61) = {990, 2.969, 0, lc};
Point(62) = {0.5, -4.67, 0, lc};
Point(63) = {1, -5.9418, 0, lc};
Point(64) = {2, -7.8113, 0, lc};
Point(65) = {4, -10.5126, 0, lc};
Point(66) = {8, -14.2862, 0, lc};
Point(67) = {12, -16.9733, 0, lc};
Point(68) = {20, -20.2723, 0, lc};
Point(69) = {30, -22.6056, 0, lc};
Point(70) = {40, -24.5211, 0, lc};
Point(71) = {50, -26.0452, 0, lc};
Point(72) = {60, -27.1277, 0, lc};
Point(73) = {80, -28.4595, 0, lc};
Point(74) = {100, -29.3786, 0, lc};
Point(75) = {120, -29.9633, 0, lc};
Point(76) = {140, -30.2404, 0, lc};
Point(77) = {160, -30.2546, 0, lc};
Point(78) = {180, -30.049, 0, lc};
Point(79) = {200, -29.6656, 0, lc};
Point(80) = {220, -29.1445, 0, lc};
Point(81) = {240, -28.5181, 0, lc};
Point(82) = {260, -27.8164, 0, lc};
Point(83) = {280, -27.0696, 0, lc};
Point(84) = {300, -26.3079, 0, lc};
Point(85) = {320, -25.5565, 0, lc};
Point(86) = {340, -24.8176, 0, lc};
Point(87) = {360, -24.087, 0, lc};
Point(88) = {380, -23.3606, 0, lc};
Point(89) = {400, -22.6341, 0, lc};
Point(90) = {420, -21.9042, 0, lc};
Point(91) = {440, -21.1708, 0, lc};
Point(92) = {460, -20.4353, 0, lc};
Point(93) = {480, -19.6986, 0, lc};
Point(94) = {500, -18.9619, 0, lc};
Point(95) = {520, -18.2262, 0, lc};
Point(96) = {540, -17.4914, 0, lc};
Point(97) = {560, -16.7572, 0, lc};
Point(98) = {580, -16.0232, 0, lc};
Point(99) = {600, -15.2893, 0, lc};
Point(100) = {620, -14.5551, 0, lc};
Point(101) = {640, -13.8207, 0, lc};
Point(102) = {660, -13.0862, 0, lc};
Point(103) = {680, -12.3515, 0, lc};
Point(104) = {700, -11.6169, 0, lc};
Point(105) = {720, -10.8823, 0, lc};
Point(106) = {740, -10.1478, 0, lc};
Point(107) = {760, -9.4133, 0, lc};
Point(108) = {780, -8.678800000000001, 0, lc};
Point(109) = {800, -7.9443, 0, lc};
Point(110) = {820, -7.2098, 0, lc};
Point(111) = {840, -6.4753, 0, lc};
Point(112) = {860, -5.7408, 0, lc};
Point(113) = {880, -5.0063, 0, lc};
Point(114) = {900, -4.2718, 0, lc};
Point(115) = {920, -3.5373, 0, lc};
Point(116) = {940, -2.8028, 0, lc};
Point(117) = {960, -2.0683, 0, lc};
Point(118) = {980, -1.3339, 0, lc};
Point(119) = {970, -1.7011, 0, lc};
Point(120) = {990, -0.9666, 0, lc};
Point(121) = {-5000, 0, 0, lc2};
Point(122) = {0, 5000, 0, lc2};
Point(123) = {0, -5000, 0, lc2};
Point(124) = {10000, -5000, 0, lc2};
Point(125) = {10000, 5000, 1.2, lc2};
Line(1) = {60, 61};
Line(2) = {61, 59};
Line(3) = {59, 58};
Line(4) = {58, 57};
Line(5) = {57, 56};
Line(6) = {56, 55};
Line(7) = {55, 54};
Line(8) = {54, 53};
Line(9) = {53, 52};
Line(10) = {52, 51};
Line(11) = {51, 50};
Line(12) = {50, 49};
Line(13) = {49, 48};
Line(14) = {48, 47};
Line(15) = {47, 46};
Line(16) = {46, 45};
Line(17) = {45, 44};
Line(18) = {44, 43};
Line(19) = {43, 42};
Line(20) = {42, 41};
Line(21) = {41, 40};
Line(22) = {40, 39};
Line(23) = {39, 38};
Line(24) = {38, 37};
Line(25) = {37, 36};
Line(26) = {36, 35};
Line(27) = {35, 34};
Line(28) = {34, 33};
Line(29) = {33, 32};
Line(30) = {32, 31};
Line(31) = {31, 30};
Line(32) = {30, 29};
Line(33) = {29, 28};
Line(34) = {28, 27};
Line(35) = {27, 26};
Line(36) = {26, 25};
Line(37) = {25, 24};
Line(38) = {24, 23};
Line(39) = {23, 22};
Line(40) = {22, 22};
Line(41) = {22, 21};
Line(42) = {21, 20};
Line(43) = {20, 19};
Line(44) = {19, 18};
Line(45) = {18, 17};
Line(46) = {17, 16};
Line(47) = {16, 15};
Line(48) = {15, 14};
Line(49) = {14, 13};
Line(50) = {13, 12};
Line(51) = {12, 11};
Line(52) = {11, 10};
Line(53) = {10, 9};
Line(54) = {9, 8};
Line(55) = {8, 7};
Line(56) = {7, 6};
Line(57) = {6, 5};
Line(58) = {5, 4};
Line(59) = {4, 3};
Line(60) = {3, 2};
Line(61) = {2, 1};
Line(62) = {1, 62};
Line(63) = {62, 63};
Line(64) = {63, 64};
Line(65) = {64, 65};
Line(66) = {65, 66};
Line(67) = {66, 67};
Line(68) = {67, 68};
Line(69) = {68, 69};
Line(70) = {69, 70};
Line(71) = {70, 71};
Line(72) = {71, 72};
Line(73) = {72, 73};
Line(74) = {73, 74};
Line(75) = {74, 75};
Line(76) = {75, 76};
Line(77) = {76, 77};
Line(78) = {77, 78};
Line(79) = {78, 79};
Line(80) = {79, 80};
Line(81) = {80, 81};
Line(82) = {81, 82};
Line(83) = {82, 83};
Line(84) = {83, 84};
Line(85) = {84, 84};
Line(86) = {84, 85};
Line(87) = {85, 86};
Line(88) = {86, 87};
Line(89) = {87, 88};
Line(90) = {88, 89};
Line(91) = {89, 90};
Line(92) = {90, 91};
Line(93) = {91, 92};
Line(94) = {92, 93};
Line(95) = {93, 94};
Line(96) = {94, 95};
Line(97) = {95, 96};
Line(98) = {96, 97};
Line(99) = {97, 98};
Line(100) = {98, 99};
Line(101) = {99, 100};
Line(102) = {100, 101};
Line(103) = {101, 102};
Line(104) = {102, 103};
Line(105) = {103, 104};
Line(106) = {104, 105};
Line(107) = {105, 106};
Line(108) = {106, 107};
Line(109) = {107, 108};
Line(110) = {108, 109};
Line(111) = {109, 110};
Line(112) = {110, 111};
Line(113) = {111, 112};
Line(114) = {112, 113};
Line(115) = {113, 114};
Line(116) = {114, 115};
Line(117) = {115, 116};
Line(118) = {116, 117};
Line(119) = {117, 119};
Line(120) = {119, 118};
Line(121) = {118, 120};
Line(122) = {120, 60};
Circle(124) = {123, 1, 121};
Circle(125) = {121, 1, 122};
Line(126) = {122, 125};
Line(127) = {125, 124};
Line(128) = {124, 123};

Line Loop(130) = {126, 127, 128, 124, 125};
Line Loop(131) = {-22, -21, -20, -19, -18, -17, -16, -15, -14, -13, -12, -11, 
-10, -9, -8, -7, -6, -5, -4, -3, -2, -1, -122, -121, -120, -119, -118, -117, 
-116, -115, -114, -113, -112, -111, -110, -109, -108, -107, -106, -105, -104, 
-103, -102, -101, -100, -99, -98, -97, -96, -95, -94, -93, -92, -91, -90, -89, 
-88, -87, -86, -84, -83, -82, -81, -80, -79, -78, -77, -76, -75, -74, -73, -72, 
-71, -70, -69, -68, -67, -66, -65, -64, -63, -62, -61, -60, -59, -58, -57, -56, 
-55, -54, -53, -52, -51, -50, -49, -48, -47, -46, -45, -44, -43, -42, -41, -39, 
-38, -37, -36, -35, -34, -33, -32, -31, -30, -29, -28, -27, -26, -25, -24, -23};
Plane Surface(132) = {130,131};
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to