Unable to generate Mesh

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
User avatar
cnirbhay
Posts: 115
Joined: Wed Aug 17, 2016 4:24 pm

Unable to generate Mesh

Post by cnirbhay »

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10031 (Git)
Build type: Release
Branch: master
Hash: 0a6b382d718864b4733c58816b3fd111583499ca
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0

I'm unable to use FEM workbench as it does not generate the mesh and displays the following message:
Screenshot (239).png
Screenshot (239).png (128.42 KiB) Viewed 1933 times
Earlier in 0.16 version, it used to work fine. Kindly help me with this.

Regards.
fandaL
Posts: 440
Joined: Thu Jul 24, 2014 8:29 am

Re: Unable to generate Mesh

Post by fandaL »

Someone who is used to compile FC might give you better answer.
I understand it that 0.17 dev is compiled without Netgen since we can use next icon (with G letter instead of N) to generate mesh by GMSH.
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Unable to generate Mesh

Post by Jee-Bee »

User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Unable to generate Mesh

Post by bernd »

you are on windows ...

the latest dev from https://github.com/FreeCAD/FreeCAD/releases does not include netgen mesher in FEM. This since the merge of new smesh code.

first solution:
Thus on https://github.com/FreeCAD/FreeCAD/releases you can download 0.17.7745 which includes netgen. You can open both FreeCAD and copy the mesh from 0.17.7745 to 0.17.1xxx without any problem. Keep in mind to ONLY use 0.17.7745 for meshing. Most other FEM objects from 0.17.7745 does not work in uptodate FreeCAD.

second solution:
use the GMSH mesher, it is the button with the G right next to the one you pressed.
User avatar
cnirbhay
Posts: 115
Joined: Wed Aug 17, 2016 4:24 pm

Re: Unable to generate Mesh

Post by cnirbhay »

first solution:
Thus on https://github.com/FreeCAD/FreeCAD/releases you can download 0.17.7745 which includes netgen. You can open both FreeCAD and copy the mesh from 0.17.7745 to 0.17.1xxx without any problem. Keep in mind to ONLY use 0.17.7745 for meshing. Most other FEM objects from 0.17.7745 does not work in uptodate FreeCAD.
Thank you so much. This solution worked. :-)
second solution:
use the GMSH mesher, it is the button with the G right next to the one you pressed.
Sorry, but this solution didn't work. I tried downloading GMSHMesh macro (https://github.com/psicofil/Macros_Free ... sh.FCMacro) also, but it does not generate mesh.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Unable to generate Mesh

Post by bernd »

cnirbhay wrote:
second solution:
use the GMSH mesher, it is the button with the G right next to the one you pressed.
Sorry, but this solution didn't work. I tried downloading GMSHMesh macro (https://github.com/psicofil/Macros_Free ... sh.FCMacro) also, but it does not generate mesh.
You do not need the macro anymore. It is all included in the latest version from github relrases. Just use the meshbutton with a G on the icon.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Unable to generate Mesh

Post by bernd »

Post Reply