[Gmsh] Problems to refine near a vertex of a L-shaped domain

Christophe Geuzaine christophe.geuzaine at case.edu
Tue Dec 5 17:12:25 CET 2006


Durufle marc wrote:
> I tried to mesh a L-shaped domain. And I want to
> refine locally on the vertex where the solution will
> be singular. I observed that all is fine if the
> refinement is large enough. If the parameter of
> refinement is small (0.001 here), the produced mesh is
> ugly.
> I attached the details of the mesh when you zoom on
> the refined vertex.
> 
> The geo file is the following :
> 
> lc = 0.1;
> 
> a = 1.0;
> b = 1.0;
> h = 1.0;
> 
> refine = 0.001;
> 
> Point(1) = {0, 0, 0, lc*refine};
> Point(2) = {a, 0, 0, lc} ;
> Point(3) = {0, b, 0, lc} ;
> Point(4) = {a, -h, 0, lc} ;
> Point(5) = {-h, b, 0, lc} ;
> Point(6) = {-h, -h, 0, lc} ;
> 
> Line(1) = {1,3} ;
> Line(2) = {3,5} ;
> Line(3) = {5,6} ;
> Line(4) = {6,4} ;
> Line(5) = {4,2} ;
> Line(6) = {2,1} ;
> 
> Line Loop(1) = {1,2,3,4,5,6} ;
> 
> // Ruled Surface(1) = {1} ;
> Plane Surface(1) = {1};
> 
> Physical Line(1) = {1,2,3,4,5,6} ;
> 
> MySurface = 1;
> Physical Surface(MySurface) = {1} ;
> 
> Do you have an idea to fix this problem ?
> 
> 

Hi Marc - Tomorrow's (Dec 6) nightly cvs snapshot of Gmsh 2.0 will fix 
the bug:

http://www.geuz.org/gmsh/src/gmsh2-nightly-source.tgz

Thanks for the report,

CG


> 	
> 
> 	
> 		
> ___________________________________________________________________________ 
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
> Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
> http://fr.answers.yahoo.com
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine