FEM Tutorial Python

Introduction
This example is meant to show how a simple Finite Element Analysis (FEA) in FreeCADs FEM Module is done by python. The model from FEM_CalculiX_Cantilever_3D will be taken for this example.



Requirements

 * FreeCAD version = 0.17.9477 or above.
 * This could be checked at the menu Help --> about FreeCAD.
 * Al thought due to the continuing changes in FEM module it is recommended to use the latest development snapshot of FreeCAD for python scripted FEM analysis's.
 * A set up FEM module. Check FEM_CalculiX_Cantilever_3D

Scripting FEM mesh objects
Scripting the Netgen mesh object was tried here: http://forum.freecadweb.org/viewtopic.php?f=18&t=16944#p134519, but has some limitations. On the contrary the GMSH mesh object fully supports python scripting.

Scripting multiple analysis
See forum post: http://forum.freecadweb.org/viewtopic.php?f=18&t=19549#p151385

Scripting results
See forum posts: http://forum.freecadweb.org/viewtopic.php?f=18&t=4677&start=20#p148982 and http://forum.freecadweb.org/viewtopic.php?f=18&t=4677&start=30#p149043 and http://forum.freecadweb.org/viewtopic.php?t=18415#p144028

Appendix
Have Fun!