FEM MeshNetgenFromShape

From FreeCAD Documentation
Jump to navigation Jump to search
This page contains changes which are not marked for translation.
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎polski • ‎русский

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

FEM MeshNetgenFromShape.svg FEM MeshNetgenFromShape

Menu location
FEM → FEM mesh from shape by Netgen
Default shortcut
Introduced in version
See also
FEM tutorial


For a finite element analysis the geometry needs to be discretized into a FEM Mesh. This command uses Netgen (which needs to be installed on the system) for calculating the mesh.

Depending on your operating system and your installation package Netgen might be bundled with FreeCAD or not. For further information see FEM Install.


  1. Select the shape you want to analyze. For volume FEM this needs to be a solid or compsolid. A compsolid is necessary if your part is made from multiple materials. (A compsolid can be created with the BooleanFragments command.)
    • Press the FEM MeshNetgenFromShape.svg FEM MeshNetgenFromShape button, or
    • select the Mesh → FEM MeshGmshFromShape.svg FEM mesh from shape by Netgen option from the menu.
  2. Optionally, edit the parameters.
  3. Click the Apply button to make a mesh, or OK button to make a mesh and close the dialogue.


  • DataMax. Size: Maximum size of the element in mm.
  • DataSecond order: Second order elements contain more nodes per element. Usually, it is enough to use rougher mesh to obtain same solution precision as with the first order elements,
    • true (default); second order elements,
    • false; first order elements.
  • DataFineness: Defines how fine the mesh should be.
  • DataGrowth Rate: Defines how much adjacent elements can differ in size.
  • DataNb. Segs per Edge: Defines the minimum number of mesh segments per edge.
  • DataNb. Segs per Radius: Defines the minimum number of mesh segments per radius.
  • DataOptimize:
    • true (default); applies optimization algorithm to improve mesh quality,
    • false;