GSoC2020, FEM: extend examples

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
Sudhanshu
Posts: 357
Joined: Mon Oct 15, 2018 5:22 am

Re: GSoC2020, FEM: extend examples

Post by Sudhanshu »

bernd wrote: Fri Jul 09, 2021 11:22 am torque example merged into master: https://github.com/FreeCAD/FreeCAD/comp ... 388722a70d
Great!!

By the way, is there more stuff related to this project or other things in FEM Workbench that I can work on?
I won't do it immediately as I am currently busy elsewhere, but after August I should be able to start contributing again.

Regards
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: GSoC2020, FEM: extend examples

Post by bernd »

beam hinged unit test merged into master git commit 65f84827e55a

Sudhanshu wrote: Fri Jul 09, 2021 1:01 pm
bernd wrote: Fri Jul 09, 2021 11:22 am torque example merged into master: https://github.com/FreeCAD/FreeCAD/comp ... 388722a70d
By the way, is there more stuff related to this project or other things in FEM Workbench that I can work on?
I won't do it immediately as I am currently busy elsewhere, but after August I should be able to start contributing again.
sure ... do you remember ... During your GSOC we had a discussion about menue structure in FEM. AFAIK you did implement something in this regard and this was never merged either. Do you have a link to this development or the the forum discussion.

cheers bernd
User avatar
Sudhanshu
Posts: 357
Joined: Mon Oct 15, 2018 5:22 am

Re: GSoC2020, FEM: extend examples

Post by Sudhanshu »

bernd wrote: Fri Jul 09, 2021 3:48 pm beam hinged unit test merged into master git commit 65f84827e55a

Sudhanshu wrote: Fri Jul 09, 2021 1:01 pm By the way, is there more stuff related to this project or other things in FEM Workbench that I can work on?
I won't do it immediately as I am currently busy elsewhere, but after August I should be able to start contributing again.
sure ... do you remember ... During your GSOC we had a discussion about menue structure in FEM. AFAIK you did implement something in this regard and this was never merged either. Do you have a link to this development or the the forum discussion.
This is the last post in that thread, the part where we got stuck: https://forum.freecadweb.org/viewtopic. ... 30#p424338
This is the branch on which I was doing that work: https://github.com/Sudhanshu-Dubey14/Fr ... _drop_down
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: GSoC2020, FEM: extend examples

Post by uwestoehr »

HoWil wrote: Fri Aug 07, 2020 8:33 pm Here the model for Tutorial1 for the body heat source
Hello HoWil, I am currently checking if the Elmer support is still OK and took as start this file.

Sadly, it does not work anymore:
- the value for the BodyHeatSource is zero in your file
- when I set it to 0.01 as they do in the Elmer tutorial, I get as result 293 K for the whole body

Do you have an idea why could be the reason?
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: GSoC2020, FEM: extend examples

Post by bernd »

Would you post a link to the post?
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: GSoC2020, FEM: extend examples

Post by HoWil »

bernd wrote: Sun Jul 31, 2022 8:44 am Would you post a link to the post?
The link is embeded into the arrow next to "HoWil wrote:"
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: GSoC2020, FEM: extend examples

Post by HoWil »

uwestoehr wrote: Tue Jul 26, 2022 2:05 am
HoWil wrote: Fri Aug 07, 2020 8:33 pm Here the model for Tutorial1 for the body heat source
Hello HoWil, I am currently checking if the Elmer support is still OK and took as start this file.

Sadly, it does not work anymore:
- the value for the BodyHeatSource is zero in your file
does not have this problem.

uwestoehr wrote: Tue Jul 26, 2022 2:05 am - when I set it to 0.01 as they do in the Elmer tutorial, I get as result 293 K for the whole body

Do you have an idea why could be the reason?
Works as expected. See below...
According to the documentation http://www.nic.funet.fi/pub/sci/physics ... orials.pdf page 8: "The maximum temperature should be about 586.5 K. "
Screenshot from 2022-07-31 14-54-34.png
Screenshot from 2022-07-31 14-54-34.png (207.82 KiB) Viewed 1047 times
Screenshot from 2022-07-31 14-55-00.png
Screenshot from 2022-07-31 14-55-00.png (425.01 KiB) Viewed 1047 times
I used:
OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 2022.725.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 2022.07.25-edge)
Hash: d3895564b96aa0c2ed57bcd10034535f1043a396
Python version: 3.8.10
Qt version: 5.15.3
Coin version: 4.0.1
OCC version: 7.6.2
Locale: English/United States (en_US)

BTW: I had some difficulties with the below listed FC-Stable via Flatpak it does not find ElmerGrid even when i manually add the path /usr/bin/

Code: Select all

OS: KDE Flatpak runtime (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.9, Qt 5.15.5, Coin 4.0.0, Vtk 8.2.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * Assembly3 0.11.3
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: GSoC2020, FEM: extend examples

Post by HoWil »

also works on stable via snap
EDIT: Maybe this is now irrelevant but the unit system is set to 'mm/kg/s/degree'.

Code: Select all

OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) Snap 161
Build type: Release
Branch: tag: 0.20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.2
Locale: English/United States (en_US)
Attachments
Screenshot from 2022-07-31 15-32-08.png
Screenshot from 2022-07-31 15-32-08.png (455.29 KiB) Viewed 1038 times
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: GSoC2020, FEM: extend examples

Post by uwestoehr »

HoWil wrote: Sun Jul 31, 2022 1:16 pm Works as expected. See below..
Thanks. Can you please attach here the file you used for this?
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: GSoC2020, FEM: extend examples

Post by uwestoehr »

Here is your file saved with FC master (no change made):
Turorial1.FCStd
(68.45 KiB) Downloaded 23 times
When I run this, I get this result:
FreeCAD_cAj20ZAs09.png
FreeCAD_cAj20ZAs09.png (128.64 KiB) Viewed 989 times
You can see the coloring has issues because all values are the same (293K).

Therefore getting your file would be helpful for me.
Post Reply