[Gmsh] Mapped meshing
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Mon Apr 21 23:50:16 CEST 2008
Atanas Pavlov wrote:
> Hello,
>
> I am trying to create a mesh for an axisymmetric geometry, which is
> relatively simple, defined by a few points, resp curves connecting them.
> I would like, however, to perform mapped meshing where I partition the
> curves, then use these partitions on 4-side surface regions to partition
> the regions, and then revolve-extrude the mesh around the symmetry axis.
> As far as I can see, the first step is currently not possible in GMSH,
> because for surface mesh it can only generate triangle mesh (or extrude
> 1D mesh, which however is not possible in this case). Is there any
> workaround? Is mapped meshing planned to be implemented in GMSH, and for
> simple cases like that, can it be a short term feasible task?
>
Could you use a Transfinite grid like this?
Point(1) = {0,0,0,0.1};
Point(2) = {1,0,0,0.1};
Point(3) = {0,1,0,0.1};
Point(4) = {3,0,0,0.1};
Point(5) = {3,3,0,0.1};
Point(6) = {0,3,0,0.1};
Line(1) = {3,6};
Line(2) = {6,5};
Line(3) = {5,4};
Line(4) = {4,2};
Circle(5) = {2,1,3};
Line Loop(6) = {3,4,5,1,2};
Plane Surface(7) = {6};
Transfinite Line {1} = 20 Using Progression 1.2;
Transfinite Line {4} = 20 Using Progression 1./1.2;
Transfinite Line {3,2} = 10 Using Progression 1;
Transfinite Line {5} = 19 Using Progression 1;
Transfinite Surface {7} = {3,6,4,2} Alternated;
Recombine Surface {7};
> Cheers,
> Atanas
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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