CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   write unstructured grid on cgns (

manaliac June 1, 2010 03:52

write unstructured grid on cgns
Hello everyone,

Currently, I'm trying to create an unstructured grid:

I already have my ElementConnectivity set in a matrix A(num_zone,3,values) , where num_zone refers to the number of the zone (if there are many), 3 because I'm using a triangular element, and the values are the index of the three nodes whoch refers to each face.

So, I used a :

do i=1,num_zone
n_end= values
call cg_section_write_f(index_file,index_base,index_zon e(i),ElementName,

but It seems that I can't have the right values written in the ElementConnectivity; do you have and idea why?

All times are GMT -4. The time now is 22:24.