GuiCommand: Name: FEM MeshDisplayInfo MenuLocation: Context menu on mesh object , Display FEM mesh info Workbenches: FEM_Workbench SeeAlso: FEM_tutorial
FEM MeshDisplayInfo
Description
Displays basic statistics of existing mesh - number of nodes and elements of each type. Particularly, total number of the following features is shown:
- Nodes,
- Edges,
- Faces,
- Polygons,
- Volumes,
- Polyhedrons,
* Linear edges,
- Linear faces,
- Linear volumes,
* Quadratic edges,
- Quadratic faces,
- Quadratic triangles,
- Quadratic quadrangles,
- Quadratic volumes,
- Quadratic hexahedrons,
- Quadratic tetrahedrons,
- Quadratic prisms,
- Quadratic pyramids.
Usage
- Create finite element mesh first (using one of the available techniques).
- Select the mesh in the Tree view.
- Right click on it and choose the
Display FEM mesh info option.
- To close the FEM Mesh Info window, click OK.
Scripting
{{code|code=
setup some model with a fem mesh to print information from
from femexamples.ccx_cantilever_faceload import setup setup()
print the fem mesh information
print(App.ActiveDocument.Mesh.FemMesh) }}
will output the following result:
{{code|code=
print(App.ActiveDocument.Mesh.FemMesh) ========================== Dump contents of mesh ==========================
-
Total number of nodes: 228
-
Total number of edges: 0
-
Total number of faces: 0
-
Total number of polygons: 0
-
Total number of volumes: 79
-
Total number of polyhedrons: 0
-
Total number of linear edges: 0
-
Total number of linear faces: 0
-
Total number of linear volumes: 0
-
Total number of quadratic edges: 0
-
Total number of quadratic faces: 0
-
Total number of quadratic volumes: 79 12.1) Number of quadratic hexahedrons: 0 12.2) Number of quadratic tetrahedrons: 79 12.3) Number of quadratic prisms: 0 12.4) Number of quadratic pyramids: 0
=========================================================================== }}
{{FEM Tools navi}}
⏵ documentation index > FEM > FEM MeshDisplayInfo
This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/FEM_MeshDisplayInfo.md