FEM CalculiX Cantilever 3D

! DO NOT TRANSLATE AT THE MOMENT !

Introduction
This example is meant to show how a simple Finite Element Analysis (FEA) in FreeCADs FEM_Module does look like and how the results can be visualized. It is shown how to trigger a FEA and how to change the load value and load direction. Furthermore since the example file is provided with any FreeCAD installation it is easy to check if the FEM module is set up properly.



Requirements

 * FreeCAD version = 0.16.6377 or above.
 * This could be checked at the menu Help --> about FreeCAD --> Revision number which has to be higher than 6377
 * No external software is needed for loading the example file, viewing the mesh and geometry as well as for visualizing the results.
 * For rerunning the FEA the solver software CalculiX has to be installed on your computer. Probably the solver has been installed together with FreeCAD already.

Load Start Workbench

 * 1) Start FreeCAD
 * 2) The Start Workbench should be loaded

Load the example file

 * 1) Go to the example projects and click on "Load an FEM analysis example"
 * 2) If due to further operations some geometry, constraints or the results are broken or deleted just repeat the steps above.



Activate the analysis container

 * 1) To work with an analysis the analysis has to be activated.
 * 2) In tree view right click on the analysis --> activate analysis



Analysis container and its objects

 * 1) If the analysis is activated FreeCAD itself will change to the FEM Workbench.
 * 2) There are at least the following 5 objects needed to make an static mechanical analysis:
 * 3) a solver
 * 4) a material
 * 5) a fixed constraint
 * 6) a force constraint
 * 7) a FEM mesh
 * 8) Since in the example here the results are included as well, there is a sixth object results.

Visualizing Results

 * 1) Be sure the analysis is activated !
 * 2) Be sure the analysis still contains the result object, if not just reload the example file.
 * 3) Click in icon toolbar on  [[Image:Fem_Result.svg|32px]] Show result
 * 4) In task window choose z-Displacement. It shows -88.443 mm in negative z-Direction.
 * 5) This makes sense since the force is in negative z-Direction as well.
 * 6) Activate the check box besides the bottom slider of displacement show.
 * 7) The slider  can be used to alter the mesh to view the deformation in a simplified manner.
 * 8) Choose among the different Result types to view all in the GUI available result types.

Purging Results

 * 1) To remove the results select in the icon toolbar  [[Image:Fem_PurgeResults.png|32px]] Purge results

Running the FEA

 * 1) In Tree view double click on the solver object.
 * 2) In task window of the solver object make sure static analysis is selected.
 * 3) Click on write .inp file in the same task window. Watch the log window until it prints "write completed."
 * 4) Click on Run CalculiX.
 * 5) After one or two seconds it should print in green letters "CalculiX done" and in the next line "loading result sets ..."
 * 6) You just have finished your first FEA in FreeCAD if there has not been any error message.
 * 7)  Click on Close in the task window.
 * 8) A new result object should be created. You know how to visualize the results already.
 * 9) If you get an error message no solver binary or similar when triggering the analysis check FEM_Install.

Running the FEA the fast Way

 * 1) In tree view select the solver object [[Image:Fem_Solver.svg|32px]] of the analysis.
 * 2) In the icon toolbar click on   [[Image:Fem_QuickAnalysis.svg|32px]] Quick Analysis.
 * 3) The Calculix input file will be written, CalculiX will be triggered and the result object should be created.

Changing Load Direction and Load Value

 * 1) In tree view select the FEM mesh object and press the space key.
 * 2) The visibility of the FEM mesh will be turned off. The geometrical model is still visible.
 * 3) In tree view double click on the force constraint object to open its task window.
 * 4) In the task window change the load value to 500000000 N = 500 MN (force unit in task window has to be in N)
 * 5) Click on Button Direction.
 * 6) On the geometrical model click on on of the long edges in x-direction.
 * 7) The red arrows of the force will change their direction in x-direction. They show to the fixed direction.
 * 8) Since tension should be applied to the box the Reverse Direction needs to be triggered by clicking on it.
 * 9) The red arrows of the force will change their direction.
 * 10) Click on OK in task window.
 * 11) Reactivate the visibility of the FEM mesh be selecting it in tree view and press space key.
 * 12) You know how to trigger an analysis and how to visualize results already.
 * 13) The deformation in x-Direction should be 19.05 mm.

What next ?
We are now finished with the basic workflow for the FEM Module. You are now prepared to do the second FEM_Tutorial. In which we will create the CalculiX cantilever by ourselves and compare the results with the beam theory.