Material Editor in FEM

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
HarryvL
Posts: 1042
Joined: Sat Jan 06, 2018 7:38 pm

Material Editor in FEM

Postby HarryvL » Mon Feb 04, 2019 10:13 pm

FC material editor stopped working for me. Any values changed in the FC material editor (invoked from FEM material object dialogue) are not transferred to the material object. This worked OK until recently.

Code: Select all

OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15780 (Git)
Build type: Unknown
Branch: master
Hash: f94e76c1116ec3b818961ff65131b3d86fa5b95e
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
User avatar
bernd
Posts: 8244
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Material Editor in FEM

Postby bernd » Tue Feb 05, 2019 5:51 am

FreeCAD rules, because bugs gets fixed before they even will be found git commit eba3b95 :mrgreen:
User avatar
HarryvL
Posts: 1042
Joined: Sat Jan 06, 2018 7:38 pm

Re: Material Editor in FEM

Postby HarryvL » Tue Feb 05, 2019 6:57 am

Marvelous :D
User avatar
HarryvL
Posts: 1042
Joined: Sat Jan 06, 2018 7:38 pm

Re: Material Editor in FEM

Postby HarryvL » Tue Feb 05, 2019 8:54 pm

Thanks again. I can confirm it works now for me.

PS did you know that input pressures lower than 1Pa are rounded down to 0 ?

If this is a bug then it may be low priority but worth a fix.

However, if this is intended (after all, its an extremely low pressure, right?) then I would say ... “it all depends”, because one day somebody may find an application for this. My suggestion here; https://forum.freecadweb.org/viewtopic.php?f=38&t=33814 also relates. I am all for maximum freedom and a minimum of (well intended) intervention or patronizing.
fandaL
Posts: 333
Joined: Thu Jul 24, 2014 8:29 am

Re: Material Editor in FEM

Postby fandaL » Wed Feb 06, 2019 9:39 am

HarryvL wrote:
Tue Feb 05, 2019 8:54 pm
PS did you know that input pressures lower than 1Pa are rounded down to 0 ?
btw
Similar situation is in case of elastic modulus when writing ccx input - decimals of MPa are rounded. (Checking e.g. structural foams this is still relatively ok for my potential usage.)
https://github.com/FreeCAD/FreeCAD/blob ... er.py#L604

I see it as a more general question, not only about pressure or modulus.
One way could be to warn a user when entering input properties which are bellow some precision. But it depends on how numbers are passed to the specific solver.
Or, numbers would be written as precisely as they are allowed to be entered.
User avatar
bernd
Posts: 8244
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Material Editor in FEM

Postby bernd » Wed Feb 06, 2019 10:28 am

good points guys. This will for sure be needed if someone trys to analyse such geometry https://forum.freecadweb.org/viewtopic. ... 30#p154209