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

Pei-Ying Hsieh pei-ying.hsieh.b at bayer.com
Thu May 18 03:10:27 CEST 2006


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};
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
_______________________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20060517/f74b7aac/attachment.html>