[Gmsh] Question on 3D hex mesh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Oct 15 17:50:03 CEST 2010


On 08/10/10 12:06, mirzaee wrote:
> Hello,
>
> I am trying to use Gmsh to produce a structured hexahedral mesh on a
> simple cubical domain. I've been able to do so using the extrude commands
> below:
>
> Point(1) = {0,0,0,lc};
> Extrude {1,0,0} {
>    Point{1}; Layers{N};
> }
> Extrude {0,1,0} {
>    Line{1}; Layers{N}; Recombine;
> }
> Extrude {0,0,1} {
>    Surface{5}; Layers{N}; Recombine;
> }
>
> However, in the result mesh I would like the parallel edges in the domain
> to have the same orientation. For example all of horizontal edges start
> from left point and end at right point. Is there a way to do that
> automatically in Gmsh?

I'm not sure I understand the question... "Parallel edges"?

>
> Thanks,
> Hanieh
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>


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