GSoC2020, FEM: extend examples

About the development of the FEM module/workbench.

Moderator: bernd

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

Re: GSoC2020, FEM: extend examples

Post by bernd »

Sudhanshu wrote: Wed Jul 29, 2020 9:21 am
bernd wrote: Mon Jul 27, 2020 8:42 am
Sudhanshu wrote: Sun Jul 26, 2020 10:41 pm In which regard, only the warning with ConstantVaccumPermittivity is left.
If the results are fine than go for the tests (it would mean the obj is not ignered). I will have a look at these warning.
Tests for elmer examples, including thermomech bimetall: https://github.com/Sudhanshu-Dubey14/Fr ... d7fcc617c2
They are all in standard FreeCAD units. Should I also make in SI units?
And they all pass on my system.
Did you double check the results with calculix and the calculation from the paper in the bimetall topic.
User avatar
Sudhanshu
Posts: 357
Joined: Mon Oct 15, 2018 5:22 am

Re: GSoC2020, FEM: extend examples

Post by Sudhanshu »

bernd wrote: Wed Jul 29, 2020 10:46 am
Sudhanshu wrote: Wed Jul 29, 2020 9:21 am
Tests for elmer examples, including thermomech bimetall: https://github.com/Sudhanshu-Dubey14/Fr ... d7fcc617c2
They are all in standard FreeCAD units. Should I also make in SI units?
And they all pass on my system.
Did you double check the results with calculix and the calculation from the paper in the bimetall topic.
The displacements results are as follow:

Magnitude:
calculix: min= 0, max= 7.15
elmer: min= 0, max= 7.23
uz_max (manual): 7.05

X:
calculix: min= -0.034 , max= 0.25
elmer: min= -0.035, max= 0.25

Y:
calculix: min= -0.006, max= 0.006
elmer: min= -0.006, max= 0.006

Z:
calculix: min= -0.001, max= 7.15
elmer: min= 0, max= 7.29

All in FreeCAD standard units
So yeah, the results are all pretty close.
The temperature shown by elmer is 373K and I think I did saw 100 deg C in the manual calculation, though I am not sure if that was a given value or a result.

Anyway, the displacement results match approximately so it should be good to go.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: GSoC2020, FEM: extend examples

Post by bernd »

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

Re: GSoC2020, FEM: extend examples

Post by bernd »

BTW: There is a side work you could help with, if either HoWil or me are to slow in control the examples. https://forum.freecadweb.org/viewtopic. ... 10#p418922

since we had to change the mesh type of all examples to gmsh mesh to be able to remesh all examples and with the new elmer examples we started to really improve the elmer solver, this is even related to GSoC somehow. Means it could even be mentioned there as part of your work.
User avatar
Sudhanshu
Posts: 357
Joined: Mon Oct 15, 2018 5:22 am

Re: GSoC2020, FEM: extend examples

Post by Sudhanshu »

bernd wrote: Thu Jul 30, 2020 6:25 am BTW: There is a side work you could help with, if either HoWil or me are to slow in control the examples. https://forum.freecadweb.org/viewtopic. ... 10#p418922

since we had to change the mesh type of all examples to gmsh mesh to be able to remesh all examples and with the new elmer examples we started to really improve the elmer solver, this is even related to GSoC somehow. Means it could even be mentioned there as part of your work.
Sure!
By the way its 30th already, so just a reminder to finish the evaluation if you haven't done it already.
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: GSoC2020, FEM: extend examples

Post by HoWil »

Sudhanshu wrote: Tue Jul 28, 2020 8:33 pm
HoWil wrote: Mon Jul 27, 2020 5:30 am Please do not forget to finish the second evaluation. It is open from today till the 31st of July!
Done with my part.
bernd wrote: Mon Jul 27, 2020 3:36 pm ping
Will you do the evaluation also this time?
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: GSoC2020, FEM: extend examples

Post by bernd »

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

Re: GSoC2020, FEM: extend examples

Post by bernd »

Sudhanshu wrote: Sun Jul 26, 2020 10:41 pm In which regard, only the warning with ConstantVaccumPermittivity is left.
I do not get this warning for the two balls example on



OS: Debian GNU/Linux 10 (buster) (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22184 (Git)
Build type: Unknown
Branch: femtmp
Hash: 94ca4388e499407d67aea50530c21029ac569b90
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: GSoC2020, FEM: extend examples

Post by 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 31, 2020 6:24 am
Sudhanshu wrote: Sun Jul 26, 2020 10:41 pm In which regard, only the warning with ConstantVaccumPermittivity is left.
I do not get this warning for the two balls example on



OS: Debian GNU/Linux 10 (buster) (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22184 (Git)
Build type: Unknown
Branch: femtmp
Hash: 94ca4388e499407d67aea50530c21029ac569b90
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)
Are you directly running the example, or setting it up and then solving it.
Cause the warning comes when you write the input file using GUI after setting up the example.

I am still getting the warning.

OS: Arch Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22184 +5 (Git)
Build type: Release
Branch: femexamples
Hash: 3f422f27a0b2067a0cd6a6754a9fa48e5fa926a4
Python version: 3.8.3
Qt version: 5.15.0
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/India (en_IN)

bernd wrote: Fri Jul 31, 2020 7:11 am BTW: git commit 55445f1af1f and git commit 3600ccae8d3b
Noted.
Post Reply