FEM Mesh

Create a FEM Mesh
There are different possibilities to create a FEM Mesh in FreeCAD:
 * The FreeCAD FEM mesh Netgen tool MeshNetgenFromShape by GUI usage or by Python
 * The FreeCAD FEM mesh GMSH tool MeshGmshFromShape by GUI usage or by Python
 * Python directly means make the FEM Mesh by Hand
 * Import a FEM Mesh

Objects created in PartDesign and Part are supported, as well as simple copies of those bodies. There are two meshers available to the user: Netgen and GMSH. Netgen is included in FreeCAD. Refer to FEM Install For FEM Mesh generation by GMSH user psicofil has provided a GMSHMesh Macro.

FEM Mesh Elements in FreeCAD
FreeCAD supports various element types. There is an external blog link which explains about the differences and when to use which element type: https://www.comsol.com/blogs/meshing-your-geometry-various-element-types/


 * "ni" means the element type is not implemented in FreeCAD but the format would support it.
 * "-" means the format specification does not support this element type, thus FreeCAD can not support it.
 * "?" it is not known if the format supports this element type.

General
More informations about the FEM element types and their data structure inside FreeCAD can be find on FEM Element Types.

Creating a mesh with one Tet-10 Elements
If you want to have predefined element and node numbering:

Visual handling
Highlight some nodes on the view:

Postprocessing colors and displacement: Highlight some nodes on the view:

Script one Element of each supported Element Type
Fem Workbench