|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Kübra Çınar
Join Date: Mar 2021
Posts: 2
Rep Power: 0 ![]() |
Hi everyone,
I am trying to open and read CGNS file. What I mean is I have .cgns file, and I need to post-process it by writing computer program.(I will write computer program in C). I am using MacOs Big Sur version 11.2.3 (20D91), and also Xcode for compiling and writing program to read(post process cons file) in C language. I used CMake for configuration and make and make install for building CGNS library. However, when I try to write codes and implement cg_ functions which are supplied by CGNS library, it keeps giving error -like undefined symbol: cg_open-. I downloaded HDF5 1.12 and built its library as I did in CGNS library. I thought that there is something wrong with cgns library link, can anyone please help me. I appreciate for any help. |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 18,010
Rep Power: 146 ![]() ![]() ![]() ![]() |
This is the CFX forum. We don't know anything about the CGNS format. Well, not much anyway.
Note that in my experience CGNS files generated by CFX are not reliable. I would not use CFX to generate CGNS files for your application. If you are trying to develop a post-processing routine for CFX I would not choose CGNS as I do not trust it. I would use other formats.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
|
|
|
|
|
|
|
#3 | |
|
Senior Member
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 11 ![]() |
Quote:
I have done this but don't remember the work-around I found, sorry. I do know it is possible, it doesn't have anything to do with HDF5, if that's any contribution. Could have something to do with Big Sur, I'm still on Sierra. |
||
|
|
|
||
![]() |
| Tags |
| cgns macos/xcode library |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Gmsh] Cgns support for gmsh | robyTKD | OpenFOAM Meshing & Mesh Conversion | 1 | July 13, 2016 12:27 |
| SU2 not built with CGNS support. | maximus23 | SU2 Installation | 5 | May 11, 2016 13:05 |
| [ICEM] ICEM CFD and Gambit (CGNS) | AshwaniAssam | ANSYS Meshing & Geometry | 1 | February 17, 2016 07:04 |
| writing link between two CGNS files | t.teschner | Main CFD Forum | 1 | February 4, 2014 11:26 |
| parallel support with CGNS format not yet implemented | kirkrich | SU2 | 3 | January 18, 2013 16:39 |