[SOLVED] GMSH error

About the development of the FEM module/workbench.

Moderator: bernd

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

[SOLVED] GMSH error

Post by HarryvL »

I am getting the following error with GMSH, resulting in no mesh:

Code: Select all

10:52:24  Active analysis found: Analysis
10:52:24    ElementDimension: 3
10:52:24    No Group meshing for analysis.
10:52:24    /tmp/fcfem_570b24oo/Box_Geometry.brep
10:52:24    /tmp/fcfem_570b24oo/Box_Mesh.unv
10:52:24    /tmp/fcfem_570b24oo/shape2mesh.geo
10:52:24    gmsh
10:52:24  Unexpected error when creating mesh: File to load not existing or not readable: /tmp/fcfem_570b24oo/Box_Mesh.unv
10:52:24  Gmsh had warnings ...
10:52:24  File to load not existing or not readable: /tmp/fcfem_570b24oo/Box_Mesh.unv

Code: Select all

OS: Ubuntu 20.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.30342 (Git)
Build type: Unknown
Branch: master
Hash: f28000c77a8526ba2260f947075e81399e26d46a
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.3.0
Locale: English/United States (en_US)
Installed mods: 
  * main.py
Last edited by HarryvL on Sun Sep 11, 2022 10:35 am, edited 1 time in total.
user1234
Veteran
Posts: 3319
Joined: Mon Jul 11, 2016 5:08 pm

Re: GMSH error

Post by user1234 »

HarryvL wrote: Sat Sep 10, 2022 9:04 am resulting in no mesh
No mesh or a invalid cluttered mesh?

There were issues with VTK9.x and the mesh import of gmsh. There are solved, but maybe now it does not work with VTK7.x anymore. But your error message looks different.

What gmsh version are you using? Are you using the from the repository or the precompiled bin of the gmsh for linux https://gmsh.info/bin/ (works for me great). Generally i would update to VTK9.x. I did not check that, but it should be in the repository (on Debian 11 it is in the repository).


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

Re: GMSH error

Post by HarryvL »

No mesh at all. I have version 4.4.1 installed via synaptic package manager. This never gave any problems and still works with older FC versions. However, not anymore for me with the latest development branch.
User avatar
HarryvL
Veteran
Posts: 1283
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: GMSH error

Post by HarryvL »

I upgraded to the latest stable version just now (4.10.5) and my problem disappeared :)
Post Reply