FEM CalculiX Cantilever 3D

From FreeCAD Documentation
Revision as of 16:56, 3 February 2016 by Berndhahnebach (talk | contribs)
Tutorial
Topic
{{{Topic}}}
Level
Beginner
Time to complete
10 minutes
Authors
Bernd
FreeCAD version
0.16.6377 or above
Example files
See also
None

! 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. Furthermore it is shown how to change the load value and how to trigger FEA. Thus with this example file provided by any FreeCAD installation it is easy to check if the FEM module is set up properly.

Requirements

  • FCVersion=0.16.6377 or above.
  • This could be checked at the menu Help --> about FreeCAD --> Revisionnumber which has to be bigger than 6377
  • No external software is needed for loading the example file, viewing the mesh and geometry as well as for visualizing the results.


Set up the example file

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:
    1. a solver
    2. a material
    3. a fixed constraint
    4. a force constraint
    5. a FEM mesh
  3. 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 File:Fem Result.svg 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 File:Fem PurgeResults.png Purge results

Running the Solver

  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.

Running the Solver the fast Way

  1. In tree view select the solver object of the analysis.
  2. In the icon toolbar click on File:Fem QuickAnalysis.svg Quick Analysis.
  3. The Calculix input file will be written, CalculiX will be triggered and the result object should be created.


We are now finished with the basic workflow for the FEM Module.