FEM MeshGmshFromShape: Difference between revisions

From FreeCAD Documentation
(Usage again...)
No edit summary
Line 5: Line 5:
<!--T:8-->
<!--T:8-->
{{Docnav
{{Docnav
|[[FEM_MeshNetgenFromShape|FEM mesh from shape by Netgen]]
|[[FEM_MeshNetgenFromShape|Mesh from shape by Netgen]]
|[[FEM_MeshBoundaryLayer|FEM mesh boundary layer]]
|[[FEM_MeshBoundaryLayer|Mesh boundary layer]]
|[[FEM_Module|FEM]]
|[[FEM_Module|FEM]]
|IconL=FEM_MeshNetgenFromShape.svg
|IconL=FEM_MeshNetgenFromShape.svg
Line 24: Line 24:


<!--T:7-->
<!--T:7-->
For a finite elements analysis the geometry needs to be discretized into a [[FEM_Mesh|FEM Mesh]]. This command uses gmsh (which needs to be installed on the system) for calculating the mesh.
For a finite elements analysis the geometry needs to be discretized into a [[FEM_Mesh|FEM Mesh]]. This command uses Gmsh (which needs to be installed on the system) for calculating the mesh.


==Usage== <!--T:5-->
==Usage== <!--T:5-->
Line 31: Line 31:
# 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 [[Part_BooleanFragments|BooleanFragments]] command.) -- For shell and beam FEM somebody needs to fill in the details here.
# 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 [[Part_BooleanFragments|BooleanFragments]] command.) -- For shell and beam FEM somebody needs to fill in the details here.
# There are several ways to invoke the command:
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:FEM_MeshGmshFromShape.svg|16px]] [[FEM_MeshGmshFromShape|FEM MeshGmshFromShape]]}} button.
#* Press the {{Button|[[Image:FEM_MeshGmshFromShape.svg|16px]] [[FEM_MeshGmshFromShape|MeshGmshFromShape]]}} button.
#* Select the {{MenuCommand|Mesh → [[Image:FEM_MeshGmshFromShape.svg|16px]] FEM mesh from shape by Gmsh}} option from the menu.
#* Select the {{MenuCommand|Mesh → [[Image:FEM_MeshGmshFromShape.svg|16px]] Mesh from shape by Gmsh}} option from the menu.
# Optionally edit the minimal and maximal element size. (Autodetection works fine unless you apply complicated boundary conditions.)
# Optionally edit the minimal and maximal element size. (Autodetection works fine unless you apply complicated boundary conditions.)
# Click the {{Button|Apply}} button and wait for the computation of the mesh to complete
# Click the {{Button|Apply}} button and wait for the computation of the mesh to complete
Line 40: Line 40:
<!--T:9-->
<!--T:9-->
{{Docnav
{{Docnav
|[[FEM_MeshNetgenFromShape|FEM mesh from shape by Netgen]]
|[[FEM_MeshNetgenFromShape|Mesh from shape by Netgen]]
|[[FEM_MeshBoundaryLayer|FEM mesh boundary layer]]
|[[FEM_MeshBoundaryLayer|Mesh boundary layer]]
|[[FEM_Module|FEM]]
|[[FEM_Module|FEM]]
|IconL=FEM_MeshNetgenFromShape.svg
|IconL=FEM_MeshNetgenFromShape.svg

Revision as of 21:05, 28 February 2021

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 MeshGmshFromShape

Menu location
Mesh → FEM mesh from shape by Gmsh
Workbenches
FEM
Default shortcut
None
Introduced in version
-
See also
FEM tutorial

Description

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

Usage

  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.) -- For shell and beam FEM somebody needs to fill in the details here.
  2. There are several ways to invoke the command:
    • Press the MeshGmshFromShape button.
    • Select the Mesh → Mesh from shape by Gmsh option from the menu.
  3. Optionally edit the minimal and maximal element size. (Autodetection works fine unless you apply complicated boundary conditions.)
  4. Click the Apply button and wait for the computation of the mesh to complete
  5. Close the task. You now should see a new FEMMeshGMSH object in your active analysis container.