Concrete branch ready for testing

About the development of the FEM module/workbench.

Moderator: bernd

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

Re: Concrete branch ready for testing

Post by bernd »

HarryvL wrote: Thu Apr 04, 2019 7:43 pm
bernd wrote: Thu Apr 04, 2019 7:12 pm there you have a normal material object and nog a reinfoced material object.
Yes, but I cannot do anything with that object. Do I still have to use Python to link material objects to the reinforced material object?
https://forum.freecadweb.org/viewtopic. ... 20#p297144
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Concrete branch ready for testing

Post by bernd »

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

Re: Concrete branch ready for testing

Post by HarryvL »

bernd wrote: Thu Apr 04, 2019 8:53 pm added the unit test ... https://github.com/berndhahnebach/FreeC ... 85dc1681f5
:D
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Concrete branch ready for testing

Post by bernd »

added a task panel and two materials, concrete-harry and reinforcement-harry. We need to replace them but for testing I found this useful :D

Would you give all this femconcrete another try? May be add material from scratch to one of your example file.
User avatar
HarryvL
Veteran
Posts: 1285
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: Concrete branch ready for testing

Post by HarryvL »

OK will do
User avatar
HarryvL
Veteran
Posts: 1285
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: Concrete branch ready for testing

Post by HarryvL »

git pull -X https://github.com/bernhahnebach/FreeCAD_bhb femconcrete

didn't work for me. I get

Code: Select all

fatal: 'femconcrete' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
I am sure I am doing something stupid again.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Concrete branch ready for testing

Post by Kunda1 »

HarryvL wrote: Tue Apr 09, 2019 5:23 am git pull -X https://github.com/berndhahnebach/FreeCAD_bhb femconcrete
berndhahnebach :lol:
https://github.com/berndhahnebach/FreeCAD_bhb
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
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Concrete branch ready for testing

Post by bernd »

harry did you sell the d of mine ... ? Hopefully you some good money for this :lol: :mrgreen:
User avatar
HarryvL
Veteran
Posts: 1285
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: Concrete branch ready for testing

Post by HarryvL »

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

Re: Concrete branch ready for testing

Post by HarryvL »

Hi Bernd, I did a quick test (file attached) and found the following:

1) It looks like you added back in a standard directory for CCX file saving. However when you change that to your own directory it doesn't stick. So next time you want to save you get sent back to the default.
2) Concrete friction angle is not set to a default value. If left blank then FC crashes upon post processing
3) There is no unit specified for friction angle, so it is unclear if you need to put it in degrees or radians. If only a value is added (say 30) then again post processing crashes with:

Code: Select all

 File "/home/harry/FC_Dev/Build/Mod/Fem/femresult/resulttools.py", line 381, in add_principal_stress_reinforced
    matrix_af = float(FreeCAD.Units.Quantity(obj.Material['AngleOfFriction']).getValueAs('rad'))
ValueError: Unit mismatch
4) Same issue as 2) above for yield strength of steel
5) If I manually correct the above (add friction angle 0.3 rad and yield strength 500 MPa) then I still get a crash in post processing:

Code: Select all

  File "/home/harry/FC_Dev/Build/Mod/Fem/femresult/resulttools.py", line 384, in add_principal_stress_reinforced
    reinforce_ratio = float(obj.Reinforcement['ReinforcementRatio'])
KeyError: 'ReinforcementRatio'
Frame2D_BHB.FCStd
(354.65 KiB) Downloaded 18 times
OS: Ubuntu 16.04.5 LTS (Unity/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16428 (Git)
Build type: Unknown
Branch: femconcrete
Hash: a82fe5a724640e64383038eba43066cc07b88dce
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)
Post Reply