fcFEM - FEA from start to finish

About the development of the FEM module/workbench.

Moderator: bernd

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

Re: fcFEM - FEA from start to finish

Post by HarryvL »

Kunda1 wrote: Mon Jun 20, 2022 11:59 am @HarryvL what version of pyside is necessary ?
Edit: https://github.com/FreeCAD/FreeCAD-snap/issues/27
Latest PySide2 is 5.15.2.1
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: fcFEM - FEA from start to finish

Post by Kunda1 »

HarryvL wrote: Mon Jun 20, 2022 12:41 pm Latest PySide2 is 5.15.2.1
Technically the latest (at the time of this post) PySide2 is 5.15.5 (repology)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
HarryvL
Veteran
Posts: 1283
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: fcFEM - FEA from start to finish

Post by HarryvL »

Kunda1 wrote: Mon Jun 20, 2022 12:46 pm
HarryvL wrote: Mon Jun 20, 2022 12:41 pm Latest PySide2 is 5.15.2.1
Technically the latest (at the time of this post) PySide2 is 5.15.5 (repology)
Even better ;)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: fcFEM - FEA from start to finish

Post by Kunda1 »

The current Snap edge is:

Code: Select all

FreeCAD 0.20 Revision: 29182 +1 (Git)

Library versions:
boost    1_71
Coin3D   4.0.0
Eigen3   3.3.7
OCC      7.6.2
Qt       5.15.3
Python   3.8.10
PySide   5.14.0
shiboken 5.14.0
VTK      7.1.1
xerces-c 3.2.2
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: fcFEM - FEA from start to finish

Post by Kunda1 »

numba added to Snap, https://github.com/FreeCAD/FreeCAD-snap ... c994968ef4
Should be available in the next 'edge' version in a few hours.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
HarryvL
Veteran
Posts: 1283
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: fcFEM - FEA from start to finish

Post by HarryvL »

Thanks @Kunda1.

I am testing this snap.

First issue I encounter ... upon using GMSH to generate a mesh, I get:

Code: Select all

Error : Gmsh requires OpenCASCADE to import shape 
and no mesh is generated.

Second one ... upon import numba I get:

Code: Select all

/snap/freecad/78/usr/lib/python3/dist-packages/numba/npyufunc/parallel.py:300: UserWarning: Could not obtain multiprocessing lock due to OS level error: [Errno 13] Permission denied
A likely cause of this problem is '/dev/shm' is missing orread-only such that necessary semaphores cannot be written.
*** The responsibility of ensuring multiprocessing safe access to this initialization sequence/module import is deferred to the user! ***

  warnings.warn(msg % str(e))
User avatar
ppd
Posts: 108
Joined: Tue Feb 26, 2019 12:01 pm
Location: Munich, Germany

Re: fcFEM - FEA from start to finish

Post by ppd »

HarryvL wrote: Tue Jun 21, 2022 8:00 am Error : Gmsh requires OpenCASCADE to import shape
That should be fixed soon: https://github.com/FreeCAD/freecad-deps ... 8d063248bd
HarryvL wrote: Tue Jun 21, 2022 8:00 am A likely cause of this problem is '/dev/shm' is missing orread-only such that necessary semaphores cannot be written.
Apps in snaps may only freely access files prefixed "snap.<snap-name>.". If there's a way to configure numba's SHM paths, it would silence this warning. If that's not possible, some magic is required: https://github.com/sergiusens/snapcraft-preload
Try FreeCAD from the Snap Store: Stable releases (in latest/stable) & daily builds (in latest/edge). Supports installing additional python packages via pip!
Image
User avatar
ppd
Posts: 108
Joined: Tue Feb 26, 2019 12:01 pm
Location: Munich, Germany

Re: fcFEM - FEA from start to finish

Post by ppd »

The Gmsh missing the OCC features bug has been fixed. A second fix to prefill the file chooser with a snap-specific path has also been merged and will appear in edge tomorrow. For now, selecting /snap/freecad/current/usr/bin/gmsh as the path to Gmsh works.
Try FreeCAD from the Snap Store: Stable releases (in latest/stable) & daily builds (in latest/edge). Supports installing additional python packages via pip!
Image
User avatar
HarryvL
Veteran
Posts: 1283
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: fcFEM - FEA from start to finish

Post by HarryvL »

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

Re: fcFEM - FEA from start to finish

Post by HarryvL »

ppd wrote: Tue Jun 21, 2022 1:40 pm The Gmsh missing the OCC features bug has been fixed. A second fix to prefill the file chooser with a snap-specific path has also been merged and will appear in edge tomorrow. For now, selecting /snap/freecad/current/usr/bin/gmsh as the path to Gmsh works.
Fantastic, GMSH works again
Post Reply