[Gmsh] "Line Loop is wrong" error

look mlook at me.com
Sun Aug 30 09:42:04 CEST 2015


> Am 28.08.2015 um 15:56 schrieb look <mlook at me.com>:
> 
> Hi,
> 
> when using the compound feature in this context, I think gmsh still sees the lines as separate entities. However if you ignore the error message and do the meshing it usually just works. Keep in mind that you have to define the four corners of the transfinite surface (see gmsh manual) and the number of nodes on the four sides have to match.
> The only problem with that procedure is, that it doesn’t seem to work with ruled surfaces. This means if you do this with a ruled surface, it is meshed like a plane surface. If anyone has any idea about this, I’d be glad to hear it!
> 
> Best regards,
> 
> Kate
>> 
>> Message: 2
>> Date: Thu, 27 Aug 2015 17:21:52 -0500
>> From: Manav Bhatia <bhatiamanav at gmail.com>
>> To: gmsh at geuz.org
>> Subject: [Gmsh] "Line Loop is wrong" error
>> Message-ID: <30C2E795-5145-4423-BE7D-8765F88E5333 at gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> Hi, 
>> 
>>  I am trying to create a mesh around an airfoil using the transfinite algorithm. Attached is my script. 
>> 
>>  I have checked the orientation of the loops using the tangents, and it seems ok. However, I continue to get the error: ?Line Loop 100 is wrong?. 
>> 
>>  The Compound Line seems to be related to this. If I remove the compound line, and pass {-11, -10}, then it goes through and creates the surface, but I am unable to use the transfinite algorithm since it now has 5 corners. 
>> 
>>  My ultimate goal is to create a smooth structured grid around my airfoil, much like the elliptic grid generation tools. Do you have any examples that show how to best do this? 
>> 
>>  I would greatly appreciate any help. 
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: model.geo
>> Type: application/octet-stream
>> Size: 11446 bytes
>> Desc: not available
>> URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150827/7d3121d4/attachment-0001.geo>
>> -------------- next part --------------
>> 
>> 
>> Thanks,
>> Manav
>> 
>> ------------------------------
>> 
>> 
>