No mesh

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
HarryvL
Veteran
Posts: 1338
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

No mesh

Post by HarryvL »

After having used FC successfully for a few months, yesterday I hit a really basic problem with FEM WB, i.e. Mesh > "FEM Mesh from shape by GMSH" runs and completes without warnings, but doesn't produce a mesh.

I have updated to the latest PPA, without improvement:

OS: Ubuntu 16.04.4 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13674 (Git)
Build type: None
Branch: master
Hash: 32f089f28408479ce65a22a753bb815ffe3d45ed
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)

I am sure I am doing something really stupid :oops: , but can't figure out what, so some help would be appreciated.

File attached
No_Mesh.fcstd
(6.21 KiB) Downloaded 63 times
thschrader
Veteran
Posts: 3158
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: No mesh

Post by thschrader »

Hi Harry,
sorry, but on my Win10 System all meshers run fine. I tested
FEM: gmsh, netgen, meshrefinement
and
cfd: gmsh, cfmesh, snappyhexmesh.
But: when doing FEM, my last step is to mesh the body.
Done with
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13671 (Git)
Build type: Release
Branch: master
Hash: c36026358222da48a1a8ab3eec87a4a4a5166b7e
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
meshes.JPG
meshes.JPG (152.66 KiB) Viewed 2738 times
User avatar
HarryvL
Veteran
Posts: 1338
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: No mesh

Post by HarryvL »

Hi Thomas. I never had a problem before but last night after returning from a trip I couldn't get to Mesh anything anymore. No errors but also no mesh. I therefore upgraded FC, but still no luck. Even the mixed mesh version of FC that I used for the bridge project doesn't mesh anymore. I guess something to do with my GMSH installation?!
thschrader
Veteran
Posts: 3158
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: No mesh

Post by thschrader »

HarryvL wrote: Mon May 14, 2018 4:40 pm I guess something to do with my GMSH installation?!
Difficult to say for me. I never worked with Ubuntu. As a standard, I use the
ccx/gmsh from ..freecad/bin folder in windows. No problem.
Thomas
User avatar
HarryvL
Veteran
Posts: 1338
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: No mesh

Post by HarryvL »

Anybody know how I can achieve a clean installation on Ubuntu 16:04?
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: No mesh

Post by bernd »

harry, would you post the output of your report window?

Does Gmsh runs without FreeCAD?
- open the geo file created by FreeCAD
- copy the bash command
- run the bash command in a shell
- use FreeCAD to import the unv created by Gmsh.


Bernd
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: No mesh

Post by bernd »

BTW:
you do not need an analysis to mesh a shape! See screen.


harry your file meshes fine here on:

OS: Debian GNU/Linux 9.4 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13707 (Git)
Build type: Debug
Branch: master
Hash: 4cb93bf6690ce84a121c2e3a47cefc498fd12013
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Locale: German/Switzerland (de_CH)


Screenshot_20180515_071712.png
Screenshot_20180515_071712.png (94.42 KiB) Viewed 2673 times
User avatar
HarryvL
Veteran
Posts: 1338
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: No mesh

Post by HarryvL »

Thanks Bernd. I will give it a try. I have 3 versions of FC installed now (Daily, v17 and your branch for miclxed mesh). They all fail to mesh. Do they all use the same GMSH? Not sure how to get to the Daily GMSH version.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: No mesh

Post by bernd »

HarryvL wrote: Tue May 15, 2018 5:59 am Thanks Bernd. I will give it a try. I have 3 versions of FC installed now (Daily, v17 and your branch for miclxed mesh). They all fail to mesh. Do they all use the same GMSH?
yes
HarryvL wrote: Tue May 15, 2018 5:59 am Not sure how to get to the Daily GMSH version.
ATM I'm on a windwos machine, but this should be:

Code: Select all

gmsh --version
in a shell, or you just start gmsh gui of your ubuntu und got to about or help or whatever the verion info is printed in gmsh gui.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: No mesh

Post by sgrogan »

HarryvL wrote: Tue May 15, 2018 5:59 am I will give it a try. I have 3 versions of FC installed now (Daily, v17 and your branch for miclxed mesh). They all fail to mesh. Do they all use the same GMSH? Not sure how to get to the Daily GMSH version.
GMSH is independent from any FreeCAD version, we don't list it as dependency of the PPA's. So whatever gmsh you have on your system from your package manager should be the same for all FreeCAd versions.
"fight the good fight"
Post Reply