[Gmsh] 2D structured mesh - surface with curve lines

Christophe Geuzaine christophe.geuzaine at case.edu
Tue Jun 20 16:48:12 CEST 2006


Pei-Ying Hsieh wrote:
> 
> Dear GMSH users:
> 
> I am trying to mesh a 2D surface (consists of 2 straight lines and 2 
> curcular arc) using structred mesh (will be all Quad).  There is no 
> problem if all 4 sides (lines) are striaght lines.  But, circular arc 
> seems to be a problem.  Is there a way to do this?  Thanks a lot if you 
> can take a look at this!
> 
> Pei
> -----------------------------------------
> lc = 0.2;
> Point(4) = {0, 1, 0, lc};
> Point(5) = {0, 0, 0, lc};
> Point(6) = {-1, 0, 0, lc};
> Point(7) = {-2, 0, 0, lc};
> Point(8) = {0, 2, 0, lc};
> Line (7) = {8, 4};
> Line (8) = {6, 7};
> Circle (9) = {7, 5, 8};
> Circle (10) = {4, 5, 6};
> Line Loop(11) = {7, 10, 8, 9};
> Plane Surface(12) = {11};
> Transfinite Line{7:10} = 6;
> Transfinite Surface{12} = {7, 10, 8, 9};

Hi Pei - The last line should be:

Transfinite Surface{12} = {7, 6, 4, 8};

(Transfinite surfaces are defined in terms of vertices, not bounding
curves.)

> Recombine Surface {12};
> 
> /
> 
> ------------------------------------------------------------------------
> //The information contained in this e-mail is for the exclusive use of 
> the intended recipient(s) and may be confidential, proprietary, and/or 
> legally privileged.  Inadvertent disclosure of this message does not 
> constitute a waiver of any privilege.  If you receive this message in 
> error, please do not directly or indirectly use, print, copy, forward, 
> or disclose any part of this message.  Please also delete this e-mail 
> and all copies and notify the sender.  //Thank you./
> 
> /For alternate languages please go to http://bayerdisclaimer.bayerweb.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