[Gmsh] Mesh not displayed

David Colignon David.Colignon at ulg.ac.be
Thu Oct 19 13:51:44 CEST 2006


Hi Bernhard,

the problem comes from the characteristic length associated to the points of the two triangles, which is much too large with respect to the small characteristic length of the points on the nearest object (wing ?).

The different mesh algorithms are not able to perform à smooth transition in the region between the triangles and the wing.

The only solution is to decrease the characteristic length associated to the triangles, as I did in the attached file.

Cheers,

Dave



Bernhard Stoevesandt wrote:
> Hi Dave,
> 
> thanks a lot. This changes the situation as follows:
> The isotropic meshing still doesn't work (it enters a loop of resizing 
> all elements that never finishes).
> The triangular meshing (2D), well still looks the same. Except the 
> message is now:
> Info    : -------------------------------------------------------
> Info    : Gmsh version   : 1.65.0
> Info    : Build OS       : Linux
> Info    : Build options  : GSL TRIANGLE NETGEN TETGEN JPEG PNG ZLIB 
> MATHEVAL METIS ANN
> Info    : Build date     : Sat May 13 22:05:16 EDT 2006
> Info    : Build host     : debian
> Info    : Packager       : geuzaine
> Info    : Home directory : /home/bstoeve/
> Info    : Launch date    : Thu Oct 19 11:45:58 2006
> Info    : Command line   : gmsh
> Info    : -------------------------------------------------------
> Info    : Parsing file 
> '/home/bstoeve/SHERWIN/Meshing/2dpfouriersponge/fx79tu.geo'
> Info    : Parsed file 
> '/home/bstoeve/SHERWIN/Meshing/2dpfouriersponge/fx79tu.geo'
> Info    : Mesh 1D...
> Info    : Meshing curve 1
> (...)
> Info    : Meshing curve 145
> Info    : Meshing curve 146
> Info    : Meshing curve 147
> Info    : Mesh 1D complete (0.009999 s)
> Info    : Mesh 2D...
> Info    : Meshing surface 148
> Info    : Smoothing surface 148
> Info    : Mesh 2D complete (0.002999 s)
> Info    : Writing mesh file 
> '/home/bstoeve/SHERWIN/Meshing/2dpfouriersponge/fx79tu.msh'
> Info    : Saving all elements (discarding physical groups)
> Info    : 157 nodes
> Info    : 158 elements
> Info    : Wrote mesh file 
> '/home/bstoeve/SHERWIN/Meshing/2dpfouriersponge/fx79tu.msh'
> 
> So still there isn't a solution - except, that there is no mesh being 
> created.
> Why so? I checked now all the orders of thge line loops and didn't find 
> anything. So what's wrong?
> 
> Bernhard
> 
> 
> 
> David Colignon schrieb:
>> Hi Bernhard,
>>
>> your Line Loops are not correct. You should try to define it with the 
>> GUI.
>> For example you should have
>>
>> Line Loop(145) = {109,111,110};
>> Line Loop(146) = {113,112,114};
>>
>> instead of
>>
>> Line Loop(145) = {109, 110, 111};
>> Line Loop(146) = {112, 113, 114};
>>
>> Moreover the end of your Line Loop 143 is really wrong, some of the 
>> lines are crossing (104 & 96 , 103 & 96) or superposed.
>>
>> Cheers,
>>
>> Dave
>>
>>
>>
>> Bernhard Stoevesandt wrote:
>>
>>> Hi Dave,
>>>
>>> well, i tried a bit, but didn't get any real change. So this is the 
>>> version right now. Right now i'm using gmsh-1.65.0 on a SuSE 9.2. Any 
>>> idea? I mean it would be good to have a look at the mesh to know if 
>>> ist suits.
>>>
>>> Bernhard
>>>
>>>
>>> David Colignon schrieb:
>>>
>>>> Can you send the .geo file you use to generate the mesh ?
>>>>
>>>> Dave
>>>>
>>>>
>>>> Bernhard Stoevesandt wrote:
>>>>
>>>>> Hi Dave,
>>>>>
>>>>> well, that is the case. Unless the nodes and lines elements are 
>>>>> exaclty in the same color as the backround, they are not displayed. 
>>>>> Only 1D elements are displayed.
>>>>>
>>>>> yours
>>>>>
>>>>> Bernhard
>>>>>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> //Gmesh input File created by Gmeshgen.pl
> //Inputfile was: fx79.new
> 
> //FX 79-W-151 A
> 
> Point(1) = {0.76238410571534,-0.170613950129372, 0, 0.00178217720430509};
> Point(2) = {0.760625566276542,-0.170324649887865, 0, 0.00231129370656559};
> Point(3) = {0.757777785914857,-0.170226481049684, 0, 0.00423445688177033};
> Point(4) = {0.752199017391988,-0.169478615473365, 0, 0.00648493738376323};
> Point(5) = {0.744909864349026,-0.168603444986943, 0, 0.0083978689761272};
> Point(6) = {0.73550557234467,-0.167627749240225, 0, 0.010545371375407};
> Point(7) = {0.723924400706657,-0.166498748929118, 0, 0.0126591209686992};
> Point(8) = {0.710330393088487,-0.164940050555535, 0, 0.0146120506649651};
> Point(9) = {0.694918142659663,-0.162937135158199, 0, 0.0164460605403637};
> Point(10) = {0.677713705748761,-0.160692305721884, 0, 0.0182418674771994};
> Point(11) = {0.658750347912678,-0.158146149939816, 0, 0.0199858190189855};
> Point(12) = {0.638108292557563,-0.155293871375423, 0, 0.0216418054369297};
> Point(13) = {0.615881858518234,-0.15216588344758, 0, 0.0231983632237633};
> Point(14) = {0.592174847689431,-0.148753621564225, 0, 0.0246542624760044};
> Point(15) = {0.567082561063729,-0.14509770115723, 0, 0.0260060259005232};
> Point(16) = {0.540714063792612,-0.141201055557917, 0, 0.0272540449873107};
> Point(17) = {0.513165242396863,-0.137094288106721, 0, 0.0283890146647498};
> Point(18) = {0.484563354766974,-0.132784257445829, 0, 0.0293951364686991};
> Point(19) = {0.455039717857604,-0.12827841667562, 0, 0.0302759936781806};
> Point(20) = {0.42471470546612,-0.123581956121255, 0, 0.031029590355734};
> Point(21) = {0.393725253490937,-0.118693096127647, 0, 0.0316445715799881};
> Point(22) = {0.362209530470757,-0.113651259231154, 0, 0.0321303318252151};
> Point(23) = {0.330281244502907,-0.108480818403235, 0, 0.0324778449799395};
> Point(24) = {0.298100891044155,-0.103195447018138, 0, 0.0326821352628844};
> Point(25) = {0.265791958914224,-0.0978215545624647, 0, 0.0327525815140037};
> Point(26) = {0.233501588613713,-0.0923392732526693, 0, 0.0326815213044965};
> Point(27) = {0.201368615201632,-0.0867779987947651, 0, 0.0324751368884148};
> Point(28) = {0.169524989686984,-0.0811351287760214, 0, 0.0321228437350303};
> Point(29) = {0.138132259800717,-0.0754346432898953, 0, 0.0316285835196845};
> Point(30) = {0.107309647667701,-0.069701826572798, 0, 0.0310049424510883};
> Point(31) = {0.0771904135733707,-0.0639752714055532, 0, 0.0302498721106691};
> Point(32) = {0.0478995159612321,-0.0582713715745305, 0, 0.0293734774216893};
> Point(33) = {0.0195562758859805,-0.0525949868572254, 0, 0.0283745006210834};
> Point(34) = {-0.00770936153016864,-0.0469531611978931, 0, 0.0272504632789876};
> Point(35) = {-0.0337723427755809,-0.0413517921454193, 0, 0.0260161499136597};
> Point(36) = {-0.0585240056401949,-0.0357624432007568, 0, 0.0246808518536269};
> Point(37) = {-0.0818594241904382,-0.0302068204593363, 0, 0.0232517885127849};
> Point(38) = {-0.10368353917907,-0.0246629293949951, 0, 0.0217457176698261};
> Point(39) = {-0.123910070917266,-0.0191051062782435, 0, 0.0201816450903615};
> Point(40) = {-0.142455487215075,-0.0134410204795462, 0, 0.0185957256983629};
> Point(41) = {-0.159250545137898,-0.0075182629265861, 0, 0.0169910274020686};
> Point(42) = {-0.174177695550069,-0.00125572002930655, 0, 0.0153422832364895};
> Point(43) = {-0.187144452559605,0.00526737543776425, 0, 0.0136812018400993};
> Point(44) = {-0.198151328781493,0.0119338987992764, 0, 0.0120744334240003};
> Point(45) = {-0.207223627303975,0.0186835787616369, 0, 0.0105899922817882};
> Point(46) = {-0.214341159669946,0.025589707889793, 0, 0.00930416578499193};
> Point(47) = {-0.219506167347519,0.0326624633343493, 0, 0.00858062594975876};
> Point(48) = {-0.222537949532771,0.0406668827811106, 0, 0.00747295794248276};
> Point(49) = {-0.22252865060087,0.0472995735895763, 0, 0.00655228717816023};
> Point(50) = {-0.219850519271069,0.053492933913428, 0, 0.00763847922396884};
> Point(51) = {-0.214160941722932,0.0600810800561119, 0, 0.00904054018934253};
> Point(52) = {-0.206745799352561,0.0659505333418063, 0, 0.0102582336902274};
> Point(53) = {-0.19734422693175,0.0718336771055008, 0, 0.0119514662413925};
> Point(54) = {-0.185908616731747,0.0776621515777053, 0, 0.0136832663365202};
> Point(55) = {-0.172481841033544,0.0832699736211246, 0, 0.0153698902260985};
> Point(56) = {-0.157160271017786,0.0885463934419708, 0, 0.0170160887688346};
> Point(57) = {-0.139992562893035,0.0934009120704514, 0, 0.0186235709813565};
> Point(58) = {-0.121069097614603,0.0977538245045352, 0, 0.0201683914813149};
> Point(59) = {-0.100479797147246,0.101512471901503, 0, 0.021655343099388};
> Point(60) = {-0.0783006530883111,0.104585785556119, 0, 0.0230713550995922};
> Point(61) = {-0.0546514347733569,0.106889358235939, 0, 0.0244036808572664};
> Point(62) = {-0.0296393071737121,0.108358314060052, 0, 0.0256555949856481};
> Point(63) = {-0.003378768308677,0.108877294319455, 0, 0.0268203618320309};
> Point(64) = {0.0240014037205022,0.108321300987422, 0, 0.0278936180432915};
> Point(65) = {0.0523583745032579,0.106513690853955, 0, 0.0288629965021405};
> Point(66) = {0.0815151401282385,0.103375556073687, 0, 0.0297274583838422};
> Point(67) = {0.111331239401008,0.0989580086475644, 0, 0.0305099631564411};
> Point(68) = {0.141705403988855,0.0933474184789497, 0, 0.0312137323427806};
> Point(69) = {0.172523567654043,0.0866013379778465, 0, 0.0318225324233312};
> Point(70) = {0.203662880595818,0.0787883878850717, 0, 0.032333344645476};
> Point(71) = {0.23500821838018,0.0699445337379836, 0, 0.0327262837994813};
> Point(72) = {0.266412812193191,0.060174288663736, 0, 0.0329904857754958};
> Point(73) = {0.29776899815387,0.0495834647824681, 0, 0.0331299646570304};
> Point(74) = {0.328948513083495,0.0382730479029315, 0, 0.0331279662742695};
> Point(75) = {0.359847745253208,0.0264301117541709, 0, 0.0329896662113735};
> Point(76) = {0.39036672324083,0.0141675346741929, 0, 0.0327072369188238};
> Point(77) = {0.420372951222389,0.00161574434646893, 0, 0.0322822440229814};
> Point(78) = {0.449767508059486,-0.0111330558241519, 0, 0.0317188594599337};
> Point(79) = {0.478419123211052,-0.0239769518619946, 0, 0.0309990981991766};
> Point(80) = {0.506234089685675,-0.0367319135350282, 0, 0.0301365808756236};
> Point(81) = {0.533112173206428,-0.0493052820417608, 0, 0.0291342172605179};
> Point(82) = {0.558955818424337,-0.0615438014184444, 0, 0.0279869507002577};
> Point(83) = {0.583648305265566,-0.0733713784118842, 0, 0.0267059640369766};
> Point(84) = {0.607108121368473,-0.0846563474000828, 0, 0.0252980496627396};
> Point(85) = {0.629250413568047,-0.095289703743043, 0, 0.0237714204771529};
> Point(86) = {0.649987610169891,-0.105190980733441, 0, 0.0221338729829261};
> Point(87) = {0.669245289993637,-0.114264507894839, 0, 0.0203933167086412};
> Point(88) = {0.686924385728915,-0.122489075334237, 0, 0.018563931129617};
> Point(89) = {0.702966968391025,-0.129799196884445, 0, 0.0166541380566129};
> Point(90) = {0.717302300581728,-0.136150098239938, 0, 0.0146620361955077};
> Point(91) = {0.729849347639134,-0.141514097974694, 0, 0.0126073728588636};
> Point(92) = {0.740563345292244,-0.145881860700305, 0, 0.0104769769691141};
> Point(93) = {0.749325609184874,-0.149243484874529, 0, 0.0083267236650995};
> Point(94) = {0.756204622357661,-0.151599181728776, 0, 0.00614281167920628};
> Point(95) = {0.760981414377486,-0.153126621057647, 0, 0.00392958974418019};
> Point(96) = {0.76373851910066,-0.153836837219707, 0, 0.00335112607915894};
> Point(97) = {0.765428836361378,-0.154198865841581, 0, 0.00854731521277424};
> Point(98) = {0.767351392166108,-0.155210743646687, 0, 0.00292061446598259};
> Point(99) = {0.766658083267881,-0.158896096109021, 0, 0.00300000000000038};
> Point(100) = {0.766242097928945,-0.161107307586423, 0, 0.00273749999999863};
> Point(101) = {0.765937706756062,-0.162731019629924, 0, 0.00807402615317523};
> Point(102) = {0.765645852276471,-0.164276710704028, 0, 0.00281250000000183};
> Point(103) = {0.765202134581603,-0.16663533627993, 0, 0.00307500000000358};
> Point(104) = {0.764508825683377,-0.170320688742264, 0, 0.00198650163147111};
> Point(105) = {20, 10, 0, 5};
> Point(106) = {-7, 10, 0, 5};
> Point(107) = {-7, -10, 0, 5};
> Point(108) = {20, -10, 0, 5};
> Point(109) = {2, 0.4, 0, 0.17};
> Point(110) = {1.83, 0.4, 0, 0.17};
> Point(111) = {2, 0.57, 0, 0.17};
> Point(112) = {2, -0.11, 0, 0.17};
> Point(113) = {1.83, -0.11, 0, 0.17};
> Point(114) = {2, -0.28, 0, 0.17};
> 
> //wake quadrilaterals area
> Point(115) = {9, -1.8, 0, 0.6};
> Point(116) = {9.64541239892183, -1.8, 0, 0.645412398921833};
> Point(117) = {10.4270619946092, -1.8, 0, 0.781649595687331};
> Point(118) = {11.4357735849057, -1.8, 0, 1.0087115902965};
> Point(119) = {12.762371967655, -1.8, 0, 1.32659838274933};
> Point(120) = {14.4976819407008, -1.8, 0, 1.73530997304582};
> Point(121) = {16.7325283018868, -1.8, 0, 2.23484636118598};
> Point(122) = {20, -1.8, 0, 0.6};
> Point(123) = {20, -1.2, 0, 0.6};
> Point(124) = {20, -0.6, 0, 0.6};
> Point(125) = {20, 2.22044604925031e-16, 0, 0.6};
> Point(126) = {20, 0.6, 0, 0.6};
> Point(127) = {20, 1.2, 0, 0.6};
> Point(128) = {20, 1.8, 0, 0.6};
> Point(129) = {20, 2.4, 0, 0.6};
> Point(130) = {16.7325283018868, 2.4, 0, 2.23484636118598};
> Point(131) = {14.4976819407008, 2.4, 0, 1.73530997304582};
> Point(132) = {12.762371967655, 2.4, 0, 1.32659838274933};
> Point(133) = {11.4357735849057, 2.4, 0, 1.0087115902965};
> Point(134) = {10.4270619946092, 2.4, 0, 0.781649595687331};
> Point(135) = {9.64541239892183, 2.4, 0, 0.645412398921833};
> Point(136) = {9, 2.4, 0, 0.6};
> Point(137) = {9, 1.8, 0, 0.6};
> Point(138) = {9, 1.2, 0, 0.6};
> Point(139) = {9, 0.6, 0, 0.6};
> Point(140) = {9, 2.22044604925031e-16, 0, 0.6};
> Point(141) = {9, -0.6, 0, 0.6};
> Point(142) = {9, -1.2, 0, 0.6};
> 
> //front points for grid connection
> Point(143) = {-7, 2.5, 0, 2.5};
> Point(144) = {-7, 1.25, 0, 1.25};
> Point(145) = {-7, 0, 0, 1.25};
> Point(146) = {-7, -1.25, 0, 1.25};
> Point(147) = {-7, -2.5, 0, 2.5};
> 
> 
> 
> //now the list of lines
> Line(1) = {2,1};
> Line(2) = {3,2};
> Line(3) = {4,3};
> Line(4) = {5,4};
> Line(5) = {6,5};
> Line(6) = {7,6};
> Line(7) = {8,7};
> Line(8) = {9,8};
> Line(9) = {10,9};
> Line(10) = {11,10};
> Line(11) = {12,11};
> Line(12) = {13,12};
> Line(13) = {14,13};
> Line(14) = {15,14};
> Line(15) = {16,15};
> Line(16) = {17,16};
> Line(17) = {18,17};
> Line(18) = {19,18};
> Line(19) = {20,19};
> Line(20) = {21,20};
> Line(21) = {22,21};
> Line(22) = {23,22};
> Line(23) = {24,23};
> Line(24) = {25,24};
> Line(25) = {26,25};
> Line(26) = {27,26};
> Line(27) = {28,27};
> Line(28) = {29,28};
> Line(29) = {30,29};
> Line(30) = {31,30};
> Line(31) = {32,31};
> Line(32) = {33,32};
> Line(33) = {34,33};
> Line(34) = {35,34};
> Line(35) = {36,35};
> Line(36) = {37,36};
> Line(37) = {38,37};
> Line(38) = {39,38};
> Line(39) = {40,39};
> Line(40) = {41,40};
> Line(41) = {42,41};
> Line(42) = {43,42};
> Line(43) = {44,43};
> Line(44) = {45,44};
> Line(45) = {46,45};
> Line(46) = {47,46};
> Line(47) = {48,47};
> Line(48) = {49,48};
> Line(49) = {50,49};
> Line(50) = {51,50};
> Line(51) = {52,51};
> Line(52) = {53,52};
> Line(53) = {54,53};
> Line(54) = {55,54};
> Line(55) = {56,55};
> Line(56) = {57,56};
> Line(57) = {58,57};
> Line(58) = {59,58};
> Line(59) = {60,59};
> Line(60) = {61,60};
> Line(61) = {62,61};
> Line(62) = {63,62};
> Line(63) = {64,63};
> Line(64) = {65,64};
> Line(65) = {66,65};
> Line(66) = {67,66};
> Line(67) = {68,67};
> Line(68) = {69,68};
> Line(69) = {70,69};
> Line(70) = {71,70};
> Line(71) = {72,71};
> Line(72) = {73,72};
> Line(73) = {74,73};
> Line(74) = {75,74};
> Line(75) = {76,75};
> Line(76) = {77,76};
> Line(77) = {78,77};
> Line(78) = {79,78};
> Line(79) = {80,79};
> Line(80) = {81,80};
> Line(81) = {82,81};
> Line(82) = {83,82};
> Line(83) = {84,83};
> Line(84) = {85,84};
> Line(85) = {86,85};
> Line(86) = {87,86};
> Line(87) = {88,87};
> Line(88) = {89,88};
> Line(89) = {90,89};
> Line(90) = {91,90};
> Line(91) = {92,91};
> Line(92) = {93,92};
> Line(93) = {94,93};
> Line(94) = {95,94};
> Line(95) = {96,95};
> Line(96) = {97,96};
> Line(97) = {98,97};
> Line(98) = {99,98};
> Line(99) = {100,99};
> Line(100) = {101,100};
> Line(101) = {102,101};
> Line(102) = {103,102};
> Line(103) = {104,103};
> Line(104) = {1,104};
> Line(105) = {106,105};
> Line(106) = {143,106};
> Line(107) = {108,107};
> Line(108) = {122,108};
> Line(109) = {110,109};
> Line(110) = {111,110};
> Line(111) = {109,111};
> Line(112) = {113,112};
> Line(113) = {114,113};
> Line(114) = {112,114};
> Line(115) = {116,115};
> Line(116) = {117,116};
> Line(117) = {118,117};
> Line(118) = {119,118};
> Line(119) = {120,119};
> Line(120) = {121,120};
> Line(121) = {122,121};
> //Line(122) = {123,122};
> //Line(123) = {124,123};
> //Line(124) = {125,124};
> //Line(125) = {126,125};
> //Line(126) = {127,126};
> //Line(127) = {128,127};
> Line(128) = {129,105};
> Line(129) = {130,129};
> Line(130) = {131,130};
> Line(131) = {132,131};
> Line(132) = {133,132};
> Line(133) = {134,133};
> Line(134) = {135,134};
> Line(135) = {136,135};
> Line(136) = {137,136};
> Line(137) = {138,137};
> Line(138) = {139,138};
> Line(139) = {140,139};
> Line(140) = {141,140};
> Line(141) = {142,141};
> Line(142) = {115,142};
> Line(143) = {147,146};
> Line(144) = {146,145};
> Line(145) = {145,144};
> Line(146) = {144,143};
> Line(147) = {107,147};
> 
> 
> 
> Line Loop(143) = {-1,-2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -21, -22, -23, -24, -25, -26, -27, -28, -29, -30, -31, -32, -33, -34, -35, -36, -37, -38, -39, -40, -41, -42, -43, -44, -45, -46, -47, -48, -49, -50, -51, -52, -53, -54, -55, -56, -57, -58, -59, -60, -61, -62, -63, -64, -65, -66, -67, -68, -69, -70, -71, -72, -73, -74, -75, -76, -77, -78, -79, -80, -81, -82, -83, -84, -85, -86, -87, -88, -89, -90, -91, -92, -93, -94, -95, -96, -97, -98, -99, -100, -101, -102, -103, -104};
> Line Loop(144) = {-105, -106,-146,-145,-144,-143,-147, -107, -108,121,120,119,118,117,116,115,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128};
> Line Loop(145) = {109, 111, 110};
> Line Loop(146) = {112, 114, 113};
> //Line Loop(147) = {-115, -116, -117, -118, -119, -120, -121, -122, -123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142};
> //Now Surfaces
> Plane Surface(148) = {144,143, 145, 146};
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fx79tu_mod.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20061019/846725c7/attachment.geo>