FEM workbench icon
简介
FEM 工作台 为 FreeCAD 提供了现代化有限元分析 (FEA)工作流,即将用于创建分析的所有工具集成到了单个图形用户界面(GUI)中。
工作流程
创建有限元分析的流程如下:
预处理:配置仿真问题
几何建模:使用FreeCAD创建几何图形,或从外部导入几何图形。
创建分析
为几何模型添加约束(例如载荷和固定支撑)。
为几何模型的部件设定材质。
为几何模型创建有限元网格,或从其他应用程序中导入该网格。
求解:在FreeCAD内部运行外部求解器。
后处理:在 FreeCAD 中将仿真结果可视化,或是导出结果以在其它应用中进行后处理
FEM工作台可在Linux,Windows和Mac OSX系统上使用。由于工作台使用了外部求解器,因此具体的手动配置工作多少取决于你所使用的系统平台。关于配置外部工具的步骤请参考 FEM 安装 文档。
FEM工作台的流程;工作台会调用两个外部程序,分别用于为固体对象生成网格和为有限元问题求解
菜单:模型
材质
Element Geometry
Electromagnetic Boundary Conditions
Fluid Boundary Conditions
Geometrical Analysis Features
Section Print Feature : Used to print the predefined facial output variables (forces and moments) to the data file.
Mechanical Boundary Conditions and Loads
Rigid Body Constraint : Used to apply the CalculiX's rigid body constraint that constrains the motion of the nodes of a selected geometrical entity to the motion of a reference point positioned by the user. introduced in 1.0
Force Load : Used to define a force in [N] applied uniformly to the selected geometric entity in the defined direction.
Gravity Load : Used to define a gravity acceleration acting on a model.
Thermal Boundary Conditions and Loads
Overwrite Constants
Mesh Refinement : Creates a localized area(s) to mesh which highly optimizes analysis time.
Mesh Group : Groups and labels elements of a mesh (vertex, edge, surface) together, useful for exporting the mesh to external solvers.
FEM Mesh to Mesh : Converts surfaces of 3D elements or whole 2D elements of a selected FEM mesh to surface mesh.
Solver Elmer : Creates the solver controller for the Elmer solver.
Solver Z88 : Creates the solver controller for the Z88 solver.
Mechanical Equations
Electromagnetic Equations
Run Solver : Runs the selected solver of the active analysis.
Post Pipeline From Result : Used to add a new graphical representation of FEM analysis results (color scale and more display options).
Warp Filter : Used to visualize the scaled deformed shape of the model.
Function Cut Filter : Used to display the results on a plane, a sphere, a cylinder, or a box cutting through the model.
Region Clip Filter : Used to clip a field with a plane, a sphere, a cylinder, or a box cutting through the model.
Filter Functions
Plane : Cuts the result mesh with a plane.
Sphere : Cuts the result mesh with a sphere.
Data Visualizations
Clear FEM Mesh : Deletes the mesh file from the FreeCAD file. Useful to make a FreeCAD file lighter.
Display Mesh Info : Displays basic statistics of existing mesh - number of nodes and elements of each type.
Obsolete tools
Fluid boundary condition : Used to define a fluid boundary condition. Did not have a solver. Not available in 1.0 and above .
Constraint bearing : Used to define a bearing constraint. Did not have a solver. Not available in 1.0 and above .
Constraint gear : Used to define a gear constraint. Did not have a solver. Not available in 1.0 and above .
Constraint pulley : Used to define a pulley constraint. Did not have a solver. Not available in 1.0 and above .
Nodes set : Creates/defines a node set from FEM mesh. Tool was unfinished and couldn't be used. Not available in 1.0 and above .
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 Geometry Preparation and Meshing : tips regarding geometry preparation for FEM and meshing.
FEM Mesh : details about meshes in the FEM Workbench.
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.
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 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)
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.
Extending the FEM Workbench documentation
FEM
Solve: Solver CalculiX , Solver Elmer , Solver Mystran , Solver Z88 ; Mechanical Equations: Elasticity Equation , Deformation Equation ; Electromagnetic Equations: Electrostatic Equation , Electricforce Equation , Magnetodynamic Equation , Magnetodynamic 2D Equation , Static Current Equation ; Flow Equation , Flux Equation , Heat Equation , Solver Job Control , Run Solver
Results: Purge , Show ; Postprocessing: Apply changes , Pipeline from result , Warp filter , Scalar clip filter , Function cut filter , Region clip filter , Contours filter , Line clip filter , Stress linearization plot , Data at point clip filter , Filter function plane , Filter function sphere , Filter function cylinder , Filter function box
User documentation
Getting started
Installation: Download , Windows , Linux , Mac , Additional components , Docker , AppImage , Ubuntu Snap
Basics: About FreeCAD , Interface , Mouse navigation , Selection methods , Object name , Preferences , Workbenches , Document structure , Properties , Help FreeCAD , Donate
Help: Tutorials , Video tutorials
Workbenches : Std Base , Assembly , BIM , CAM , Draft , FEM , Inspection , Material , Mesh , OpenSCAD , Part , PartDesign , Points , Reverse Engineering , Robot , Sketcher , Spreadsheet , Surface , TechDraw , Test Framework