[Gmsh] bug dans gmsh
Christophe Geuzaine
christophe.geuzaine at case.edu
Wed Sep 27 13:30:36 CEST 2006
Lucie Gérard wrote:
> Bonjour, j'ai eu un bug et il était marqué qu'il fallait vous envoyer un
> mail, je joins à ce mail ce que j'ai pu enregistrer.
> J'ai fait mon dessin (poisson dans un bocal), j'ai relié le tout avec des
> lignes, ai fait plane surface (d'abord le poisson, puis le bocal avec le
> poisson comme "hole"). Ensuite j'ai voulu faire mesh 2D et il m'a indiqué
> un message d'erreur en me forçant à fermer le programme.
> Si vous pouviez me réécrire pour me dire quoi, cela me ferait fort plaisir.
> Cordialement,
> lucie Gérard
Line(2) has zero length and CatmullRom(7) is wrong (it self-intersects).
Here's a corrected version:
Point(1) = {0,0.0,0.0,0.1};
Point(2) = {4,0.0,0.0,0.1};
Point(3) = {0,1,0,0.1};
Point(4) = {-1,3,0,0.1};
Point(5) = {4,1,0,0.1};
Point(6) = {5,3,0,0.1};
Point(7) = {4.5,3.5,0,0.1};
Point(8) = {3.5,3,0,0.1};
Point(9) = {2.5,3.5,0,0.1};
Point(10) = {1.5,3,0,0.1};
Point(11) = {0.5,3.5,0,0.1};
Point(12) = {-0.5,3.3,0,0.1};
Line(1) = {2,1};
//Line(2) = {1,1};
CatmullRom(3) = {2,5,6};
CatmullRom(4) = {1,3,4};
CatmullRom(5) = {4,12,11,10,9,8,7,6};
Point(13) = {1,1.5,0,0.1};
Point(14) = {1,2,0,0.1};
Point(15) = {3.16028,1.3,0,0.1};
Delete {
Point{15};
}
Point(15) = {2,1.3,0,0.1};
Point(16) = {1.75,1.75,0,0.1};
Delete {
Point{16};
}
Point(16) = {2.3,1.75,0,0.1};
Point(17) = {2,2.3,0,0.1};
Line(6) = {13,14};
CatmullRom(7) = {13,15,16,17,14};
Line Loop(8) = {-7,6};
Plane Surface(9) = {8};
Line Loop(10) = {5,-3,1,4};
Plane Surface(11) = {10,8};
--
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine