[Gmsh] R: R: R: ellipsoid issue

Alessandro Vicini alessandro.vicini at sitael.com
Fri Sep 6 09:05:31 CEST 2019


Well, it works under Linux though (with no warning messages). I guess the problem might be different OCC versions used by Gmsh under different OS (I see version 7.3.0 under Linux, and 7.3.1 under Win).

A.



Da: Peter Johnston <p.johnston at griffith.edu.au>
Inviato: venerdì 6 settembre 2019 08:54
A: Jeremy Theler <jeremy at seamplex.com>; gmsh at geuz.org; Alessandro Vicini <alessandro.vicini at sitael.com>
Oggetto: Re: R: [Gmsh] R: ellipsoid issue

Thanks Alessandro,

I just ran mine again and I get the same behaviour as previously, with the same error messages.

I’m not sure what these means, but perhaps someone else can contribute?

Thanks again,

Peter.

---------------------------------------------------------------------

Associate Professor Peter Johnston (FAustMS, FIMA)
School of Environment and Science
Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19
T +61 7 373 57748| F +61 7 373 57656 Email p.johnston at griffith.edu.au<mailto:p.johnston at griffith.edu.au>
On 6 Sep 2019, 4:47 PM +1000, Alessandro Vicini <alessandro.vicini at sitael.com<mailto:alessandro.vicini at sitael.com>>, wrote:

Hello Peter,

in my case Gmsh just gets stuck when trying to read the geo file. No messages or whatsoever, I need to kill the program.
I just downloaded 4.4.1, but I get the same behavior.

A.


Da: Peter Johnston <p.johnston at griffith.edu.au<mailto:p.johnston at griffith.edu.au>>
Inviato: venerdì 6 settembre 2019 04:08
A: Jeremy Theler <jeremy at seamplex.com<mailto:jeremy at seamplex.com>>; Alessandro Vicini <alessandro.vicini at sitael.com<mailto:alessandro.vicini at sitael.com>>; gmsh at geuz.org<mailto:gmsh at geuz.org>
Oggetto: Re: [Gmsh] R: ellipsoid issue

Dear Jeremy and Alessandro,

Thanks for your input. Well, the simple ellipsoid problem seemed to work for me on my mac this morning. It guess it wouldn’t work yesterday after a long afternoon of frustration.

Anyway, I have a more complex example (see attached) that is causing some strange behaviour. When I run the script I get the following warning (see the first log file as well):


Warning : More than two degenerated edges in one model face of an OCC model

I am not sure what is causing this or how to get rid of it. Also, I am not sure if it is a problem or not. I can create the 1D mesh without any problem. However, when creating the 2D mesh, the following lines appear (see full log file for complete print out):


Info    : :-( There are 2 intersections in the 1D mesh (curves 4 12)

Info    : 8-| Splitting those edges and trying again

Info    : :-) All edges recovered after 1 iteration

I am not sure if this is a problem or not. Any thoughts? At this point, I have not completed the final geometry that I want and am concerned these warnings might lead to other problems further down the track.

Any advice would be welcome.

Thanks again,

Peter.

---------------------------------------------------------------------

Associate Professor Peter Johnston (FAustMS, FIMA)
School of Environment and Science
Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19
T +61 7 373 57748| F +61 7 373 57656 Email p.johnston at griffith.edu.au<mailto:p.johnston at griffith.edu.au>
On 5 Sep 2019, 11:38 PM +1000, Peter Johnston <p.johnston at griffith.edu.au<mailto:p.johnston at griffith.edu.au>>, wrote:
Strangely, it works under 4.4.1 on my linux machine. I'll check the mac version again tomorrow.

Thanks,

Peter.

Associate Professor Peter Johnston (FAustMS, FIMA)
School of Environment and Science
Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19
T +61 7 373 57748| F +61 7 373 57656 Email p.johnston at griffith.edu.au<mailto:c.l.brown at griffith.edu.au>
________________________________
From: Peter Johnston
Sent: Thursday, 5 September 2019 8:10 PM
To: Jeremy Theler <jeremy at seamplex.com<mailto:jeremy at seamplex.com>>; Alessandro Vicini <alessandro.vicini at sitael.com<mailto:alessandro.vicini at sitael.com>>; gmsh at geuz.org<mailto:gmsh at geuz.org> <gmsh at geuz.org<mailto:gmsh at geuz.org>>
Subject: Re: [Gmsh] R: ellipsoid issue

Thanks guys,

Yes it worked for me last week under 4.3.0. Today I downloaded 4.4.1 and it no longer works. I am using the Mac version.

Regards,

Peter.

Peter Johnston, Griffith University.
________________________________
From: Jeremy Theler <jeremy at seamplex.com<mailto:jeremy at seamplex.com>>
Sent: Thursday, September 5, 2019 8:02:01 PM
To: Alessandro Vicini <alessandro.vicini at sitael.com<mailto:alessandro.vicini at sitael.com>>; Peter Johnston <p.johnston at griffith.edu.au<mailto:p.johnston at griffith.edu.au>>; gmsh at geuz.org<mailto:gmsh at geuz.org> <gmsh at geuz.org<mailto:gmsh at geuz.org>>
Subject: Re: [Gmsh] R: ellipsoid issue

Indeed, see attached png.
I am using latest Git linked against OCE 7.3.0 in GNU/Linux.

On Thu, 2019-09-05 at 08:13 +0000, Alessandro Vicini wrote:

Hello Peter,



I’m using 4.4.0 (under windows), and your script seems to work for me…



A.



Da: gmsh <gmsh-bounces at ace20.montefiore.ulg.ac.be<mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be>> Per conto di Peter Johnston
Inviato: giovedì 5 settembre 2019 09:58
A: gmsh at geuz.org<mailto:gmsh at geuz.org>
Oggetto: [Gmsh] ellipsoid issue



Hello,



I am trying to create some ellipsoids in 3D and came across this solution:



SetFactory("OpenCASCADE");

Sphere(1) = {0, 0, 0, 0.5};

Dilate {{0, 0, 0}, {1.5, 1, 0.5}} { Volume{1}; }

Characteristic Length{:} = 0.1;

Mesh.Algorithm = 6;

This was posted on the webpage

http://onelab.info/pipermail/gmsh/2018/011986.html<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fonelab.info%2Fpipermail%2Fgmsh%2F2018%2F011986.html&e=9895bfa0&h=ea70f4cd&f=y&p=y>


,however, the example appears to be generating one-point curves and so the meshing is failing.

I am using gmsh 4.4.1. I would be grateful for any suggestions and/or advice. I used a similar script before and not had this issue.

Thanks very much,

Peter.



---------------------------------------------------------------------

Associate Professor Peter Johnston (FAustMS, FIMA)
School of Environment and Science
Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19
T +61 7 373 57748| F +61 7 373 57656 Email p.johnston at griffith.edu.au<mailto:p.johnston at griffith.edu.au>

_______________________________________________

gmsh mailing list

gmsh at onelab.info<mailto:gmsh at onelab.info>




http://onelab.info/mailman/listinfo/gmsh<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fonelab.info%2Fmailman%2Flistinfo%2Fgmsh&e=9895bfa0&h=91a6eddd&f=y&p=y>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190906/4ac428f1/attachment-0001.html>


More information about the gmsh mailing list