CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Open Source Meshers: Gmsh, Netgen, CGNS, ... (
-   -   using nglib (

vijay.sudharshanam July 12, 2012 03:59

using nglib
Hello everyone.

I'm using nglib to load a CAD geometry in IGES format and generate surface mesh. I want to heal the geometry before generating the mesh but I do not find any healing functions in nglib.h. I tried to dig through the nglib source code and found that OCCGeometry has a healing function called HealGeometry(). But I'm not able to create an object of type OCCGeometry since it generates the compilation error "Undefined symbols: vtable for NetgenGeometry referenced from..." and "vtable for OCCGeometry referenced from...".

Can someone tell me how to create an instance of OCCGeometry in my code?

wyldckat July 14, 2012 11:56

Greetings vijay.sudharshanam and welcome to the forum!

You better try NETGEN's dedicated mailing list:

Because this sub-forum is for how to use NETGEN and other open-source meshers with OpenFOAM.

Best regards,

vijay.sudharshanam July 16, 2012 02:13

Hello Bruno.

I will post this in netgen related forum that you mentioned. Thank you.

All times are GMT -4. The time now is 00:51.