CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

write unstructured grid on cgns

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2010, 03:52
Default write unstructured grid on cgns
  #1
New Member
 
mirage
Join Date: Apr 2010
Posts: 11
Rep Power: 15
manaliac is on a distinguished road
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?
manaliac is offline   Reply With Quote

Reply

Tags
cgns, grid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 08:19
plotting unstructured grid data ajithkmrs Main CFD Forum 0 June 24, 2009 00:47
2D unstructured Grid prapanj Main CFD Forum 4 March 15, 2008 17:01
to Identify unstructured grid and structrued grid harry Main CFD Forum 4 February 17, 2006 02:10
Unstructured Grid Generation MSc Marcio Aredes Main CFD Forum 3 April 7, 1999 03:40


All times are GMT -4. The time now is 07:54.