[Solved]FreeCAD chrases when generating mesh

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
olividir
Posts: 33
Joined: Sat Oct 30, 2021 9:24 pm

[Solved]FreeCAD chrases when generating mesh

Post by olividir »

Hello all

I am having very unusual problem, which might be my fault and maybe not.
To make long story short, I was first on FreeCAD-git weekly build, but had some problems configuring a truss. Because of that I uninstalled version 0.2 and installed 0.19. Strut manipulation worked fine there, but when I tried to mesh it (which I have done some months ago and it worked), the program would hang and then crash. I then went back to version 0.2 by uninstalling 0.19 first.

Now the program just chrashes instantly when I try to mesh anything. Even very simple objects.
I am wondering if any of the build files or gmsh files got corrupted in my transactions.

I did look at the few mesh problems in FEM section like
https://forum.freecadweb.org/viewtopic.php?f=18&t=62566
https://forum.freecadweb.org/viewtopic.php?f=18&t=28513
But didn't get anything from them.
I haven't tried uninstalling and reinstalling gmsh
File is in attachment
Here is a short video of the behavior https://photos.app.goo.gl/3fEuvy2YfqfqpHBh9

FreeCAD version
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.26468 (Git)
Build type: Release
Branch: master
Hash: 1da079b34bce86db7ca79f4c365c35eea25bef20
Python version: 3.9.7
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: Icelandic/Iceland (is_IS)
Attachments
problems.FCStd
(12.37 KiB) Downloaded 32 times
Last edited by olividir on Tue Nov 23, 2021 10:51 pm, edited 1 time in total.
olividir
Posts: 33
Joined: Sat Oct 30, 2021 9:24 pm

Re: FreeCAD chrases when generating mesh

Post by olividir »

I have tried reinstalling GMSH, but the problem remains..... To be honest, I have no idea where to start to tackle this issue.
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: FreeCAD chrases when generating mesh

Post by user1234 »

Which VTK version have you installed? There is a bug, that VTK9 does not work at the moment.

Greetings
user1234
olividir
Posts: 33
Joined: Sat Oct 30, 2021 9:24 pm

Re: FreeCAD chrases when generating mesh

Post by olividir »

I honestly don't know which version I have. Terminal does not recognise VTK, so I am not sure if I have it installed.
olividir
Posts: 33
Joined: Sat Oct 30, 2021 9:24 pm

Re: FreeCAD chrases when generating mesh

Post by olividir »

user1234 wrote: Tue Nov 23, 2021 8:35 pm Which VTK version have you installed? There is a bug, that VTK9 does not work at the moment.

Greetings
user1234
I found it, I am running VTK version 9.1.0-2, so I guess that could be the culprit.
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: FreeCAD chrases when generating mesh

Post by user1234 »

Yes. Have you compiled it yourself? It still works with VTK7, if you have that in your repositories on your OS.

Greetings
user1234
olividir
Posts: 33
Joined: Sat Oct 30, 2021 9:24 pm

Re: FreeCAD chrases when generating mesh

Post by olividir »

Thank you for that info. I will see what I can do, but at a short look I am not able to track back to an older version. Will look into it.
Post Reply