FEM ConstraintSelfWeight/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "{{GuiCommand/pl |Name=FEM ConstraintSelfWeight |Name/pɬMES Obciążenie grawitacją |MenuLocation=Model → Warunki brzegowe i obciążenia mechaniczne → Obciążenie grawitacją |Workbenches=MES |SeeAlso=Poradniki MES }}")
(Created page with "==Opis==")
Line 18: Line 18:
}}
}}


==Description==
<span id="Description"></span>
==Opis==


Defines a gravity acceleration of 9,81 m/s^2 acting on the whole model in the prescribed direction.
Defines a gravity acceleration of 9,81 m/s^2 acting on the whole model in the prescribed direction.

Revision as of 15:29, 16 November 2023

FEM ConstraintSelfWeight

Lokalizacja w menu
Model → Warunki brzegowe i obciążenia mechaniczne → Obciążenie grawitacją
Środowisko pracy
MES
Domyślny skrót
brak
Wprowadzono w wersji
-
Zobacz także
Poradniki MES

Opis

Defines a gravity acceleration of 9,81 m/s^2 acting on the whole model in the prescribed direction.

Usage

  1. There are several ways to invoke the command:
    • Press the Gravity load button.
    • Select the Model → Mechanical boundary conditions and loads → Gravity load option from the menu.
  2. You can modify the direction of gravity load by changing its vector coordinates in the property bar of the 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 the .inp file to edit gravity acceleration.
  • Self-weight is applied to the element set Eall which includes the whole model.

Editing CalculiX input file

The acceleration constant can be manually edited after generating the CalculiX input file.

Example of lines in the .inp file:

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

where 9810 is a gravity acceleration magnitude in [mm/s^2], and 0,0,-1 is the direction vector.

Solver Z88

  • Currently, not implemented in the Z88 solver.