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 »

22 changed files with 3,342 additions and 8 deletions ?!?!?

No thank you.
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 »

I worked on plastic interfaces and will now move on to get the code ready again for sharing, including examples.


STACKED SLIDER WITH PLASTIC INTERFACES:

Screenshot from 2022-07-31 18-41-35.png
Screenshot from 2022-07-31 18-41-35.png (16.43 KiB) Viewed 1668 times
.xdp_Sliding 001.png
.xdp_Sliding 001.png (19.59 KiB) Viewed 1668 times

STACKED BEAMS WITH PLASTIC INTERFACE:

Screenshot from 2022-07-31 18-32-15.png
Screenshot from 2022-07-31 18-32-15.png (52.8 KiB) Viewed 1668 times
.xdp_Stacked Beam 001.png
.xdp_Stacked Beam 001.png (24.27 KiB) Viewed 1668 times
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: fcFEM - FEA from start to finish

Post by bernd »

HarryvL wrote: Fri Jul 22, 2022 8:10 am 22 changed files with 3,342 additions and 8 deletions ?!?!?

No thank you.
have you really read the commit? There where added two examples ... The huge additions is because the mesh nodes and elements are added in Python, but the Python mesh can be exported from FreeCAD.
Each example needs two files, the example and the mesh, cmake needs to know the new files. If a unit test is implemented another compare file and the test is needed.

Just read the commit mostly is copy paste ...

Can not wait to get my hands on this to give it a try ...
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: fcFEM - FEA from start to finish

Post by bernd »

AHH even more than two examples are added ... All the cantilever examples are added in the commit.

May be it was not a good example commit ...
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: fcFEM - FEA from start to finish

Post by bernd »

How about this, to show how to add a example ... Not yet in master ... https://github.com/berndhahnebach/FreeC ... c1a45fda97
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: fcFEM - FEA from start to finish

Post by HoWil »

HarryvL wrote: Thu Feb 07, 2019 5:12 pmYup
Really cool.
Do you already have any information regarding performance compared to ccx or Elmer? E.g. testing the example from start page and look at the time for solving the model.
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 »

HoWil wrote: Mon Aug 01, 2022 12:09 pm
HarryvL wrote: Thu Feb 07, 2019 5:12 pmYup
Do you already have any information regarding performance compared to ccx or Elmer?
Difficult to compare. fcFEM is focused on collapse loads. It is an incremental-iterative solver. Every dot in the load-displacement graph is comprised of up to 80 finite element solutions.

What I can say (with some pride) is that fcFEM is very stable in that it automatically scales load steps depending on the non-linearity experienced. If not, it would be impossible to manually control those calculations.

Also, I managed to improve speed by a factor 100 using Numba. However, this does come at the expense of giving up on some Python elegance. For example, Numba does not like dictionaries.
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 »

bernd wrote: Sun Jul 31, 2022 10:32 pm How about this, to show how to add a example ... Not yet in master ... https://github.com/berndhahnebach/FreeC ... c1a45fda97
Thanks. I will give it a try.
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 »

The fcFEM update is now available here:

https://github.com/HarryvL/fcFEM-basic

This is now the stepping stone for further development.

The installation instructions are in the README file.

The example files are included in the repository and easy to run, but will (in due course) also be available in Python code format.
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: fcFEM - FEA from start to finish

Post by -alex- »

Great news :D
Thanks for the job done recentely. Go on! :)
Post Reply