FEM Analysis

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page FEM Analysis and the translation is 6% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎română • ‎русский

FEM Analysis.svg FEM Analysis

Расположение в меню
Model → Блок анализа
Быстрые клавиши
Представлено в версии
См. также
FEM tutorial


The FEM Analysis could be seen as a Container that holds all objects of a Finite Element Analysis. It is mandatory to have a analysis container which holds all the needed objects. At least one of the following objects is needed for a mechanical analysis:


  1. There are several ways to invoke the command:
    • Press the FEM Analysis.svg FEM Analysis button.
    • Select the Model → FEM Analysis.svg Analysis container‏‎ option from the menu.
    • Use the keyboard shortcut: S then A.
  2. A new Analysis is created and set to active.
  3. Other objects could be added or removed to the analysis container by drag and drop.
  4. To add new FEM Objects to the document the analysis has to be active. Double click on the analysis does activate the analysis.


  • Up to date there is no option to choose.
  • A frequency analysis in in development. See [1] for more informations.


  • DataOutpuDir: Specifies the working directory of the analysis


most code here is depreciated in 0.17.

  • new analysis
MechanicalAnalysis.makeMechanicalAnalysis( name )
  • add object to the analysis
App.ActiveDocument.MechanicalAnalysis.Member = App.ActiveDocument.MechanicalAnalysis.Member + [ (object) ]
  • remove object from the analysis
member = App.ActiveDocument.MechanicalAnalysis.Member
member.remove( documentobject )
 App.ActiveDocument.MechanicalAnalysis.Member = member


import MechanicalAnalysis
analysis = MechanicalAnalysis.makeMechanicalAnalysis("MechanicalAnalysis")

addobj = App.ActiveDocument.getObject("MechanicalMaterial")
App.ActiveDocument.MechanicalAnalysis.Member = App.ActiveDocument.MechanicalAnalysis.Member + [addobj]

removeobj = App.ActiveDocument.getObject("MechanicalMaterial")
member = App.ActiveDocument.MechanicalAnalysis.Member
App.ActiveDocument.MechanicalAnalysis.Member = member