FEM ConstraintSelfWeight: Difference between revisions

From FreeCAD Documentation
m (tweeked)
m (Linted templates)
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:14-->
<!--T:14-->
{{Docnav
{{Docnav|[[FEM_ConstraintPressure|Constraint pressure]]|[[FEM_ConstraintBearing|Constraint bearing]]|[[FEM_Module|FEM]]|IconL=FEM_ConstraintPressure.png|IconC=Workbench_FEM.svg|IconR=FEM_ConstraintBearing.png}}
|[[FEM_ConstraintPressure|Constraint pressure]]
|[[FEM_ConstraintBearing|Constraint bearing]]
|[[FEM_Module|FEM]]
|IconL=FEM_ConstraintPressure.png
|IconC=Workbench_FEM.svg
|IconR=FEM_ConstraintBearing.png
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand|Name=FEM ConstraintSelfWeight|MenuLocation=Model → Mechanical Constraints → Constraint self weight||Workbenches=[[FEM Module|FEM]]|Shortcut=C,W|SeeAlso=[[FEM_tutorial|FEM tutorial]]}}
|Name=FEM ConstraintSelfWeight
|MenuLocation=Model → Mechanical Constraints → Constraint self weight
|Workbenches=[[FEM Module|FEM]]
|Shortcut={{KEY|C}} {{KEY|W}}
|SeeAlso=[[FEM_tutorial|FEM tutorial]]
}}


==Description== <!--T:2-->
==Description== <!--T:2-->
Line 24: Line 37:


<!--T:7-->
<!--T:7-->
* new object
'''New object'''
</translate>
</translate>
{{Code|code=
{{Code|code=
Line 33: Line 46:


<!--T:8-->
<!--T:8-->
* add object to the analysis named Analysis
'''Add object to the analysis named Analysis'''
</translate>
</translate>
{{Code|code=
{{Code|code=
Line 41: Line 54:


<!--T:9-->
<!--T:9-->
'''Example:'''
* example:
</translate>
</translate>
{{Code|code=
{{Code|code=
Line 71: Line 84:


<!--T:15-->
<!--T:15-->
{{Docnav
{{Docnav|[[FEM_ConstraintPressure|Constraint pressure]]|[[FEM_ConstraintBearing|Constraint bearing]]|[[FEM_Module|FEM]]|IconL=FEM_ConstraintPressure.png|IconC=Workbench_FEM.svg|IconR=FEM_ConstraintBearing.png}}
|[[FEM_ConstraintPressure|Constraint pressure]]

|[[FEM_ConstraintBearing|Constraint bearing]]
<!--T:16-->
|[[FEM_Module|FEM]]
{{FEM Tools navi}}
|IconL=FEM_ConstraintPressure.png
|IconC=Workbench_FEM.svg
|IconR=FEM_ConstraintBearing.png
}}


<!--T:17-->
{{Userdocnavi}}
</translate>
</translate>
{{FEM Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}

Revision as of 08:04, 29 February 2020

FEM ConstraintSelfWeight

Menu location
Model → Mechanical Constraints → Constraint self weight
Workbenches
FEM
Default shortcut
C W
Introduced in version
-
See also
FEM tutorial

Description

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

Usage

  1. To invoke command either:
    • Press on the button
    • Choose ModelMechanical Constraints Constraint self weight from the top menu
    • Use the keyboard shortcut: 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.

Scripting

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

Limitations

  • 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:

*DLOAD
Eall,GRAV,9810,0.0,0.0,-1.0

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

Solver Z88

  • not implemented in Z88 solver (March 2017)