self weight

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
nemesis
Posts: 373
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: self weight

Post by nemesis »

Hi
is this still true?
Limitations:
•You need to modify .inp file to edit gravity acceleration.
Last edited by nemesis on Thu Mar 30, 2017 7:46 pm, edited 2 times in total.
fandaL
Posts: 440
Joined: Thu Jul 24, 2014 8:29 am

Re: self weight

Post by fandaL »

Yes.
I planned to look at it together with exploring fc gui, since it seems easy to add, but it didn't achieve to my real todo list.
User avatar
nemesis
Posts: 373
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: self weight

Post by nemesis »

fandaL wrote:Yes.
I planned to look at it together with exploring fc gui, since it seems easy to add, but it didn't achieve to my real todo list.
But with this simple File:
SelfWeightTest.FCStd
(973.05 KiB) Downloaded 19 times
I have this in the Inp File :

Code: Select all

** Self weight Constraint
** written by write_constraints_selfweight function
** ConstraintSelfWeight
*DLOAD
Eall,GRAV,9810,0.0,0.0,-1.0
and that's what's written in the wiki.... so.... it looks like it's Ok or I miss something?

Code: Select all

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10661 (Git)
Build type: Release
Branch: (detached from 3b6020c)
Hash: 3b6020cda8fb91b3de33cf812975f1bd2f29cac1
Python version: 2.7.13
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.1.0
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: self weight

Post by sgrogan »

nemesis wrote:and that's what's written in the wiki.... so.... it looks like it's Ok or I miss something?
The point is that the gravity 9810 mm/sec (ie 1 G on earth) is not available in the gui. The constraint is really more general than just gravity, and can be treated as a general acceleration. The direction vector is available in the property editor but the acceleration value must edited in the .imp file.
"fight the good fight"
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: self weight

Post by bernd »

sgrogan wrote:
nemesis wrote:and that's what's written in the wiki.... so.... it looks like it's Ok or I miss something?
The point is that the gravity 9810 mm/sec (ie 1 G on earth) is not available in the gui. The constraint is really more general than just gravity, and can be treated as a general acceleration. The direction vector is available in the property editor but the acceleration value must edited in the .imp file.
https://github.com/FreeCAD/FreeCAD/blob ... cx.py#L852
Post Reply