FEM ConstraintSelfWeight: Difference between revisions
No edit summary |
|||
(27 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
<translate> |
<translate> |
||
<!--T:14--> |
|||
{{Docnav |
|||
|[[FEM_ConstraintPressure|Constraint pressure]] |
|||
|[[FEM_ConstraintInitialTemperature|Constraint initial temperature]] |
|||
|[[FEM_Module|FEM]] |
|||
|IconL=FEM_ConstraintPressure.svg |
|||
|IconR=FEM_ConstraintInitialTemperature.svg |
|||
|IconC=Workbench_FEM.svg |
|||
}} |
|||
<!--T:1--> |
<!--T:1--> |
||
{{GuiCommand |
|||
{{GuiCommand|Name=FEM ConstraintSelfWeight|MenuLocation=FEM → Constraint self weight||Workbenches=[[Fem Workbench|FEM]]|Shortcut=C,W|SeeAlso=[[FEM_tutorial|FEM tutorial]]}} |
|||
|Name=FEM ConstraintSelfWeight |
|||
|MenuLocation=Model → Mechanical Constraints → Constraint self weight |
|||
|Workbenches=[[FEM_Module|FEM]] |
|||
|SeeAlso=[[FEM_tutorial|FEM tutorial]] |
|||
}} |
|||
==Description== <!--T:2--> |
==Description== <!--T:2--> |
||
<!--T:12--> |
|||
Constraint self weight defines gravity acceleration 9,81 m/s^2 acting on the whole model in the prescribed direction. |
Constraint self weight defines gravity acceleration 9,81 m/s^2 acting on the whole model in the prescribed direction. |
||
== |
==Usage== <!--T:3--> |
||
#Click on [[Image:FEM ConstraintSelfWeight.png|32px]] or choose {{KEY| FEM}} → {{KEY|[[Image:FEM ConstraintSelfWeight.png|32px]] Constraint self weight}} from the top menu or press {{KEY|C}} then {{KEY|W}} keys. |
|||
⚫ | |||
<!--T:13--> |
|||
# There are several ways to invoke the command: |
|||
#* Press the {{Button|[[Image:FEM_ConstraintSelfWeight.svg|16px]] [[FEM_ConstraintSelfWeight|ConstraintSelfWeight]]}} button. |
|||
#* Select the {{MenuCommand|Model → Mechanical Constraints → [[Image:FEM_ConstraintSelfWeight.svg|16px]] Constraint self weight}} option from the menu. |
|||
⚫ | |||
==Scripting== <!--T:4--> |
|||
== Solver specific informations == |
|||
⚫ | |||
<!--T:7--> |
|||
'''New object''' |
|||
</translate> |
|||
{{Code|code= |
|||
import ObjectsFem |
|||
ObjectsFem.makeConstraintSelfWeight( name ) |
|||
}} |
|||
<translate> |
|||
<!--T:8--> |
|||
'''Add object to the analysis named Analysis''' |
|||
</translate> |
|||
{{Code|code= |
|||
App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [ (object) ] |
|||
}} |
|||
<translate> |
|||
<!--T:9--> |
|||
'''Example:''' |
|||
</translate> |
|||
{{Code|code= |
|||
import ObjectsFem |
|||
selfweight_obj = ObjectsFem.makeConstraintSelfWeight( 'MySelfWeightObject' ) |
|||
App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [selfweight_obj] |
|||
}} |
|||
<translate> |
|||
⚫ | |||
===Limitations=== |
|||
*You need to modify .inp file to edit gravity acceleration. |
*You need to modify .inp file to edit gravity acceleration. |
||
*Self weight is applied to the element set Eall means to the whole model. |
*Self weight is applied to the element set Eall means to the whole model. |
||
===Editing CalculiX input file=== <!--T:10--> |
|||
Acceleration constant can be edited by hand modification after generating CalculiX input file. |
Acceleration constant can be edited by hand modification after generating CalculiX input file. |
||
Line 27: | Line 77: | ||
Eall,GRAV,9810,0.0,0.0,-1.0 |
Eall,GRAV,9810,0.0,0.0,-1.0 |
||
}} |
}} |
||
where 9810 is gravity acceleration in [mm/s^2] |
where 9810 is gravity acceleration magnitude in [mm/s^2], and 0,0,-1 is direction vector. |
||
== Solver Z88 == <!--T:11--> |
|||
* not implemented in Z88 solver (March 2017) |
* not implemented in Z88 solver (March 2017) |
||
<!--T:15--> |
|||
{{Docnav |
|||
|[[FEM_ConstraintPressure|Constraint pressure]] |
|||
|[[FEM_ConstraintInitialTemperature|Constraint initial temperature]] |
|||
|[[FEM_Module|FEM]] |
|||
|IconL=FEM_ConstraintPressure.svg |
|||
|IconR=FEM_ConstraintInitialTemperature.svg |
|||
|IconC=Workbench_FEM.svg |
|||
}} |
|||
</translate> |
</translate> |
||
{{FEM Tools navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
|||
{{clear}} |
{{clear}} |
||
⚫ |
Revision as of 19:39, 26 February 2021
FEM ConstraintSelfWeight |
Menu location |
---|
Model → Mechanical Constraints → Constraint self weight |
Workbenches |
FEM |
Default shortcut |
None |
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
- There are several ways to invoke the command:
- Press the ConstraintSelfWeight button.
- Select the Model → Mechanical Constraints → Constraint self weight option from the menu.
- 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 magnitude in [mm/s^2], and 0,0,-1 is direction vector.
Solver Z88
- not implemented in Z88 solver (March 2017)
FEM
- 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
User documentation
- 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, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub