CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Cgns

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2021, 10:02
Default Cgns
  #1
New Member
 
Kübra Çınar
Join Date: Mar 2021
Posts: 2
Rep Power: 0
k.cinar is on a distinguished road
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.
k.cinar is offline   Reply With Quote

Old   March 15, 2021, 03:31
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   March 15, 2021, 18:30
Default
  #3
Senior Member
 
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 8
aero_head is on a distinguished road
Quote:
Originally Posted by k.cinar View Post
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.
Merhaba Kübra,

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.
aero_head is offline   Reply With Quote

Reply

Tags
cgns macos/xcode library


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] Cgns support for gmsh robyTKD OpenFOAM Meshing & Mesh Conversion 1 July 13, 2016 11:27
SU2 not built with CGNS support. maximus23 SU2 Installation 5 May 11, 2016 12:05
[ICEM] ICEM CFD and Gambit (CGNS) AshwaniAssam ANSYS Meshing & Geometry 1 February 17, 2016 06:04
writing link between two CGNS files t.teschner Main CFD Forum 1 February 4, 2014 10:26
parallel support with CGNS format not yet implemented kirkrich SU2 3 January 18, 2013 15:39


All times are GMT -4. The time now is 15:14.