CGNS help~~
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:cool:. Would any body like to give a hand on this problem? Thanks a lot:). Shengyi |
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.
|
thanks
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 |
I recently compiled cgns file for windows using visual studio. It is little tricky but I could help you.
|
All times are GMT -4. The time now is 16:36. |