FEM CalculiX Cantilever 3D/es: Difference between revisions

From FreeCAD Documentation
(Created page with "=== Introducción === Este ejemplo pretende mostrar cómo se ve un simple Análisis de elementos finitos (FEA) en FreeCADs FEM Module y cómo se pueden visual...")
(Updating to match new version of source page)
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">

{{TutorialInfo
{{TutorialInfo/es
|Topic= Finite Element Analysis
|Topic= Finite Element Analysis
|Level= Beginner
|Level= Beginner
Line 9: Line 9:
|Files=
|Files=
}}
}}
</div>


<div class="mw-translate-fuzzy">

=== Introducción ===
=== Introducción ===
Este ejemplo pretende mostrar cómo se ve un simple Análisis de elementos finitos (FEA) en FreeCADs [[FEM_Module | FEM Module]] y cómo se pueden visualizar los resultados. Se muestra cómo activar un FEA y cómo cambiar el valor de la carga y la dirección de la carga. Además, dado que el archivo de ejemplo se proporciona con cualquier instalación de FreeCAD, es fácil verificar si el módulo FEM está configurado correctamente.
Este ejemplo pretende mostrar cómo se ve un simple Análisis de elementos finitos (FEA) en FreeCADs [[FEM_Module | FEM Module]] y cómo se pueden visualizar los resultados. Se muestra cómo activar un FEA y cómo cambiar el valor de la carga y la dirección de la carga. Además, dado que el archivo de ejemplo se proporciona con cualquier instalación de FreeCAD, es fácil verificar si el módulo FEM está configurado correctamente.
</div>



[[Image:FEM_example01_pic00.jpg|700px]]
[[Image:FEM_example01_pic00.jpg|700px]]


<div class="mw-translate-fuzzy">
=== Requisitos ===
* Versión de FreeCAD = 0.16.6377 o superior.
* Esto se puede verificar en el menú Ayuda -> acerca de FreeCAD. El número de Revisión tiene que ser superior a 6377
* No se necesita software externo para cargar el archivo de ejemplo, ver la malla y la geometría, así como para visualizar los resultados.
* Para volver a ejecutar el FEA, el software de resolución de problemas CalculiX debe estar instalado en su computadora. Probablemente el solucionador ya se haya instalado junto con FreeCAD. Si el solucionador CalculiX no está instalado, consulte [[FEM_Install | FEM Install]].
</div>


== Set up the example file ==
=== Requirements ===
* FreeCAD version = 0.16.6377 or above.
* This could be checked at the menu Help --> about FreeCAD. The Revision number 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. If the solver CalculiX is not installed see [[FEM_Install|FEM Install]].


=== Set up the example file ===


==== Load Start Workbench ====
=== Load Start Workbench ===
* Start FreeCAD
* Start FreeCAD
* The Start Workbench should be loaded
* The Start Workbench should be loaded


=== Load the example file ===

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




==== Activate the analysis container ====
=== Activate the analysis container ===
* To work with an analysis the analysis has to be activated.
* To work with an analysis the analysis has to be activated.
* In tree view right click on the [[Image:FEM_Analysis.png|32px]] MechanicalAnalysis --> Activate analysis
* In [[tree view]] right click on the [[Image:FEM_Analysis.png|32px]] MechanicalAnalysis Activate analysis


[[Image:FEM_example01_pic02.jpg|700px]]
[[Image:FEM_example01_pic02.jpg|700px]]


=== Analysis container and its objects ===

==== Analysis container and its objects ====
* If the analysis is activated FreeCAD itself will change the current workbench to FEM.
* 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.
* There are at least the 5 objects needed to make a static mechanical analysis.
* [[Image:FEM_Analysis.png|32px]] analysis container
* [[Image:FEM_Analysis.png|32px]] analysis container
# [[Image:FEM_Solver.png|32px]] a solver
# [[Image:FEM_Solver.png|32px]] a solver
Line 57: Line 56:
* Since in the example here the results are included as well there is a sixth object, the results [[Image:FEM ShowResult.png|16px]].
* 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 ===

==== Visualizing Results ====
* Be sure the analysis is activated.
* Be sure the analysis is activated.
* Be sure the analysis still contains the result object, if not just reload the example file.
* Be sure the analysis still contains the result object, if not just reload the example file.
Line 71: Line 69:




==== Purging Results ====
=== Purging Results ===
* Be sure the analysis is activated.
* Be sure the analysis is activated.
* To remove the results select in the icon toolbar [[Image:FEM_PurgeResults.png|32px]] [[FEM ResultsPurge|Purge results]]
* To remove the results select in the icon toolbar [[Image:FEM_PurgeResults.png|32px]] [[FEM ResultsPurge|Purge results]]


=== Running the FEA ===

* In [[Tree view]] double click on the solver object [[Image:FEM_Solver.png|32px]].
==== Running the FEA ====
* In Tree view double click on the solver object [[Image:FEM_Solver.png|32px]].
* In [[task panel]] of the solver object make sure static analysis is selected.
* 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 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.
* Click on {{Button|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 ..."
* 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.
* You just have finished your first FEA in FreeCAD if there has not been any error message.
* Click on Close in the task window.
* Click on {{Button|Close}} in the task window.
* A new result object should be created. You know how to visualize the results already.
* 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|FEM Install]].
* If you get an error message no solver binary or similar when triggering the analysis check [[FEM_Install|FEM Install]].
Line 89: Line 86:
[[Image:FEM_example01_pic04.jpg|400px]]
[[Image:FEM_example01_pic04.jpg|400px]]


