[Gmsh] Join Splines Smoothly

Christophe Geuzaine cgeuzaine at uliege.be
Tue Dec 18 23:22:05 CET 2018



> On 18 Dec 2018, at 16:15, Raposo, Henrique T <h.raposo17 at imperial.ac.uk> wrote:
> 
> I seem to have forgotten to attach the .geo file. Please find it attached.
> 

Attached is a slightly modified file that uses bsplines in OpenCASCADE: it looks better at first sight. If you need better regularity, I would recommend defining a single spline (in OpenCASCADE), then intersecting with the construction lines to define your structured patches.

Christophe


-------------- next part --------------
A non-text attachment was scrubbed...
Name: naca0012.geo
Type: application/octet-stream
Size: 10712 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20181218/5087f333/attachment.geo>
-------------- next part --------------



> Henrique
> 
> From: "Raposo, Henrique T" <h.raposo17 at imperial.ac.uk>
> To: gmsh at onelab.info
> Sent: Monday, December 17, 2018 11:58:22 AM
> Subject: [Gmsh] Join Splines Smoothly
> Hi,
> 
> I'm meshing a NACA0012 airfoil for an Euler computation. In order to obtain a structured mesh and to control the refinement in different zones, I'm breaking up the surface geometry into three splines (attached the .geo file). However, adopting this strategy results in discontinuities in curvature at the junction of the splines. Is there any way around this? 
> 
> Alternatively, using a single spline to describe the surface geometry results in almost imperceptible waviness which is noticeable in the pressure distribution. Should I be observing this behaviour?
> 
> Thanks a lot!
> Kind regards,
> Henrique
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
> <naca0012_NS.geo>_______________________________________________
> 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

Free software: http://gmsh.info | http://getdp.info | http://onelab.info



More information about the gmsh mailing list