[Gmsh] Bundary layer extrusion in Python
Christophe Geuzaine
cgeuzaine at uliege.be
Wed Apr 3 21:16:47 CEST 2019
> On 3 Apr 2019, at 11:54, Mikko <folke.mam at gmail.com> wrote:
>
> Hi all,
>
> I'm trying to extrude boundary layer using the Python interface. I would achieve this .geo command:
> Extrude {
> Curve{1};
> Layers{{1,1},{0.001,0.0022}};
> Recombine;
> }
> which should be in Python:
> gmsh.model.occ.extrude([(1,1)], numElements = [1,1], heights = [0.001, 0.0022], recombine = True)
> but the extrude command requires also the translation parameters dx, dy, dz. Is this function still missing from the Python API?
>
It's something that is not supported with the OpenCASCADE kernel. (And the command for the "built-in" kernel has not been added to the API yet.)
A actual boundary layer mesh generator is in the works - but that's probably for Gmsh 5.
Christophe
> Thanks, Mikko
>
> _______________________________________________
> 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