material and fem: main material cards work with fem

Merged, abandoned or rejected pull requests are moved here to clear the main Pull Requests forum.
Post Reply
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

material and fem: main material cards work with fem

Post by bernd »

As Jürgen proposed here: viewtopic.php?f=18&t=7172&start=30#p70061
jriegel wrote:... That means also the Material DB. There we need to add a Unit to all constances...
Started to do that. Added units to the youngs modulus of main material cards and added generic wood material card.

branch
https://github.com/berndhahnebach/FreeC ... terialsfem

commit
https://github.com/berndhahnebach/FreeC ... bf06c47fc0


@Yorik
You added dozens of material cards 3 month ago. Where do they came from? They all have youngs modulus unit N/mm2 = MPa. FemWB will them track as kPa since the unit is not written behind the number at the card.
https://github.com/FreeCAD/FreeCAD_sf_m ... 85dc32194e
wmayer
Founder
Posts: 20309
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: material and fem: main material cards work with fem

Post by wmayer »

Merged.
User avatar
yorik
Founder
Posts: 13664
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: material and fem: main material cards work with fem

Post by yorik »

bernd wrote:@Yorik
You added dozens of material cards 3 month ago. Where do they came from? They all have youngs modulus unit N/mm2 = MPa. FemWB will them track as kPa since the unit is not written behind the number at the card.
A user made all these cards... Indeed we should add units to them. Maybe there is a way to do that automatically...
ulrich1a
Veteran
Posts: 1957
Joined: Sun Jul 07, 2013 12:08 pm

Re: material and fem: main material cards work with fem

Post by ulrich1a »

bernd wrote:You added dozens of material cards 3 month ago. Where do they came from?
They where posted here: viewtopic.php?f=8&t=8800#p72522
The user posted first a list with units.

Ulrich
User avatar
yorik
Founder
Posts: 13664
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: material and fem: main material cards work with fem

Post by yorik »

Doh... I guess the units were not supported at that time. Anyway, I just found a way to add the missing unit automatically.
mk2
Posts: 77
Joined: Wed Dec 10, 2014 4:27 pm

Re: material and fem: main material cards work with fem

Post by mk2 »

Hello,

is the Problem with the units solved? I have created all these cards, and i thought that FreeCAD works with mm, so i write these constances in N and mm.



Kind regards

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

Re: material and fem: main material cards work with fem

Post by bernd »

mk2 wrote:... is the Problem with the units solved? ...
Yes see Yoriks commit. https://github.com/FreeCAD/FreeCAD_sf_m ... ed5664f012

Thanks Yorik for fixing it that fast. Fem is making a little progress ...

mk2 wrote: i thought that FreeCAD works with mm, so i write these constances in N and mm.
Thanks for all the cards. Yes internally FreeCAD works with mm but since a unit system was implemented FreeCAD accepts lots of different units. units and all supported units: https://raw.githubusercontent.com/FreeC ... tyParser.l
Post Reply