[Gmsh] gmsh bug in Circle ??

Zenker, Dr. Matthias Matthias.Zenker at erbe-med.com
Thu Mar 12 13:16:50 CET 2015

```Hi,

as far as I see, your point coordinates are wrong, i.e. if point 2 is your center point, points 1 and 3 do not lie on the same circle. So it is no bug.
But indeed a warning would be helpful here.

Working example:

Point(4) = {-100, 0, 0, 1};
Point(5) = {0, 0, 0, 1};
Point(6) = {0, 100, 0, 1};
Circle(11) = {4, 5, 6};

HTH,

Matthias

Von: Maiheu Bino [mailto:bino.maiheu at vito.be]
Gesendet: Donnerstag, 12. März 2015 11:55
An: gmsh at geuz.org
Betreff: [Gmsh] gmsh bug in Circle ??

Dear,

I'm not entirely sure if I'm going mental now (:-s), but I'm trying to create a very simple circle :

lc = 1;
Point(1) = {0, 50, 0, lc};
Point(2) = {90.0,-42.0,0,lc };
Point(3) = {154.0,93.0,0,lc};
Circle(10) = {1, 2, 3};

However, for some bizarre reason, the circle doesn't go through my 3th point. See screenshot below... I have absolutely no idea what goes wrong here. Maybe I'm missing something ??? I don't really get any errors as well. I'm using gmsh 2.8.5 on windows 64 bit. But I've tried with the linux version as well, same problem. At first I though I had made some mistakes in some calculation I was doing before, but when I stripped everything down to the bare coorinates (see .geo above), I get the same error...

Many thanks for any light you can shine on this.

Kinds regards,
bino

[cid:image001.png at 01D05CC5.5D5BE2C0][cid:image002.jpg at 01D05CC5.5D5BE2C0]

Bino Maiheu, Ph.D.
Researcher Atmospheric Modelling

Unit RMA - Environmental Modelling
VITO NV | Boeretang 200 | 2400 Mol
Tel. +32 14 33 67 45 | fax +32 14 33 67 99 | bino.maiheu at vito.be<mailto:voornaam.naam at vito.be>

"Do or do not... there is no try" -- Yoda

VITO Disclaimer: http://www.vito.be/e-maildisclaimer

_____________________________________________________________________
ERBE Elektromedizin GmbH
Firmensitz: 72072 Tuebingen
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede
Registergericht: Stuttgart HRB 380137

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/74fa5765/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 610 bytes
Desc: image001.png
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/74fa5765/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 13611 bytes
Desc: image002.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/74fa5765/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 15231 bytes
Desc: image003.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/74fa5765/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 2434 bytes
Desc: image004.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/74fa5765/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 2422 bytes
Desc: image005.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/74fa5765/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 2442 bytes
Desc: image006.jpg
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150312/74fa5765/attachment-0004.jpg>
```