Gmsh Generation errors

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
ando600
Posts: 2
Joined: Tue Nov 15, 2022 3:56 am

Gmsh Generation errors

Post by ando600 »

I am new to Freecad, I have quite a bit of experience in Fusion360 and Inventor. So far I really like it, but I am having issues using the FEM workbench. I am on Ubuntu 22.04 LTS, and freecad 0.19.

I am having issues generating the mesh for the basic cube example on the FEM tutorial.
https://wiki.freecadweb.org/FEM_tutorial

Netgen does not show up as an option, that seemed to work better when I ran Freecad on my mac, but I tried ubuntu as I had calculix python errors.

When I use Gmesh on ubuntu, I get no errors, but the mesh looks messed up, seen in attached.

When I run the Calculix solver, I get error 201, nonpositive jacobian, which makes sense looking at the mesh generated.

Any help is appreciated.

Thanks,
Andrew
Attachments
2022-11-14_21-13.png
2022-11-14_21-13.png (29.24 KiB) Viewed 1182 times
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: Gmsh Generation errors

Post by chrisb »

Moved from Help forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
fandaL
Posts: 440
Joined: Thu Jul 24, 2014 8:29 am

Re: Gmsh Generation errors

Post by fandaL »

As a first step, I would update FreeCAD to 0.20.1, In the way you installed it, e.g. through the Ubuntu Software Center, or download the AppImage from https://www.freecadweb.org/downloads.php
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Re: Gmsh Generation errors

Post by user1234 »

ando600 wrote: Tue Nov 15, 2022 4:15 am I am on Ubuntu 22.04 LTS, and freecad 0.19.
Looks like a vtk FreeCAD incompatibility. If you post your FreeCAD info (see red banner on the top of the site), we know more.

Greetings
user1234
User avatar
NewJoker
Veteran
Posts: 3089
Joined: Sun Oct 11, 2020 7:49 pm

Re: Gmsh Generation errors

Post by NewJoker »

ando600 wrote: Tue Nov 15, 2022 4:15 am freecad 0.19
As far as the FEM module is considered, this version is really outdated. Try with 0.20.1 or (even better) 0.21 dev.
ando600
Posts: 2
Joined: Tue Nov 15, 2022 3:56 am

Re: Gmsh Generation errors

Post by ando600 »

Ok I will update Freecad and see if that works. I am not sure why the version is outdated, I just used apt install free cad.
Thanks for all the replies.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Gmsh Generation errors

Post by bernd »

FreeCAD development is much faster than Debian or Ubuntu development. A year in FreeCAd changes and fixes a lot ATM.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Gmsh Generation errors

Post by bernd »

ando600 wrote: Tue Nov 15, 2022 4:15 am ...
Netgen does not show up as an option, that seemed to work better when I ran Freecad on my mac, but I tried ubuntu as I had calculix python errors.
...
FreeCAD FEM should run on Mac without any problems if you are able to install ccx and GMSH on Mac.

I'd be really interested in them and like to fix them if it really was a FreeCAD problem.
Post Reply