[Gmsh] Gmsh new boundary layer mesh operator

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Mar 31 12:44:09 CEST 2015


> On 31 Mar 2015, at 09:35, Alexander Tismer <alexander.tismer at ihs.uni-stuttgart.de> wrote:
> 
> Hello,
> 
> I write a mesh operator that starts from a surface mesh and adds a boundary layer to it (according to this paper http://onlinelibrary.wiley.com/doi/10.1002/1097-0207%2820000910/20%2949:1/2%3C193::AID-NME929%3E3.0.CO;2-R/abstract).
> 
> Steps are:
> 1) create surface mesh
> 2) calculate normals
> 3) move old GFaces 
> 4) create elements in boundary layer (green elements)
> 5) mesh internal GRegion (orange elements)
> 
> My algorithm works fine. But if I mesh some bounding surfaces using transfinite edges and surfaces there occurs very very flat elements in the final internal GRegion. 
> 
> So my question: does the meshGRegion operator requests any mesh vertex reparametrization on its bounding faces of edges if using transfinite stuff?
> 

Hi Alex - No; if you change the definition of surfaces, you will indeed want to reparametrize the mesh vertices so that the transfinite algorithm (which works in parametric coordinates) can compute the new vertices correctly.



> Please find attached a mesh cut of the final mesh.
> 
> Best regards
> Alex
> 
> 
>  
> -- 
> Alexander Tismer
> 
> Institut für Strömungsmechanik
> und Hydraulische Strömungsmaschinen
> Universität Stuttgart
> Pfaffenwaldring 10
> 70550 Stuttgart
> 
> Tel.:   +49 (0) 711 / 685 63007
> Fax:    +49 (0) 711 / 685 63255
> eMail: 
> alexander.tismer at ihs.uni-stuttgart.de
> http://www.ihs.uni-stuttgart.de
> <mesh.png>_______________________________________________
> 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