[Gmsh] Periodic surfaces and Embedded lines

Christophe Geuzaine cgeuzaine at uliege.be
Thu Jun 20 17:23:33 CEST 2019



> On 19 Jun 2019, at 15:14, tarasov at pmi.lv wrote:
> 
> Hi!
> Periodic meshing of surfaces fails if surface contains embedded line.
> Is it a bug or do I miss something?

It was simply not supported yet. Give the latest development snapshot a try: I've just coded what was missing.

Christophe

> 
> Here is sample code:
> 
> -------------------------------------------------------------
> SetFactory("OpenCASCADE");
> Box(1) = { 0, 0, 0, 1, 1, 1 };
> 
> Point(10) = {0.5, 0.5, 0};
> Point(11) = {0.7, 0.7, 0};
> Point(12) = {0.5, 0.5, 1};
> Point(13) = {0.7, 0.7, 1};
> 
> Line(15) = {10, 11};
> Line(16) = {12, 13};
> 
> Curve {15} In Surface{5};
> Curve {16} In Surface{6};
> Periodic Surface{ 6 } = { 5 } Translate{ 0,0,1 };
> 
> Mesh 3;
> -------------------------------------------------------------
> 
> Best regards,
>    Sergey Tarasov.
> 
> _______________________________________________
> 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