[Gmsh] Creating a 2D aerofoil mesh
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Fri Aug 29 08:45:34 CEST 2008
Thileepan Thiagaraja wrote:
> 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...
For i In {0:#out[]-1}
Printf("out[%g]=%g", i, out[i]);
EndFor
>
>
>
> 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
>>
>
>
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine