[Gmsh] meshing problem
Christophe Geuzaine
cag32 at case.edu
Sat May 13 23:28:43 CEST 2006
William Pao wrote:
> So is there any way that I can mesh that geometry using gmsh?
Not with a zero-area surface. Here's how I would do it:
Point(1) = {0, 0, 0, 1};
Point(2) = {10, 0, 0, 1};
Point(3) = {10, 10, 0, 1};
Point(4) = {0, 10, 0, 1};
Point(5) = {3, 3, 0, 0.15};
Point(6) = {7, 6.5, 0, 0.15};
Line (1) = {1, 2};
Line (2) = {2, 3};
Line (3) = {3, 4};
Line (4) = {4, 1};
Line (5) = {5, 6};
Line(1001002) = {1,5};
Line(1001003) = {6,3};
Line Loop(1001004) = {3,4,1001002,5,1001003};
Plane Surface(1001005) = {1001004};
Line Loop(1001006) = {1001003,-2,-1,1001002,5};
Plane Surface(1001007) = {1001006};
>
> -----Original Message-----
> From: Christophe Geuzaine [mailto:cag32 at case.edu]
> Sent: 29 April 2006 05:07
> To: william.pao at manchester.ac.uk
> Cc: gmsh at geuz.org
> Subject: Re: [Gmsh] meshing problem
>
> William Pao wrote:
>> Dear sir
>>
>>
>>
>> I was trying to mesh case3.geo using gmsh and it appears that gmsh
>> cannot mesh the geometry. It produced a message saying there is a bug
>> needs reporting.
>>
>>
>>
>> I hope you can give some idea how to mesh case3.geo when I include
>> more line segments.
>>
>
> The line loop 1001001 is not a line loop (and you should never define or
> try to mesh zero-area surfaces in gmsh)
>
>>
>> Thanks.
>>
>>
>>
>> Best regards
>>
>>
>>
>> ----
>>
>>
>>
>> William K-S. Pao
>>
>> P/E18, Pariser Building
>>
>> School of Mechanical, Aerospace and Civil Engineering
>>
>> The University of Manchester
>>
>> PO Box 88, Sackville Street
>>
>> Manchester M60 1QD
>>
>> Tel: +44 (0)161 306 3738
>>
>> Fax: +44 (0)161 306 4252
>>
>> Email: William.Pao at manchester.ac.uk <mailto:William.Pao at manchester.ac.uk>
>>
>> Webpage: www.umist.ac.uk/personal/staff/William.Pao
>> <http://www.umist.ac.uk/personal/staff/William.Pao>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>
>
--
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine