FreeCAD Logo FreeCAD 1.0
  • English Afrikaans Arabic Belarusian Catalan Czech German Greek Spanish Spanish Basque Finnish Filipino French Galician Croatian Hungarian Indonesian Italian Japanese Kabyle Korean Lithuanian Dutch Norwegian Bokmal Polish Portuguese Portuguese Romanian Russian Slovak Slovenian Serbian Swedish Turkish Ukrainian Valencian Vietnamese Chinese Chinese
  • Features
  • Download
  • Blog
  • Documentation
    Documentation index Getting started Users documentation The FreeCAD manual Workbenches documentation Python coding documentation C++ coding documentation Tutorials Frequently asked questions Privacy policy About FreeCAD
  • Contribute
    How to help Sponsor Report a bug Make a pull request Jobs and funding Contribution guidelines Developers handbook Translations
  • Community
    Code of conduct Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendar
  • ♥ Donate

Donate

$
SEPA Information
Please set up your SEPA bank transfer to:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Bank agency: BNP Paribas Fortis
Address: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!

Constant Vacuum Permittivity
Mesh From Shape by Gmsh
FEM

FEM MeshNetgenFromShape

Menu location
Mesh → Mesh From Shape by Netgen
Workbenches
FEM
Default shortcut
None
Introduced in version
-
See also
FEM tutorial

Solvers
All

Description

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) to generate the mesh. Netgen meshes are not supported by Elmer.

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

introduced in 1.0: The refactored Netgen mesher is available. It can be activated in the preferences and is installed via Python bindings as explained on the aforementioned FEM Install page.

Usage

  1. Select the shape you want to analyze. For a volume, this needs to be solid or compsolid. A compsolid is necessary if your part is made from multiple materials (a compsolid can be created with the Part BooleanFragments command).
  2. There are several ways to invoke the command:
    • Press the Mesh From Shape by Netgen button.
    • Select the Mesh → Mesh From Shape by Netgen option from the menu.
  3. Optionally, set the max/min element size (the default setting usually creates meshes that are too coarse) and element order (using the Second Order checkbox).
  4. Optionally, change the Fineness to one of the predefined choices or choose UserDefined and manually edit the parameters.
  5. Click the Apply button to generate the mesh. introduced in 1.0: Optionally, use the Cancel button to abort meshing if using the new Netgen implementation.
  6. Click the OK button to generate the mesh and close the dialogue. You can also click the Cancel button to cancel the changes or creation of the mesh object.

Properties - Legacy Netgen

  • DataMax. Size: Maximum size of the element in mm.
  • DataMin. Size: introduced in 1.0: Minimum 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: Offers predefined levels of mesh density.
  • 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

Properties - Refactored Netgen

  • DataBad Element Limit: Limit for max element angle (150-180).
  • DataBase Element Np: If non-zero, baseelement must have BaseElementlNp points.
  • DataBlock Fill: If enabled, block filling is performed.
  • DataCheck Chart Boundary: If enabled, chart boundary is checked.
  • DataCheck Impossible
  • DataCheck Overlap: If enabled, overlapping surfaces are checked.
  • DataCheck Overlapping Boundary: If enabled, overlapping surface mesh is checked before volume meshing.
  • DataClose Edge Factor: Factor to restrict meshing based on close edges.
  • DataCurvature Safety: Safety factor for curvatures (elements per radius).
  • DataDelaunay: If enabled, Delaunay algorithm is used for 3D meshing.
  • DataDelaunay2d: If enabled, Delaunay algorithm is used for 2D meshing.
  • DataElement Order: High order element curvature.
  • DataElement Size Weight: Weight of element size with respect to element shape.
  • DataEnd Step: Last step:
    • AnalyzeGeometry
    • MeshEdges
    • MeshSurface
    • OptimizeSurface
    • MeshVolume
    • OptimizeVolume
  • DataFill Distance: Block filling up to distance.
  • DataFineness: Offers predefined levels of mesh density:
    • VeryCoarse
    • Coarse
    • Moderate
    • Fine
    • VeryFine
    • UserDefined
  • DataGive Up Tolerance: Give up quality class for 3D meshing.
  • DataGive Up Tolerance2d: Give up quality class for 2D meshing.
  • DataGive Up Tolerance Open Quads: Give up quality class for closing open quads, greater than 100 for free pyramids.
  • DataGlue: introduced in 1.1: Glue shapes to get a conformal mesh.
  • DataGrowth Rate: Grading for local h.
  • DataHeal Shape: If enabled, shape is healed before meshing.
  • DataInvert Tets
  • DataInvert Trigs
  • DataLocal H: If enabled, uses local h.
  • DataMax Outer Steps: Maximum outer steps.
  • DataMax Size: Maximum size of the element in mm.
  • DataMin Size: Minimum size of the element in mm.
  • DataOnly3d Domain Nr
  • DataOptimization Error Power: Power of error to approximate max error optimization.
  • DataOptimization Steps2d: Number of 2D optimization steps.
  • DataOptimization Steps3d: Number of 3D optimization steps.
  • DataOptimize2d: 2D optimization strategy.
  • DataOptimize3d: 3D optimization strategy.
  • DataParallel Meshing: If enabled, uses parallel meshing.
  • DataQuad Dominated: If enabled, uses quad dominated surface meshing.
  • DataRelinner Safety: Radius of active environment (times h).
  • DataSafety: Radius of local environment (times h).
  • DataSecond Order: If enabled, uses second order element meshing.
  • DataSecond Order Linear: If enabled, second order nodes are created by linear interpolation.
  • DataSegments Per Edge: Minimum number of segments per edge.
  • DataSloppy: Quality tolerances are handled less careful.
  • DataStar Shape Class: Class starting star-shape filling.
  • DataStart In Surface: If enabled, starts surface meshing from everywhere in surface.
  • DataStart Step: First step:
    • AnalyzeGeometry
    • MeshEdges
    • MeshSurface
    • OptimizeSurface
    • MeshVolume
    • OptimizeVolume
  • DataTry Hexes: If enabled, tries hexahedral elements.
  • DataUse Local H: If enabled, uses local H.
  • DataZRefine: introduced in 1.1: Z-refinement for extruded shapes, can create extruded hex meshes when combined with the Quad Dominated property. Will work only for first-order meshes (unless the generated elements are all hexahedrons):
    • No - Z-refinement is disabled
    • Regular - all elements have the same height
    • Custom - the height of each element must be specified
  • DataZRefine Direction: introduced in 1.1: Z-refinement direction (change if the shape is extruded in a direction other than the Z-axis).
  • DataZRefine Size: introduced in 1.1: Z-refinement size (element height) given as a fraction of the shape size (total height). For a regular partition, only one value is needed.


Constant Vacuum Permittivity
Mesh From Shape by Gmsh
FEM

This page is retrieved from https://wiki.freecad.org/FEM_MeshNetgenFromShape

Get in touch!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© The FreeCAD Team. Homepage image credits (top to bottom): ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

This project is supported by: , KiCad Services Corp. and other sponsors

GitHubImprove this page on GitHub