FEM Mesh Region

About the development of the FEM module/workbench.

Moderator: bernd

akhavr
Posts: 3
Joined: Fri May 15, 2020 1:56 pm

Re: FEM Mesh Region

Post by akhavr »

Hello, newbie here.

I'm working on the FEM composite tutorial and got issues.

At first, I've thought that something is wrong with my model, but I've downloaded this file
HarryvL wrote: Wed Jan 31, 2018 11:33 pm UPDATED ATTACHMENT:
BIM(2).fcstd
..and still get message
FEM mesh has neither volume nor shell or edge elements. Provide a FEM mesh with elements!
Here's my system information:
OS: Ubuntu 16.04.6 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16146 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.18.4)
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Ukrainian/Ukraine (uk_UA)

$ ~/gmsh-4.5.6-Linux64/bin/gmsh -info
Version : 4.5.6
License : GNU General Public License
Build OS : Linux64
Build date : 20200330
Build host : gmsh.info
Build options : 64Bit ALGLIB Ann Bamg Blas[custom] Blossom Cgns DIntegration Dlopen DomHex Fltk Gmm Hxt Hxt3D Jpeg[fltk] Kbipack Lapack[custom] LinuxJoystick MathEx Med Mesh Metis Mmg3d Mpeg Netgen ONELAB ONELABMetamodel OpenCASCADE OpenCASCADE-CAF OpenGL OptHom Parser Plugins Png[fltk] Post QuadTri Solver TetGen/BR Voro++ Zlib
FLTK version : 1.4.0
OCC version : 7.3.1
MED version : 4.0.0
Packaged by : geuzaine
Web site : http://gmsh.info
Issue tracker : https://gitlab.onelab.info/gmsh/gmsh/issues
What I'm doing wrong?
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: FEM Mesh Region

Post by bernd »

would you post the FreeCAD file or an link to the file you have problem with.
akhavr
Posts: 3
Joined: Fri May 15, 2020 1:56 pm

Re: FEM Mesh Region

Post by akhavr »

bernd wrote: Fri May 15, 2020 3:46 pm would you post the FreeCAD file or an link to the file you have problem with.
It's exactly the one, that was used in the tutorial and was posted in this thread previously: https://forum.freecadweb.org/download/file.php?id=52497
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: FEM Mesh Region

Post by bernd »

akhavr wrote: Tue May 19, 2020 2:14 pm
bernd wrote: Fri May 15, 2020 3:46 pm would you post the FreeCAD file or an link to the file you have problem with.
It's exactly the one, that was used in the tutorial and was posted in this thread previously: https://forum.freecadweb.org/download/file.php?id=52497
works great here

- deactivate group meshing in FEM prefs
- load the file
- double click on mesh object
- mesh

Code: Select all

Active analysis found: Analysis
Active analysis found: Analysis
  ElementDimension: 3
  No Group meshing for analysis.
  Mesh regions, we need to get the elements.
  {'Solid1': 5.0, 'Solid2': 1.0}
  {'Solid1': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'Solid2': [8, 9, 10, 11, 13, 12, 14, 15]}
  C:/Users/BHA/Downloads/BIM(2)\FEMMeshGmsh\CompoundFilter_Geometry.brep
  C:/Users/BHA/Downloads/BIM(2)\FEMMeshGmsh\CompoundFilter_Mesh.unv
  C:/Users/BHA/Downloads/BIM(2)\FEMMeshGmsh\shape2mesh.geo
  C:/0_BHA_privat/progr/Gmsh/gmsh.exe
  New mesh was added to the mesh object.
Clean run of Gmsh
- right click on mesh object --> mesh info

Code: Select all

========================== Dump contents of mesh ==========================

1) Total number of nodes:      	2476
2) Total number of edges:      	84
3) Total number of faces:      	510
4) Total number of polygons:   	0
5) Total number of volumes:    	1755
6) Total number of polyhedrons:	0

7) Total number of linear edges:	0
8) Total number of linear faces:	0
9) Total number of linear volumes:	0

10) Total number of quadratic edges:	84
11) Total number of quadratic faces:	510
11.1) Number of quadratic triangles:  	510
11.2) Number of quadratic quadrangles:	0
12) Total number of quadratic volumes:	1755
12.1) Number of quadratic hexahedrons: 	0
12.2) Number of quadratic tetrahedrons:	1755
12.3) Number of quadratic prisms:      	0
12.4) Number of quadratic pyramids:    	0

===========================================================================
1755 tet10


Code: Select all

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21068 (Git)
Build type: Release
Branch: master
Hash: 92fe9adebbff910c5a10d6230785a6b58935b677
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)


screen.png
screen.png (581.91 KiB) Viewed 1040 times
akhavr
Posts: 3
Joined: Fri May 15, 2020 1:56 pm

Re: FEM Mesh Region

Post by akhavr »

Thanks. This time it worked. Either "group meshing" was turned on in my FEM prefs, or I misunderstood UI actions necessary to do the mesh.
lightshah
Posts: 2
Joined: Wed Mar 03, 2021 8:19 am

Re: FEM Mesh Region

Post by lightshah »

I am newbie here and I try to follow the tutorial but ended up with 'FEM mesh has neither volume nor shell or edge elements. Provide a FEM mesh with elements!'
compst_shear.FCStd
(16.15 KiB) Downloaded 31 times
is there something i missed?
Attachments
Screenshot from 2021-03-03 15-23-52.png
Screenshot from 2021-03-03 15-23-52.png (46.83 KiB) Viewed 812 times
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: FEM Mesh Region

Post by jmaustpc »

lightshah wrote: Wed Mar 03, 2021 8:29 am is there something i missed?
Hi, welcome to FreeCAD. :)

I don't know much about the details of FEM, but I do know you need the latest FreeCAD 0.19, please post your version data in the manner explained in the forum rules links above.

OS: Ubuntu 18.04.5 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: c240777a7de9fbb69472e6cbf589e83559a9ef17
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.5.1
Locale: English/Australia (en_AU)
lightshah
Posts: 2
Joined: Wed Mar 03, 2021 8:19 am

Re: FEM Mesh Region

Post by lightshah »

jmaustpc wrote: Wed Mar 03, 2021 11:24 am Hi, welcome to FreeCAD. :)

I don't know much about the details of FEM, but I do know you need the latest FreeCAD 0.19, please post your version data in the manner explained in the forum rules links above.
Thank you for your reply :) :) :)

Nice features FreeCAD have. I am planning to learn mechanical FEM then that temperature and electromagnetics features :) :) :) .

It turned out I am using 0.18. I thought I had the newest version from ubuntu repository. I will update later after I make some progresses.

Always nice to have this kind of community. :) :) :)

OS: Ubuntu Core 16
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 +53 (Git)
Build type: Unknown
Branch: 0.18.4
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.5.2
Qt version: 5.5.1
Coin version: 4.0.0a
OCC version: 7.4.0
Locale: English/UnitedStates (en_US)
Post Reply