|
Menu location |
---|
Mesh → FEM mesh refinement |
Workbenches |
FEM |
Default shortcut |
None |
Introduced in version |
- |
See also |
FEM tutorial |
Solvers |
---|
All |
Description
Enables the user to set a localized set of meshing parameters by selecting a set of elements (vertex, edge, face) and applying the parameters to it. It is especially useful for refining meshes in areas of interest or areas where the solver will generate a stronger gradient of a variable. For example, it can be used to refine the mesh around stress-risers (sharp edges, holes, notches, ...) in mechanical analysis, or at areas of contraction in a fluid flow.
Refining the mesh has the advantage of enabling accurate simulation where needed, while allowing coarser mesh in the wider domain, thus drastically optimizing the computation time while maintaining meaningful solutions output.
Usage
- To enable the command a
FEM mesh from shape by Gmsh or (1.1 and above)
FEM mesh from shape by Netgen must be provided first.
- Select the Mesh object in the Tree view.
- There are several ways to invoke the command:
- Press the
FEM mesh refinement button.
- Select the Mesh →
FEM mesh refinement option from the menu.
- Press the
- Press the Add button and select one or more of either faces, edges or vertices in the 3D view to apply the mesh refinement to. The selected items will appear in the list of geometrical objects. The selection mode can be also set to Solid.
- Enter the maximum element size for the region.
- Click the OK button.
- Close the task.
- Result: You now should see a new
FEMMeshRegion
object under theFEMMeshGmsh
or (1.1 and above)FEMMeshNetgen
object (see example #3 below) in your active analysis container.
- Result: You now should see a new
- Double-click on the
FEMMeshGmsh
or (1.1 and above)FEMMeshNetgen
parent object in your Model Tree and press Apply to force a mesh recalculation. - Close the task.
After the mesh has been created, you can change its properties using the property editor. After you change a property, you must reopen the mesh dialog again and click the Apply button (you can leave the dialog open while changing properties).
You can create as many different mesh regions as needed.
Visual examples
Example 1: The initial coarse FEM Mesh by GMSH
Example 2: After applying a Mesh refinement using two FEM Mesh Region objects, the large hole is refined to a maximum element size of 3 mm, the smaller hole is refined to 1 mm
Example 3: A simple example of the resulting Model Tree
Notes
- The order in which the regions are shown in Tree view can change the mesh result. See this forum thread.
Related
- "Mesh Regions for a Better Analysis" - Video Tutorial by Joko Engineering (link)
This page is retrieved from https://wiki.freecad.org/FEM_MeshRegion