FEM CalculiX Cantilever 3D/fr

Introduction
Cet exemple est destiné à montrer à quoi une simple analyse des éléments finis (FEA) dans FreeCADs Module FEM ressemble et comment les résultats peuvent être visualisés. Il est montré comment déclencher un FEA et comment changer la valeur de la charge et la direction de la charge. En outre, étant donné que le fichier d'exemple est fourni avec une installation FreeCAD, il est facile de vérifier si le module FEM est configuré correctement.



Exigences

 * Version FreeCAD = 0,166377 ou plus.
 * Cela pourrait être vérifié dans le menu Aide -> sur FreeCAD. Le numéro de révision doit être supérieur à 6377
 * Aucun logiciel externe n'est nécessaire pour charger le fichier d'exemple, afficher le maillage et la géométrie ainsi que pour visualiser les résultats.
 * Pour relancer le FEA, le logiciel Solver CalculiX doit être installé sur votre ordinateur. Probablement le solveur a déjà été installé avec FreeCAD. Si le solveur CalculiX n'est pas installé, voir Installation FEM.

Charger l'Atelier Démarrage

 * Démarrez FreeCAD
 * L'Atelier Démarrage doit être chargé

Charger le fichier exemple

 * Accédez aux exemples de projets et cliquez sur "Charger un exemple d'analyse FEM"
 * Si en raison d'opérations ultérieures, certaines géométries, contraintes ou résultats sont interrompus ou supprimés, répétez simplement les étapes ci-dessus.



Activer le conteneur d'analyse

 * Pour travailler avec une analyse, celle-ci doit être activée.
 * Dans l'arborescence, cliquez droit sur [[Image: FEM_Analysis.png | 32px]] MechanicalAnalysis -> Activate analysis



Analysis container and its objects

 * If the analysis is activated FreeCAD itself will change the current workbench to FEM.
 * There are at least the 5 objects needed to make an static mechanical analysis.
 * [[Image:FEM_Analysis.png|32px]] analysis container
 * 1) [[Image:FEM_Solver.png|32px]] a solver
 * 2) [[Image:FEM_Material.png|32px]] a material
 * 3) [[Image:FEM_FixedConstraint.png|32px]] a fixed constraint
 * 4) [[Image:FEM_ForceConstraint.png|32px]] a force constraint
 * 5) [[Image:FEM_Create.png|32px]] a FEM mesh
 * Since in the example here the results are included as well there is a sixth object, the results [[Image:FEM ShowResult.png|16px]].

Visualizing Results

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



Purger les Resultats

 * Assurez-vous que l'analyse est activée.
 * Pour supprimer les résultats, sélectionnez l'icône dans la barre d'outils de [[Image: FEM_PurgeResults.png | 32px]]  Purger les résultats

Running the FEA

 * In Tree view double click on the solver object [[Image:FEM_Solver.png|32px]].
 * In task window of the solver object make sure static analysis is selected.
 * Click on write .inp file in the same task window. Watch the log window until it prints "write completed."
 * Click on Run CalculiX. 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!" 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 Close 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_Solver.png|32px]] of the analysis [[Image:FEM_Analysis.png|32px]].
 * In the icon toolbar click on  [[Image:FEM_RunCalculiXccx.png|32px]] Quick Analysis.
 * The Calculix input file will be written, CalculiX will be triggered and the result object should be created.

Changing Load Direction and Load Value

 * In tree view select the FEM mesh object [[Image:FEM_Create.png|32px]] and press the space key.
 * The visibility of the FEM mesh will be turned off. The geometrical model is still visible.
 * In tree view double click on the force constraint object to open its task window.
 * In the task window change the load value to 500000000 N = 500 MN (force unit in task window has to be in N)
 * Click on Button Direction.
 * On the geometrical model click on on of the long edges in x-direction.
 * The red arrows of the force will change their direction in x-direction. They show to the fixed 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 OK in task window.
 * Turn the visibility of the FEM mesh [[Image:FEM_Create.png|32px]] on by selecting it in tree view and pressing the space key.
 * You know how to trigger an analysis and how to visualize results already.
 * 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.
 * We will create the CalculiX cantilever by ourselves and compare the results with the beam theory.