Problem using cgns format file on CS 8.0

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
finzeo
Posts: 55
Joined: Fri Sep 09, 2022 4:23 pm

Problem using cgns format file on CS 8.0

Post by finzeo »

Hi all,

I'm trying to use a mesh generated in Star-CCM+ in Code_Saturne 8.0, but I'm getting errors at the preprocessing stage:

- In the case of exporting it with the .cgns format (which, according to code_saturne's documentation, is recommended over .ccm), I get the error shown in cgns_preprocessor.log.

- In the case of exporting it with the .ccm format, I get the error shown in ccm_preprocessor.log.

In this regard, I am using:

Code_Saturne 8.0 with CGNS 3.3.1
Star-CCM+14.04.011-R8 with CGNS 3.2.1a
(I cannot modify the installation of Star-CCM+, if required, because it is in a cluster to which I have limited access).

I think the best thing would be to make it work with .cgns.

Thank you in advance.
Attachments
ccm_preprocessor.log
(2.17 KiB) Downloaded 61 times
cgns_preprocessor.log
(2.83 KiB) Downloaded 56 times
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem using cgns format file on CS 8.0

Post by Yvan Fournier »

Hello,

Hard to say if this is a version of a CGNS file which does not quite folllow the standard or an installation issue.

Could you post a small test CGNS file generated with the same software ?
Did you try various export sub-options ?

Best regards,

Yvan
finzeo
Posts: 55
Joined: Fri Sep 09, 2022 4:23 pm

Re: Problem using cgns format file on CS 8.0

Post by finzeo »

Hi Yvan,

Sorry for the delay. I generated several files just in case, using different options to export. I see that in another post a problem arose that can be linked. I understand that, in my case, the version of the library is 3.21. I also attach the options that appear to me to export from the software.
Attachments
export_options.png
meshtest3_expl.cgns
(1.13 MiB) Downloaded 46 times
meshtest3.cgns
(1.13 MiB) Downloaded 64 times
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem using cgns format file on CS 8.0

Post by Yvan Fournier »

Hello,

The meshes read fine on my side. Looking at your error message, I suspect that your CGNS library install does not include HDF5 support (and the files are indeed HDF5-based, not ADF-based).

In doubt if the CGNS "hdf2adf" utility is available, yoy can convert the file and try reading it...

Best regards,

Yvan
finzeo
Posts: 55
Joined: Fri Sep 09, 2022 4:23 pm

Re: Problem using cgns format file on CS 8.0

Post by finzeo »

Hi Yvan,

I don't know if it's determinative, but running the ldd command I don't see any trace of any link to any hdf5 library in the cluster:
[finzeo@seshat gnu7.1]$ ldd libcgns.so
linux-vdso.so.1 => (0x00007ffe7e5ee000)
libc.so.6 => /lib64/libc.so.6 (0x00007f82286a3000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8228d30000)
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: Problem using cgns format file on CS 8.0

Post by Yvan Fournier »

Hello,

It may depend on several factors, but on my install, I do see libhdf5.so when I run ldd on libcgns.so.

If you are not the person installing CGNS and the hdf2adf utility is not available on that cluster, you might be able to run it on a workstation. If you handle your own installs, I recommend adding HDF5 support to CGNS as it make things more "transparent".

Best regards,

Yvan
finzeo
Posts: 55
Joined: Fri Sep 09, 2022 4:23 pm

Re: Problem using cgns format file on CS 8.0

Post by finzeo »

Thank you Yvan!
Post Reply