[Gmsh] stretching triangular elements

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Jan 13 10:33:29 CET 2012


On 10 Jan 2012, at 03:03, Hanieh Mirzaee wrote:

> Jean,
> 
> Thanks again for getting back to me. I guess what I am looking for is a mechanism for "anisotropic unstructured grid" in gmsh. With transfinite I see that I can generate "anisotropic structured grids". Not sure if the former feature is available in gmsh yet.
> 

Hi,

It's available, but still quite experimental. Here are two examples :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CubeAniso.geo
Type: application/octet-stream
Size: 1201 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120113/c4f871a8/attachment.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CubeAnisoBL.geo
Type: application/octet-stream
Size: 1177 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120113/c4f871a8/attachment-0001.geo>
-------------- next part --------------


Christophe


> Hanieh
> 
> 
> 
> On 1/9/2012 3:53 AM, jean pierre aubry wrote:
>> hello
>> 
>> i left school quite a while ago, so i do not really know what is a
>> stretched Delaunay triangulation
>> but looking in the Gmsh docs you should find a way
>> here is what i was speaking off, a bit diffrent from your picture though
>> 
>> Point(1) = {0, 0, 0, cl1};
>> Point(2) = {100, 0, 0, cl1};
>> Point(3) = {100, 50, 0, cl1};
>> Point(4) = {100, 100, 0, cl1};
>> Point(5) = {0, 100, 0, cl1};
>> Point(6) = {0, 50, 0, cl1};
>> Line(1) = {1, 2};
>> Line(2) = {2, 3};
>> Line(3) = {3, 4};
>> Line(4) = {4, 5};
>> Line(5) = {6, 5};
>> Line(6) = {6, 1};
>> Line(7) = {6, 3};
>> Line Loop(8) = {4, -5, 7, 3};
>> Plane Surface(9) = {8};
>> Line Loop(10) = {7, -2, -1, -6};
>> Plane Surface(11) = {10};
>> Transfinite Line {7} = 11 Using Progression 1;
>> 
>> jean pierre aubry
>> 
>> 
>> Thanks for your reply.
>> 
>> Could you please be a bit more specific on the steps? It is not clear
>> to me how I can get the stretched elements. In fact, is there a solid
>> way in gmsh to generate a stretched Delaunay triangulation?
>> 
>> Hanieh
>> 
>> On 1/6/2012 2:53 AM, jean pierre aubry wrote:
>>> hello
>>> 
>>> i had divide the square with a line at midheight
>>> make two surfaces one above, one below
>>> assign around ten nodes to the midline with Transfinite
>>> the mesh the 2 surfaces
>>> and
>>> i would like your picture
>>> 
>>> jean pierre aubry
>> _______________________________________________
>> gmsh mailing list
>> gmsh at geuz.org
>> http://www.geuz.org/mailman/listinfo/gmsh
> 
> 
> _______________________________________________
> 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