|
[Sponsors] |
September 1, 2013, 05:12 |
CGNS help~~
|
#1 |
New Member
Shengyi Wang
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
Dear every master,
I need to get the details of some boundary conditions(e.g. the wall temperature of an 'isothermal wall' type bc) from CGNS file. However, the MLL library seems not to provide any function to get this information. I guess, maybe, a combination usage of the 'cg_goto' and 'data_array_read' functions has to be implemented but have not suceeded for now. Would any body like to give a hand on this problem? Thanks a lot. Shengyi |
|
September 3, 2013, 10:57 |
|
#2 |
Senior Member
duri
Join Date: May 2010
Posts: 245
Rep Power: 17 |
Use adfviewer or cgnsviewer to read boundary condition information. cg_goto and cg_array_read would work easily only if the datatype, size and location are know in advance. Otherwise it would be little difficult.
|
|
September 4, 2013, 11:52 |
thanks
|
#3 | |
New Member
Shengyi Wang
Join Date: Mar 2009
Posts: 22
Rep Power: 17 |
Quote:
thanks a lot for your help. ADFviewer is indeed a powerful tool to view cgns data. However, for my instance, I need to write a code to extract the boundary condition data as an input of a CFD solver. I have tried the cg_goto way, and it could work assuming that there is only one dataset_t node under its parent node bc_t. I have another problem with getting the latest cgns libraries for windows. would you kindly give a hand with that? Best wishes, Shengyi |
||
September 5, 2013, 05:52 |
|
#4 |
Senior Member
duri
Join Date: May 2010
Posts: 245
Rep Power: 17 |
I recently compiled cgns file for windows using visual studio. It is little tricky but I could help you.
|
|
Tags |
cgns bc |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
[Gmsh] Cgns support for gmsh | robyTKD | OpenFOAM Meshing & Mesh Conversion | 1 | July 13, 2016 12:27 |
parallel support with CGNS format not yet implemented | kirkrich | SU2 | 3 | January 18, 2013 16:39 |
Cgns | b91 | Main CFD Forum | 1 | June 20, 2012 07:07 |
develop CFD code based on CGNS | vito | Main CFD Forum | 3 | May 3, 2005 12:45 |