|
[Sponsors] |
June 1, 2010, 04:52 |
write unstructured grid on cgns
|
#1 |
New Member
mirage
Join Date: Apr 2010
Posts: 11
Rep Power: 16 |
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 nbdyelem=0 n_start=1 n_end= values call cg_section_write_f(index_file,index_base,index_zon e(i),ElementName, TRI_3,n_start,n_end,nbdyelem,A(i,1,n_start-e_sofar),index_section,ier) enddo but It seems that I can't have the right values written in the ElementConnectivity; do you have and idea why? |
|
Tags |
cgns, grid |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2D airfoil simulation, turbulence, boundary layer, unstructured grid | louis.langouche@gmail.com | FLUENT | 0 | March 3, 2010 09:19 |
plotting unstructured grid data | ajithkmrs | Main CFD Forum | 0 | June 24, 2009 01:47 |
2D unstructured Grid | prapanj | Main CFD Forum | 4 | March 15, 2008 18:01 |
to Identify unstructured grid and structrued grid | harry | Main CFD Forum | 4 | February 17, 2006 03:10 |
Unstructured Grid Generation | MSc Marcio Aredes | Main CFD Forum | 3 | April 7, 1999 04:40 |