[Gmsh] Creating a 2D aerofoil mesh

Thileepan Thiagaraja Thilee.Thiagaraja at cantab.net
Thu Aug 28 20:33:46 CEST 2008


Thank you Christophe

Is there anyway to check the contents of the returned list of extruded
entities?  I tried:

Printf(out);

(with 'out' being the returned list of extruded entities) but that
causes a syntax error...



2008/8/28 Christophe Geuzaine <cgeuzaine at ulg.ac.be>:
> Thileepan Thiagaraja wrote:
>>
>> Dear all
>>
>> I'm trying to make an mesh around an aerofoil profile that is one element
>> thick, to simulate 2D flow.  Currently I'm listing the points of the
>> aerofoil (and domain) into a "Line Loop" , defining a "Plane Surface" and
>> extruding the surface by one element.
>> However, to then group the resulting aerofoil panels into a physical
>> surface, I have to select them by hand in the GMesh GUI (because the
>> assigned identification numbers upon extruding are unknown to me otherwise).
>>
>> Can anyone suggest a more efficient way of creating the aerofoil physical
>> surface?
>
> Extrude returns the list of extruded entities. You could use that?
>
> (See tutorial/t3.geo, line 39 for an example)
>
>
>
>
>>
>> Also, should I be using "Spline" or "B-Spline" instead of "Line Loop" for
>> the aerofoil profile boundary to produce a smoother surface?
>>
>> Thanks
>> Thilee
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> gmsh mailing list
>> gmsh at geuz.org
>> http://www.geuz.org/mailman/listinfo/gmsh
>
>
> --
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science
> http://www.montefiore.ulg.ac.be/~geuzaine
>