[Gmsh] Duplicate Nodes in extruded mesh

Ruth V. Sabariego r.sabariego at ulg.ac.be
Mon Dec 12 08:04:14 CET 2011


Hi Dharmendar,
What you get is the normal behaviour. As the Coherence is done at the level of the geometry, lines 5 and 9 coincide with line 13, but they are not the same. That's why you get double mesh points.

You should not extrude line 3 in that way.
See the work around I would use in the attached file.

Regards,
Ruth




--
Dr. Ir. Ruth V. Sabariego
University of Liege, Electrical Engineering & Computer Science, 
Applied & Computational Electromagnetics (ACE),
phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/



On 11 Dec 2011, at 17:16, Dharmendar Reddy wrote:

> Hello, 
>          Can some one help me with this. I am creating an extruded mesh using gmsh. I happen to see duplicate nodes in the msh file. How do i get around this ?
> 
> 
> thanks
> Reddy
> The following is the .geo file   
> 
> // Test geo 
> t1 = 2;
> t2 = 1;
> 
> L1 = 5;
> L2 = 10;
> L3 = 5;
> //contol length of mesh
> Lc = 1;
> 
> N1=5;
> N2=10;
> N3=5;
> Point(1) = {0, 0, 0, Lc};
> Point(2) = {0, -t1, 0, Lc};
> Line(1) ={1,2};
> 
> Point(4) = {0,t2,0,Lc};
> Line(3)={1,4};
> 
> out1[] = Extrude {L1+L2,0,0}{
> Line{1}; Layers{N1+N2}; Recombine;
> };
> 
> out2[] = Extrude {L3,0,0}{
> Line{out1[0]}; Layers{N3}; Recombine;
> };
> 
> out4[] = Extrude {L1+L2+L3,0,0}{
> Line{3}; Layers{N1+N2+N3}; Recombine;
> };
> 
> -- 
> -----------------------------------------------------
> Dharmendar Reddy Palle
> Graduate Student
> Microelectronics Research center,
> University of Texas at Austin,
> 10100 Burnet Road, Bldg. 160
> MER 2.608F, TX 78758-4445
> e-mail: dharmareddy84 at gmail.com
> Phone: +1-512-350-9082
> United States of America.
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20111212/b35b2f78/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.geo
Type: application/octet-stream
Size: 622 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20111212/b35b2f78/attachment.geo>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20111212/b35b2f78/attachment-0001.html>