CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   CGNS mesh format (https://www.cfd-online.com/Forums/su2/158209-cgns-mesh-format.html)

B_Ouissem August 18, 2015 12:31

CGNS mesh format
 
Hi,

When trying to run a case with a .cgns mesh file with SU2, I get the error: "SU2 built without CGNS support!". It suggests to supply the correct path of the CGNS library in the Makefile.

How to do it when using the Windows vesion of the code? I'm using SU2 v3.2.200 single-threaded 32-bit under Windows 7.

Or, is there any other way to do it, like converting the CGNS mesh to a SU2 format?

Any help please?

Thank you,
Ouissem

B_Ouissem August 20, 2015 12:39

Hi all,

I've installed the CGNS library and SU2 v3.2.8 on Linux Ubuntu 12.04, and the installation went smooth.

When launching my test case using a CGNS mesh file, I got the same error message, telling that SU2 has been built without CGNS support, and suggests to disable the '-DNO_CGNS' entry in the Makefile, and provide the right path to the CGNS libraray.

The thing is that I can't find any '-DNO_CGNS' entry in the Makefile, neither I did in the Makefile.am and Makefile.in.

Can someone help me with this please?

Thank you,
Ouissem

B_Ouissem August 20, 2015 14:10

Hi and sorry for the flood of messages!

Finally, I've managed to build SU2 with the CGNS support. It had to be done while configuring the installation of SU2:

./configure --with-CGNS-lib=/var/tmp/cgnslib_3.2.1/src --with-CGNS-include=/var/tmp/cgnslib_3.2.1/src

No need to look for any 'DNO_CGNS' entry in Makefile, if you configure the installation using the previous line, the script will do it for you. Be sure to clean the previous installation files before re-building SU2.

Now, everything is working just fine.

With regards,
Ouissem


All times are GMT -4. The time now is 22:08.