SurfaceMesh from FEMMesh don't work with 2D-Meshes

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
UR_
Veteran
Posts: 1350
Joined: Tue Jan 03, 2017 8:42 pm

SurfaceMesh from FEMMesh don't work with 2D-Meshes

Post by UR_ »

Hello,

exporting a surface mesh from a volume mesh works fine.
SurfaceMeshFromFEMMeshButton.png
SurfaceMeshFromFEMMeshButton.png (2.19 KiB) Viewed 1243 times

But exporting a mesh from shells delievers an empty mesh
empty mesh.png
empty mesh.png (6.89 KiB) Viewed 1243 times
MeshFromPlane.png
MeshFromPlane.png (20.99 KiB) Viewed 1243 times

Is this not implemented?

Tried this for this task https://forum.freecadweb.org/viewtopic.php?f=18&t=23711
But can't get mesh exported.

Faking .geo-file works of course:
// save
Mesh.Format = 27;
// Ignore Physical definitions and save all elements;
Mesh.SaveAll = 1;
Save "c:\users\aio\appdata\local\temp\daveSampleOutsideMetal_Mesh_TmpGmsh.stl";



File:
SurfaceMeshExport.FCStd
(119.08 KiB) Downloaded 27 times

Tried with:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11731 (Git)
Build type: Release
Branch: master
Hash: 46aab48e6ae2855faee77cb925b498bf4dd738e5
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
gmesh_3.0.4
fandaL
Posts: 439
Joined: Thu Jul 24, 2014 8:29 am

Re: SurfaceMesh from FEMMesh don't work with 2D-Meshes

Post by fandaL »

For converting 2D elements, you need the script from the wiki:
https://freecadweb.org/wiki/FEM_FemMesh2Mesh
UR_
Veteran
Posts: 1350
Joined: Tue Jan 03, 2017 8:42 pm

Re: SurfaceMesh from FEMMesh don't work with 2D-Meshes

Post by UR_ »

fandaL wrote: Fri Aug 04, 2017 8:07 pm you need the script from the wiki
Thank you!
That worked.

BTW, wouldn't be better, if this becomes joined with that functionality
SurfaceMeshFromFEMMeshButton.png
SurfaceMeshFromFEMMeshButton.png (2.19 KiB) Viewed 1218 times

especially after this advertisement :)
https://forum.freecadweb.org/viewtopic. ... 50#p178208
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: SurfaceMesh from FEMMesh don't work with 2D-Meshes

Post by wmayer »

wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: SurfaceMesh from FEMMesh don't work with 2D-Meshes

Post by wmayer »

Post Reply