FEM Workbench/tr: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav
{{docnav|[[Drawing Workbench|Drawing Workbench]]|[[Image Workbench|Image Workbench]]|IconL=Workbench_Drawing.svg|IconR=Workbench_Image.svg}}
|[[Drawing Workbench|Drawing Workbench]]
|[[Image Workbench|Image Workbench]]
|IconL=Workbench_Drawing.svg
|IconR=Workbench_Image.svg
}}


[[Image:Workbench_FEM.svg|64px]]
[[Image:Workbench_FEM.svg|thumb|128px|FEM workbench icon]]


== Giriş ==
== Giriş ==


The [[FEM Module|FEM Workbench]] provides a modern finite element analysis (FEA) workflow for FreeCAD. Mainly this means all tools to make an analysis are combined into one graphical user interface (GUI).
The [[FEM Module|FEM Workbench]] provides a modern [https://en.wikipedia.org/wiki/Finite_element_analysis finite element analysis] (FEA) workflow for FreeCAD. Mainly this means all tools to make an analysis are combined into one graphical user interface (GUI).


{{TOCright}}
{{TOCright}}
[[Image:FemWorkbench.jpg]]
[[Image:FemWorkbench.jpg|300px]]


== Workflow ==
== Workflow ==
Line 54: Line 59:
* [[Image:Fem-shell-thickness.svg|32px]] [[FEM_ElementGeometry2D|Shell plate thickness]]:
* [[Image:Fem-shell-thickness.svg|32px]] [[FEM_ElementGeometry2D|Shell plate thickness]]:


* [[Image:Fem-fluid-section.svg|32px]] [[FEM_ElementFluid1D|Fluid section for 1D flow]]:
* [[Image:Fem-fluid-section.svg|32px]] [[FEM_ElementFluid1D|Fluid section for 1D flow]]: Creates a FEM fluid section element for pneumatic and hydraulic networks.


=== Electrostatic Constraints ===
=== Electrostatic Constraints ===
Line 62: Line 67:
=== Fluid constraints ===
=== Fluid constraints ===


* [[Image:Fem-constraint-initial-flow-velocity.svg|32px]] [[FEM_ConstraintInitialFlowVelocity|Constraint initial flow velocity]]:
* [[Image:Fem-constraint-initial-flow-velocity.svg|32px]] [[FEM_ConstraintInitialFlowVelocity|Constraint initial flow velocity]]: Used to define an initial flow velocity for the domain.


* [[Image:Fem-constraint-fluid-boundary.svg|32px]] [[FEM_ConstraintFluidBoundary|Constraint fluid boundary]]:
* [[Image:Fem-constraint-fluid-boundary.svg|32px]] [[FEM_ConstraintFluidBoundary|Constraint fluid boundary]]:


* [[Image:Fem-constraint-flow-velocity.svg|32px]] [[FEM_ConstraintFlowVelocity|Constraint flow velocity]]:
* [[Image:Fem-constraint-flow-velocity.svg|32px]] [[FEM_ConstraintFlowVelocity|Constraint flow velocity]]: Used to define a flow velocity as a boundary condition at an edge (2D) or face (3D).


=== Mechanical constraints ===
=== Mechanical constraints ===
Line 78: Line 83:
* [[Image:Fem-constraint-contact.svg|32px]] [[FEM_ConstraintContact|Constraint contact]]: Used to define a contact constraint between two faces.
* [[Image:Fem-constraint-contact.svg|32px]] [[FEM_ConstraintContact|Constraint contact]]: Used to define a contact constraint between two faces.


* [[Image:Fem-constraint-transform.svg|32px]] [[FEM_ConstraintTransform|Constraint transform]]:
* [[Image:Fem-constraint-transform.svg|32px]] [[FEM_ConstraintTransform|Constraint transform]]: Used to define a transform constraint on a face.


* [[Image:Fem-constraint-force.svg|32px]] [[FEM_ConstraintForce|Constraint force]]: Used to define a force in [N] applied uniformly to a selectable face in a definable direction.
* [[Image:Fem-constraint-force.svg|32px]] [[FEM_ConstraintForce|Constraint force]]: Used to define a force in [N] applied uniformly to a selectable face in a definable direction.
Line 90: Line 95:
* [[Image:Fem-constraint-gear.svg|32px]] [[FEM_ConstraintGear|Constraint gear]]: Used to define a gear constraint.
* [[Image:Fem-constraint-gear.svg|32px]] [[FEM_ConstraintGear|Constraint gear]]: Used to define a gear constraint.


* [[Image:Fem-constraint-pulley.svg|32px]] [[FEM_ConstraintPulley|Constraint pulley]]: Used to define a pulley constraint.
* [[Image:Fem-constraint-pulley.svg|32px]] [[FEM_ConstraintPulley|Constraint pulley]]: Used to define a pulley constraint.


=== Thermal constraints ===
=== Thermal constraints ===
Line 120: Line 125:
== Menu: Solve ==
== Menu: Solve ==


* [[Image:Fem-solver.svg|32px]] [[FEM_SolverCalculixCxxtools|Solver Calculix CCX tools]]: Creates a new solver for this analysis. In most cases the solver is created together with the analysis.
* [[Image:Fem_Solver.svg|32px]] [[FEM_SolverCalculixCxxtools|Solver Calculix CCX tools]]: Creates a new solver for this analysis. In most cases the solver is created together with the analysis.


* [[Image:Fem-solver.svg|32px]] [[FEM_SolverCalculiX|Solver CalculiX]]:
* [[Image:Fem_Solver.svg|32px]] [[FEM_SolverCalculiX|Solver CalculiX]]:


* [[Image:Fem-elmer.svg|32px]] [[FEM_SolverElmer|Solver Elmer]]:
* [[Image:Fem-elmer.svg|32px]] [[FEM_SolverElmer|Solver Elmer]]: Creates the solver controller for Elmer. It is independent from other solver objects.


* [[Image:Fem-solver.svg|32px]] [[FEM_SolverZ88|Solver Z88]]:
* [[Image:Fem_Solver.svg|32px]] [[FEM_SolverZ88|Solver Z88]]:


* [[Image:Fem-equation-heat.svg|32px]] [[FEM_EquationHeat|Equation heat]]:
* [[Image:Fem-equation-heat.svg|32px]] [[FEM_EquationHeat|Equation heat]]:
Line 175: Line 180:


* [[Image:fem-clipping-plane-remove-all.svg|32px]] [[FEM_ClippingPlaneRemoveAll|Remove all clipping planes]]:
* [[Image:fem-clipping-plane-remove-all.svg|32px]] [[FEM_ClippingPlaneRemoveAll|Remove all clipping planes]]:

* [[Image:Preferences-fem.svg|32px]] [[FEM_Examples|FEM Examples]]: Open the GUI to access FEM examples.


== Context Menu ==
== Context Menu ==
Line 184: Line 191:
== Preferences ==
== Preferences ==


* [[Image:Std_DlgParameter.svg|32px]] [[Fem_Preferences|Preferences...]]: Preferences available in FEM Tools.
* [[Image:Std_DlgParameter.svg|32px]] [[FEM_Preferences|Preferences...]]: Preferences available in FEM Tools.


== Information ==
== Information ==
Line 210: Line 217:


Tutorial 4: [[FEM Shear of a Composite Block|FEM Shear of a Composite Block]]; see the deformation of a block that is comprised of two materials.
Tutorial 4: [[FEM Shear of a Composite Block|FEM Shear of a Composite Block]]; see the deformation of a block that is comprised of two materials.

Tutorial 5: [[Transient FEM analysis]]

Tutorial 6: [[Post-Processing_of_FEM_Results_with_Paraview]]

Tutorial 7: [[FEM Example Capacitance Two Balls]]; Elmer's GUI tutorial 6 "Electrostatics Capacitance Two Balls" using FEM Examples.




Coupled thermal mechanical analysis tutorials by [https://opensimsa.github.io/training.html openSIM]
Coupled thermal mechanical analysis tutorials by [https://opensimsa.github.io/training.html openSIM]
Line 234: Line 249:
* [https://github.com/qingfengxia/FreeCAD_Mod_Dev_Guide FreeCAD Mod Dev Guide] (github repository)
* [https://github.com/qingfengxia/FreeCAD_Mod_Dev_Guide FreeCAD Mod Dev Guide] (github repository)


{{Docnav
{{docnav|[[Drawing Workbench|Drawing Workbench]]|[[Image Workbench|Image Workbench]]|IconL=Workbench_Drawing.svg|IconR=Workbench_Image.svg}}
|[[Drawing Workbench|Drawing Workbench]]

|[[Image Workbench|Image Workbench]]
{{FEM Tools navi}}
|IconL=Workbench_Drawing.svg

|IconR=Workbench_Image.svg
{{Userdocnavi}}
}}


{{FEM Tools navi{{#translation:}}}}
[[Category:Workbenches]]
{{Userdocnavi{{#translation:}}}}
[[Category:Workbenches{{#translation:}}]]

Revision as of 21:24, 2 September 2020

FEM workbench icon

Giriş

The FEM Workbench provides a modern finite element analysis (FEA) workflow for FreeCAD. Mainly this means all tools to make an analysis are combined into one graphical user interface (GUI).

Workflow

The steps to carry out a finite element analysis are:

  1. Preprocessing: setting up the analysis problem.
    1. Modeling the geometry: creating the geometry with FreeCAD, or importing it from a different application.
    2. Creating an analysis.
      1. Adding simulation constraints such as loads and fixed supports to the geometric model.
      2. Adding materials to the parts off the geometric model.
      3. Creating a finite element mesh for the geometrical model, or importing it from a different application.
  2. Solving: running an external solver from within FreeCAD.
  3. Postprocessing: visualizing the analysis results from within FreeCAD, or exporting the results so they can be postprocessed with another application.

As of FreeCAD 0.15 the FEM Workbench can be used on Linux, Windows, and Mac OSX. Since the workbench makes use of external solvers, the amount of manual setup will depend on the operating system that you are using. See FEM Install for instructions on setting up the external tools.

Workflow of the FEM Workbench; the workbench calls two external programs to perform meshing of a solid object, and perform the actual solution of the finite element problem

Menu: Model

  • Analysis container: Creates a new container for a mechanical analysis. If a solid is selected in the tree view before clicking on it, the meshing dialog will be opened next.

Materials


  • image is missing Reinforced material: Lets you select reinforced materials consist of a matrix and a reinforcement from the database.

Element Geometry

Electrostatic Constraints

Fluid constraints

Mechanical constraints

  • Constraint force: Used to define a force in [N] applied uniformly to a selectable face in a definable direction.

Thermal constraints

Menu: Mesh

  • Nodes set: Creates/defines a node set from FEM mesh.

Menu: Solve

  • Solver Calculix CCX tools: Creates a new solver for this analysis. In most cases the solver is created together with the analysis.
  • Solver Elmer: Creates the solver controller for Elmer. It is independent from other solver objects.

Menu: Results

  • Result show: Used to display the result of an analysis.

Menu: Utilities

Context Menu

Preferences

Information

The following pages explain different topics of the FEM Workbench.

FEM Install: a detailed description on how to set up the external programs used in the workbench.

FEM Mesh: further information on obtaining a mesh for finite element analysis.

FEM Solver: further information on the different solvers available in the workbench, and those that could be used in the future.

FEM CalculiX: further information on CalculiX, the default solver used in the workbench for structural analysis.

FEM Concrete: interesting information on the topic of simulating concrete structures.

FEM Project: further information on the unit system, limitations, and the development ideas and roadmap of the workbench.

Tutorials

Tutorial 1: FEM CalculiX Cantilever 3D; basic simply supported beam analysis.

Tutorial 2: FEM Tutorial; simple tension analysis of a structure.

Tutorial 3: FEM Tutorial Python; set up the cantilever example entirely through scripting in Python, including the mesh.

Tutorial 4: FEM Shear of a Composite Block; see the deformation of a block that is comprised of two materials.

Tutorial 5: Transient FEM analysis

Tutorial 6: Post-Processing_of_FEM_Results_with_Paraview

Tutorial 7: FEM Example Capacitance Two Balls; Elmer's GUI tutorial 6 "Electrostatics Capacitance Two Balls" using FEM Examples.


Coupled thermal mechanical analysis tutorials by openSIM

Video tutorial 1: FEM video for beginner (including YouTube link)

Video tutorial 2: FEM video for beginner (including YouTube link)

Many video tutorials: anisim Open Source Engineering Software (in German)

Extending the FEM Workbench

The FEM Workbench is under constant development. An objective of the project is to find ways to easily interact with various FEM solvers, so that the end user can streamline the process of creating, meshing, simulating, and optimizing an engineering design problem, all within FreeCAD.

The following information is aimed at power users and developers who want to extend the FEM Workbench in different ways. Familiarity with C++ and Python is expected, and also some knowledge of the "document object" system used in FreeCAD is necessary; this information is available in the Power users hub and the Developer hub. Please notice that since FreeCAD is under active development, some articles may be too old, and thus obsolete. The most up to date information is discussed in the FreeCAD forums, in the Development section. For FEM discussions, advice or assistance in extending the workbench, the reader should refer to the FEM subforum.

The following articles explain how the workbench can be extended, for example, by adding new types of boundary conditions (constraints), or equations.

A developer's guide has been written to help power users in understanding the complex FreeCAD codebase and the interactions between the core elements and the individual workbenches. The book is hosted at github so multiple users can contribute to it and keep it updated.