[Gmsh] Creating a 2D aerofoil mesh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Aug 28 19:52:05 CEST 2008


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