=== Running the FEA the fast Way ===

==== 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 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]] [[FEM_SolverRun|Quick Analysis]].
* In the icon toolbar click on [[Image:FEM_RunCalculiXccx.png|32px]] [[FEM_SolverRun|Quick Analysis]].
* The Calculix input file will be written, CalculiX will be triggered and the result object should be created.
* 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 {{KEY|Space}} key.
==== Changing Load Direction and Load Value ====
* In tree view select the FEM mesh object [[Image:FEM_Create.png|32px]] and press the space key.
** '''Result:''' 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 panel]]
* 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''' ('''Note:''' force unit in task window has to be in N)
* Click on the {{Button|Direction}} button.
* In the task window change the load value to 500000000 N = 500 MN (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 Button Direction.
** '''Result:''' The red arrowsnthat illustrate force will change their direction in x-direction. They indicate the fixed 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.
* 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.
* The red arrows of the force will change their direction.
* Click on OK in task window.
* Click on {{Button|OK}} in task window.
[[Image:FEM_example01_pic05.jpg|700px]]
[[Image:FEM_example01_pic05.jpg|700px]]
* Turn the visibility of the FEM mesh [[Image:FEM_Create.png|32px]] on by selecting it in tree view and pressing the space key.
* Turn the [[Std ToggleVisibility|visibility]] of the FEM mesh [[Image:FEM_Create.png|32px]] on by selecting it in tree view and pressing the {{Button|Space}} key.
* You know how to trigger an analysis and how to visualize results already.
* You know how to trigger an analysis and how to visualize results already.
* The deformation in x-direction should be 19.05 mm.
* The deformation in x-direction should be 19.05 mm.
Line 114: Line 109:
[[Image:FEM_example01_pic06.jpg|400px]]
[[Image:FEM_example01_pic06.jpg|400px]]


<div class="mw-translate-fuzzy">
==== ¿Qué sigue? ====
* Ahora hemos terminado con el flujo de trabajo básico para el [[Módulo FEM | Módulo FEM]].
* Ahora está preparado para hacer el segundo [[FEM_tutorial | FEM tutorial]].
* Crearemos el cantilever CalculiX por nosotros mismos y compararemos los resultados con la teoría del haz.
</div>


{{Tutorials navi{{#translation:}}}}
==== What next ? ====
{{FEM Tools navi{{#translation:}}}}
* We are now finished with the basic workflow for the [[FEM Module|FEM Module]].
{{Userdocnavi{{#translation:}}}}
* You are now prepared to do the second [[FEM_tutorial|FEM tutorial]].
* We will create the CalculiX cantilever by ourselves and compare the results with the beam theory.




{{clear}}

Revision as of 11:21, 25 February 2020

Tutorial
Tema
Finite Element Analysis
Nivel
Beginner
Tiempo para completar
10 minutes
Autores
Bernd
Versión de FreeCAD
0.16.6377 or above
Archivos de ejemplos
Ver también
None

Introducción

Este ejemplo pretende mostrar cómo se ve un simple Análisis de elementos finitos (FEA) en FreeCADs FEM Module y cómo se pueden visualizar los resultados. Se muestra cómo activar un FEA y cómo cambiar el valor de la carga y la dirección de la carga. Además, dado que el archivo de ejemplo se proporciona con cualquier instalación de FreeCAD, es fácil verificar si el módulo FEM está configurado correctamente.

Requisitos

  • Versión de FreeCAD = 0.16.6377 o superior.
  • Esto se puede verificar en el menú Ayuda -> acerca de FreeCAD. El número de Revisión tiene que ser superior a 6377
  • No se necesita software externo para cargar el archivo de ejemplo, ver la malla y la geometría, así como para visualizar los resultados.
  • Para volver a ejecutar el FEA, el software de resolución de problemas CalculiX debe estar instalado en su computadora. Probablemente el solucionador ya se haya instalado junto con FreeCAD. Si el solucionador CalculiX no está instalado, consulte FEM Install.

Set up the example file

Load Start Workbench

  • Start FreeCAD
  • The Start Workbench should be loaded

Load the example file

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


Activate the analysis container

  • To work with an analysis the analysis has to be activated.
  • In tree view right click on the 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 a static mechanical analysis.
  • analysis container
  1. a solver
  2. a material
  3. a fixed constraint
  4. a force constraint
  5. File:FEM Create.png a FEM mesh
  • Since in the example here the results are included as well there is a sixth object, the results .

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 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.


Purging Results

  • Be sure the analysis is activated.
  • To remove the results select in the icon toolbar Purge results

Running the FEA

  • In Tree view double click on the solver object .
  • In task panel 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 of the analysis .
  • In the icon toolbar click on 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 File:FEM Create.png and press the Space key.
    • Result: 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 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)
  • Click on the Direction button.
  • On the geometrical model click on one of the long edges in x-direction.
    • Result: The red arrowsnthat illustrate force will change their direction in x-direction. They indicate 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 File:FEM Create.png 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.

¿Qué sigue?

  • Ahora hemos terminado con el flujo de trabajo básico para el Módulo FEM.
  • Ahora está preparado para hacer el segundo FEM tutorial.
  • Crearemos el cantilever CalculiX por nosotros mismos y compararemos los resultados con la teoría del haz.

Template:Tutorials navi/es