[Gmsh] problem with gmsh to Freefem mesh?

Julien Derr julien.derr at gmail.com
Wed May 6 14:53:58 CEST 2015


Hi Georgie,

here is a minimum example: if you run the script.sh you would get the error,

thanks a lot!

Julien


On Wed, May 6, 2015 at 2:19 AM, Geordie McBain <gdmcbain at freeshell.org>
wrote:

> 2015-05-06 2:20 GMT+10:00 Julien Derr <julien.derr at gmail.com>:
> > Hi again, I am back again with the same error message!
> >
> > but this time I checked that I didn't have twice the same points. He re
> is
> > the problem:
> >
> >  What happen is that I have 3 points perfectly aligned, and it seems
> gmsh is
> > making a flat triangle with them.
>
> Hello.  I wouldn't have thought that collinearity would present a
> problem, necessarily, depending on how the points are used to define
> surfaces.  I wasn't sure that I'd come across this before so created a
> simple degenerate quadrilateral, as attached; Gmsh & FreeFem++ seemed
> happy enough.
>   Or do you mean that the three points are coincident rather than
> merely collinear?
>   Do you have an exemplary .geo file that you could share?
>
> I agree that having to reduce the characteristic length to avoid the
> problem would be inconvenient and undesirable, but I'm hopeful that
> there's another way.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150506/6d4ff0ce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script.sh
Type: application/x-sh
Size: 165 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150506/6d4ff0ce/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3to2.awk
Type: application/x-awk
Size: 969 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150506/6d4ff0ce/attachment.awk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh.geo
Type: application/octet-stream
Size: 195891 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150506/6d4ff0ce/attachment.geo>