self weight

About the development of the FEM module/workbench.
User avatar
PrzemoF
Posts: 1706
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: self weight

Postby PrzemoF » Thu Jul 21, 2016 11:42 am

Looks like the pull request is being built: https://travis-ci.org/FreeCAD/FreeCAD/builds/146352689

Also shows up in github (checks section): https://github.com/FreeCAD/FreeCAD/pull/225
User avatar
bernd
Posts: 3856
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: self weight

Postby bernd » Thu Jul 21, 2016 11:42 am

User avatar
PrzemoF
Posts: 1706
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: self weight

Postby PrzemoF » Thu Jul 21, 2016 12:00 pm

travis failed, but my local build is OK
User avatar
bernd
Posts: 3856
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: self weight

Postby bernd » Thu Jul 21, 2016 12:10 pm

Tech Draw fails ... ?!

Might be because of this commit https://github.com/berndhahnebach/FreeC ... eb04c6a48a ?!?

On my local machine it builts like a sharm too.
User avatar
PrzemoF
Posts: 1706
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: self weight

Postby PrzemoF » Thu Jul 21, 2016 12:42 pm

Could be that one. I saw an error related to VTK in the build log.
ickby
Posts: 2414
Joined: Wed Oct 05, 2011 7:36 am

Re: self weight

Postby ickby » Thu Jul 21, 2016 12:55 pm

Bernhard, I think your commit is problematic because VTK is required not only for postprocessing (what the BUILD_FEM_VTK check is for) but also for the SMESH. This is the reason we moved the VTK file include out of the check in the first place. So if someone don't want to build the postprocessing he can't build FEM at all anymore after your change as SMESH won't compile and link correctly.
User avatar
bernd
Posts: 3856
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: self weight

Postby bernd » Thu Jul 21, 2016 1:01 pm

ickby wrote:Bernhard, I think your commit is problematic because VTK is required not only for postprocessing (what the BUILD_FEM_VTK check is for) but also for the SMESH. This is the reason we moved the VTK file include out of the check in the first place. So if someone don't want to build the postprocessing he can't build FEM at all anymore after your change as SMESH won't compile and link correctly.

I removed the commit. https://github.com/FreeCAD/FreeCAD/pull/225 Travis runs smooth now !
fandaL
Posts: 216
Joined: Thu Jul 24, 2014 8:29 am

Re: self weight

Postby fandaL » Fri Mar 17, 2017 11:30 pm

I have filled wiki page https://www.freecadweb.org/wiki/Fem_Con ... SelfWeight
so if someone has any sugestions, he :-D can edit it or make a note here.

After you create ConstraintSelfWeight object you can modify direction of gravity. For the first view on property toolbar I was not sure if X Y Z means whole acceleration or only direction. Is it possible to make it clear by e.g. changing title in the property toolbar from "Gravity" to "Gravity direction" or something like that?
renatorivo
Posts: 1077
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: self weight

Postby renatorivo » Sat Mar 18, 2017 6:58 am

fandaL wrote:I have filled wiki page https://www.freecadweb.org/wiki/Fem_Con ... SelfWeight
so if someone has any sugestions, he :-D can edit it or make a note here.

Thank you.
Edited https://www.freecadweb.org/wiki/FEM_Con ... SelfWeight.
See https://forum.freecadweb.org/viewtopic.php?f=21&t=19107

Renato
User avatar
bernd
Posts: 3856
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: self weight

Postby bernd » Sun Mar 19, 2017 8:55 pm

added scripting and made it a bit more solver depended ... FEM_ConstraintSelfWeight

@renato:
I may totally destroyed the translation tags :oops: