Difference between revisions of "FEM ConstraintSelfWeight"

From FreeCAD Documentation
Jump to navigation Jump to search
(Marked this version for translation)
Line 1: Line 1:
{{GuiCommand|Name=FEM ConstraintSelfWeight|MenuLocation=FEM → Constraint self weight||Workbenches=[[Fem Workbench|FEM]]|Shortcut=C,W|SeeAlso=[[FEM_tutorial|FEM tutorial]]}}
{{GuiCommand|Name=FEM ConstraintSelfWeight|MenuLocation=FEM → Constraint self weight||Workbenches=[[FEM Module|FEM]]|Shortcut=C,W|SeeAlso=[[FEM_tutorial|FEM tutorial]]}}
==Description== <!--T:2-->
==Description== <!--T:2-->

Revision as of 22:01, 19 March 2017

FEM ConstraintSelfWeight.png FEM ConstraintSelfWeight

Menu location
FEM → Constraint self weight
Default shortcut
Introduced in version
See also
FEM tutorial


Constraint self weight defines gravity acceleration 9,81 m/s^2 acting on the whole model in the prescribed direction.

How to use

  1. Click on FEM ConstraintSelfWeight.png or choose FEMFEM ConstraintSelfWeight.png Constraint self weight from the top menu or press C then W keys.
  2. You can modify the direction of gravitation by changing its vector coordinates in the property bar of newly created ConstraintSelfWeight object.


  • new object
import ObjectsFem
ObjectsFem.makeConstraintSelfWeight( name )
  • add object to the analysis named Analysis
App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [ (object) ]
  • example:
import ObjectsFem
selfweight_obj = ObjectsFem.makeConstraintSelfWeight( 'MySelfWeightObject' )
App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [selfweight_obj]

Solver CalculiX


  • You need to modify .inp file to edit gravity acceleration.
  • Self weight is applied to the element set Eall means to the whole model.

Editing CalculiX input file

Acceleration constant can be edited by hand modification after generating CalculiX input file.

Example of lines in .inp file:


where 9810 is gravity acceleration in [mm/s^2]

Solver Z88

  • not implemented in Z88 solver (March 2017)
Other languages:
English • ‎français • ‎italiano • ‎română • ‎русский