FEM CalculiX Cantilever 3D/de

Einleitung
This example is meant to show how a simple Finite Element Analysis (FEA) in FreeCAD's FEM Workbench looks like in the FreeCAD interface and how the results can be visualized. It illustrates 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 a useful and easy check to run for the purpose of ascertaining if the the FEM Workbench is set up properly.



Voraussetzungen

 * A compatible version of FreeCAD designated in the tutorial overview.
 * Use the to see the version of FreeCAD installed
 * 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. If the solver CalculiX is not installed see FEM Install.

Arbeitsbereich Start laden

 * FreeCAD starten
 * Der Arbeitsbereich Start sollte geladen sein



Analyse-Container aktivieren

 * To work with an analysis the analysis has to be activated.
 * In the tree view, double click on the [[Image:FEM_Analysis.svg|24px]] ,
 * or right click on the [[Image:FEM_Analysis.svg|24px]] and choose.



Der Analyse-Container und seine Objekte

 * If the analysis is activated, FreeCAD itself will change the current workbench to FEM.
 * There are at least 5 objects needed to make a static mechanical analysis.
 * [[Image:FEM_Analysis.svg|24px]] analysis container
 * 1) [[Image:FEM_SolverCalculixCxxtools.svg|24px]] a solver
 * 2) [[Image:FEM_MaterialSolid.svg|24px]] a material
 * 3) [[Image:FEM_ConstraintFixed.svg|24px]] a fixed constraint
 * 4) [[Image:FEM_ConstraintForce.svg|24px]] a force constraint
 * 5) [[Image:FEM_FEMMesh.svg|24px]] a FEM mesh
 * In this example, results [[Image:FEM_ResultShow.svg|24px|link=FEM_ResultShow]] are already included as well.

Ergebnisse darstellen

 * 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) Double click the result object [[Image:FEM_ResultShow.svg|24px]], or select it and click the [[Image:FEM_ResultShow.svg|24px]] Show result button in the FEM toolbar.
 * 4) In the task window, choose . It shows  in negative z-direction. This makes sense since the force is in negative z-direction as well.
 * 5) Activate the check box besides the bottom slider of displacement show.
 * 6) The slider can be used to alter the mesh to view the deformation in a simplified manner.
 * 7) Choose among the different Result types to view all in the GUI available result types.



Ergebnisse entfernen

 * 1) Be sure the analysis is activated.
 * 2) To remove the results: select in the icon toolbar the [[Image:FEM_ResultsPurge.svg|24px]] Purge results button.

Die FEA durchführen

 * In the tree view double click on the solver object [[Image:FEM_SolverCalculixCxxtools.svg|24px]].
 * In the task panel of the solver object make sure static analysis is selected.
 * Click on in the same task window. Watch the log window until it prints "write completed."
 * Click on . Since this is a very small analysis it should take less than a second to run.
 * In the text window it should print in green letters "CalculiX done without error!" and in the next line "loading result sets ..."
 * You just have finished your first FEA in FreeCAD if there has not been any error message.
 * Click on in the task window.
 * A new result object should be created. You know how to visualize the results already.
 * If you get an error message no solver binary or similar when triggering the analysis check FEM Install.



Running the FEA the fast Way

 * In tree view select the solver object [[Image:FEM_SolverCalculixCxxtools.svg|24px]] of the analysis [[Image:FEM_Analysis.svg|24px]].
 * In the icon toolbar click on [[Image:FEM_SolverRun.svg|24px]] Run solver calculations.
 * The Calculix input file will be written, CalculiX will be triggered and the result object should be created.

Lastrichtung und Lastwert ändern

 * In the tree view expand [[Image:FEM_ResultShow.svg|24px]] CCX_Results and select the [[Image:FEM_MeshResult.svg|24px]] ResultMesh object and press the key.
 * Result: The visibility of the FEM mesh will be turned off. The geometrical model is still visible.
 * In the tree view double click on the [[Image:FEM_ConstraintForce.svg|24px]] FEMConstraintForce object to open its task panel
 * In the task window change the load value to 500000000 N = 500 MN (Note: force unit in task window has to be in N)
 * On the geometrical model click on one of the long edges in x-direction.
 * Click on the button.
 * Result: The red arrows that illustrate force will change their direction in x-direction. They indicate the force direction.
 * Since tension should be applied to the box the Reverse Direction needs to be triggered by clicking on it.
 * The red arrows of the force will change their direction.
 * Click on in task window.




 * You know how to trigger an analysis and how to visualize results already.
 * The deformation in x-direction should be 18.95 mm.



Wie geht es weiter?

 * We are now finished with the basic workflow for the FEM Workbench.
 * You are now prepared to do the second FEM tutorial.
 * We will create the CalculiX cantilever by ourselves and compare the results with the beam theory.