[Gmsh] transfinite algorithm limitation for structured meshes

Christophe Geuzaine cgeuzaine at uliege.be
Mon Jun 22 18:15:39 CEST 2020



> On 19 Jun 2020, at 07:10, BRAHMACHARY SHUVAYAN <brahmachary.shuvayan.140 at m.kyushu-u.ac.jp> wrote:
> 
> Dear prof. Geuzaine,
> 
> Good morning!
> 
> First of all thank you for the wonderful meshing tool you and your team has developed: Gmsh. It is very useful indeed. 
> 
> I was wondering if you could help me answer a query related to Gmsh. 
> 
> I am trying to create a structured mesh using the Transfinite command in Gmsh (image attached). As you may notice, due to the curvature of the upper curve, the vertical lines are not quite vertical (I want them to be perfectly vertical). This is possible if I were able to alter the position of the nodes suitably, which is possible in Gmsh using Points in Surface command. However, this Points in Surface command fails when Transfinite command is used and only works for unstructured meshes in Gmsh. So my question is :
> 
> 
> 1. How to constraint the lines to be vertical? An easier way perhaps?

No there's nothing for this.

> 
> 2. Is it possible to adjust the nodes when Points in Surface and Transfinite commands are used in conjunction?

No: you'll need to split the surface into parts that have 3 or 4 sides...

Christophe

> 
> Kind regards,
> Shuvayan
> 
> <Screenshot 2020-06-19 at 13.38.14.png>
> _______________________________________________
> 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






More information about the gmsh mailing list