TETGEN

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
pg1988
Posts: 3
Joined: Tue Jun 17, 2014 1:48 pm

TETGEN

Post by pg1988 »

Hello,
I want to use tetgen for re-meshing part of a cube. This is the first time I am using this software. I have already executed the C++ code given in the manual and it works fine. Now, I wish to re-mesh a part of a cube but I am confused as to how should I start the code or how should I pick certain faces/edges to be re-meshed. Any help would be appreciated.
Thanks
PG
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: TETGEN

Post by jmaustpc »

Hi
Did you mean Netgen
http://sourceforge.net/projects/netgen-mesher/

or do you really mean Tetgen?

www.tetgen.org

Jim
pg1988
Posts: 3
Joined: Tue Jun 17, 2014 1:48 pm

Re: TETGEN

Post by pg1988 »

ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: TETGEN

Post by ickby »

FreeCAD uses the salome smesh library for volume meshing. You find the code in freecad's 3rd party folder https://github.com/FreeCAD/FreeCAD_sf_m ... alomesmesh
You could have a look at the netgen plugin and how it works and then create such a plugin for tetgen. than it could be easily integrated into freecad.

To see how smesh it is integrated into freecad you need to dig through the fem workbench, I never studied the code for it so I don't know it.

As far as I know it smesh is also used from within the mesh workbench for surface meshing. You could also look there how a possible tetgen plugin could be integrated.
User avatar
jriegel
Founder
Posts: 3369
Joined: Sun Feb 15, 2009 5:29 pm
Location: Ulm, Germany
Contact:

Re: TETGEN

Post by jriegel »

Tetgen is under (A)GPL and there fore not usably to FreeCAD...
Stop whining - start coding!
pg1988
Posts: 3
Joined: Tue Jun 17, 2014 1:48 pm

Re: TETGEN

Post by pg1988 »

Thank you ickby and jriegel for your pointers and comments. :)
Post Reply