[Gmsh] CFD mesh with prismatic boundary layer based on STL

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Apr 5 23:19:03 CEST 2016


Hi Johannes - Here's the corrected file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wing_gmsh_cg.geo
Type: application/octet-stream
Size: 1640 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160405/df30c2a5/attachment.geo>
-------------- next part --------------


> On 05 Apr 2016, at 09:50, Johannes Dillinger <jojodillinger at gmail.com> wrote:
> 
> Dear all,
> 
> still didn't have any luck in meshing the STL with prismatic sublayer..
> Either the tetrahedra mesh directly connects to the wing surface rather than to the prisms, or the tetrahedra are not generated at all due to intersection issues.
> Maybe someone has another hint on how to modify Ruths file to make it work..
> Thanks a lot in advance, kind regards,
> 
> Johannes
> 
> 
> 
> 
> 2016-04-02 2:35 GMT+02:00 Johannes Dillinger <jojodillinger at gmail.com>:
> Dear Ruth,
> 
> intermdeiate result:
> I tried changing line 54 from
> 
> slbndwing=newsl; Surface Loop(newsl) = 1;
> 
> to
> 
> slbndwing=newsl; Surface Loop(newsl) = num[0];
> 
> but then a lot of warnings occur and no tetrahedra mesh outside the boundary layer is generated.. As I understand, num[0] is the outer surface of the boundary layer..
> 
> Maybe you have another idea..:)
> Kind regards,
> 
> Johannes
> 
> 
> 
> 
> 
> 
> 
> 2016-04-01 19:15 GMT+02:00 Johannes Dillinger <jojodillinger at gmail.com>:
> Dear Ruth,
> thanks a lot for the modification! There is is just one problem left, the tetrahedra mesh does not connect to the outer surface of the prism sublayer, but directly to the wing surface; the meshes intersect (see picture attached).
> I got a similar result with Delauney-3D-meshing.
> Do you have a hint on how to solve this?
> Thank you so much again!!
> Kind regards,
> Johannes
> 
> 
> 
> 
> 2016-04-01 11:59 GMT+02:00 Ruth Vazquez Sabariego <ruth.sabariego at esat.kuleuven.be>:
> Hope the attached patched version of your file, does what you want.
> There was a small problem with the surface loops.
> 
> Regards,
> Ruth 
> 
> 
> 
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Tetrahedron V, July 4-5 2016: http://tetrahedron.montefiore.ulg.ac.be
Free software: http://gmsh.info | http://getdp.info | http://onelab.info



More information about the gmsh mailing list