|
[Sponsors] |
August 24, 2015, 00:32 |
Boundary nodes in CGNS format
|
#1 |
Member
Join Date: Jul 2014
Posts: 31
Rep Power: 11 |
Hi, I am working on the code writing "boundary-node information" file through CGNS subroutines.
I had compiled lots of CGNS examples from "A User's Guide to CGNS", so now I know what is what about CGNS subroutines(at least about subroutines used in examples that I tried to compile). But I still have no idea which subroutines I should use to get this thing work. Here is what I want; The program that reads up a grid file with several boundary conditions and writes out the boundary-node info., including the number of segments of a boundary condition and connectivities of nodes of which boundary elements consist. For example, a boundary condition is assigned to a surface by a pre-processing program(eg. Pointwise or etc), and the program reads up the grid file. Then the program figures out "the number of segments of which elements consist" and "connectivities of nodes of elements". Then, the program writes out the information. ############################################ "the number of segments of far-field" "connectivity 1(counter-clockwise)" "connectivity 2(counter-clockwise)" "connectivity 3(counter-clockwise)" . . . "the number of segments of solid-wall" "connectivity 1(counter-clockwise)" "connectivity 2(counter-clockwise)" "connectivity 3(counter-clockwise)" . . . ############################################ See fig1 & fig2. There are 2 boundary conditions, solid-wall and far-field. For solid-wall, there are 2 elements consist of 5 segment, while for far-field, there are only 1 element consists of 3 segments. So, the file would be as below. ############################################ 3 23 101 31 5 16 12 21 4 16 21 ############################################ I can see that the subroutine "cg_boco_info_f" returns the number of boundary conditions and types of BCs, node index, etc. But I think "cg_boco_info_f" cannot give me information I need. I need your advice on which subroutines I can use to get my program work for the mission. I am waiting for any reply. Thank you. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 07:30 |
parallel support with CGNS format not yet implemented | kirkrich | SU2 | 3 | January 18, 2013 15:39 |
CFX13 Post Periodic interface | EtaEta | CFX | 7 | December 8, 2011 17:15 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 04:05 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 12, 2001 23:19 |