FEM ConstraintSelfWeight
|
Menu location |
---|
Model → Mechanical boundary conditions and loads → Gravity load |
Workbenches |
FEM |
Default shortcut |
None |
Introduced in version |
- |
See also |
FEM tutorial |
Solvers |
---|
CalculiX, Elmer |
Description
Defines a gravity acceleration acting on the whole model in the prescribed direction.
version 0.21 and below: The acceleration has a fixed value of 9.81 m/s^2.
Usage
- 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.
- Press the
- A ConstraintSelfWeight object is created.
- introduced in version 1.0: Optionally change its DataGravity Acceleration property.
- Optionally change its DataGravity Direction property.
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
- version 0.21 and below: 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. The value can be set as a multiple of standard gravity acceleration to simulate loading of e.g. 4g.
Solver Z88
- Currently, not implemented in the Z88 solver.
- Materials: Solid, Fluid, Nonlinear mechanical, Reinforced (concrete); Material editor
- Element geometry: Beam (1D), Beam rotation (1D), Shell (2D), Fluid flow (1D)
Constraints
- Electromagnetic: Electrostatic potential, Current density, Magnetization
- Geometrical: Plane rotation, Section print, Transform
- Mechanical: Fixed, Displacement, Contact, Tie, Spring, Force, Pressure, Centrif, Self weight
- Thermal: Initial temperature, Heat flux, Temperature, Body heat source
- Overwrite Constants: Constant vacuum permittivity
- Solve: CalculiX Standard, Elmer, Mystran, Z88; Equations: Deformation, Elasticity, Electrostatic, Electricforce, Magnetodynamic, Magnetodynamic 2D, Flow, Flux, Heat; Solver: Solver control, Solver run
- Results: Purge, Show; Postprocessing: Apply changes, Pipeline from result, Warp filter, Scalar clip filter, Function cut filter, Region clip filter, Contours filter, Line clip filter, Stress linearization plot, Data at point clip filter, Filter function plane, Filter function sphere, Filter function cylinder, Filter function box
- Additional: Preferences; FEM Install, FEM Mesh, FEM Solver, FEM CalculiX, FEM Concrete; FEM Element Types

- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub