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

grid data to be read by Fortran code

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 19, 2003, 14:03
Default grid data to be read by Fortran code
  #1
seckin
Guest
 
Posts: n/a
hi, I have created a mesh using Gambit and I want to write the vertex data into a file and let my Fortran code read from that file.

I tried to export the mesh from Gambit in some formats but I couldn't figure out the writing style of Gambit. I want the file be in the following format:

do j=1,jmax x(i,j), y(i,j), i=1,imax enddo

but I guess Gambit writes differently than the above scheme..am I wrong? can anyone give me a clue on this? thanks,regards seckin
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any one send me a 2D FVM code that is easy to read? gchnhn Main CFD Forum 8 March 11, 2013 01:23
fortran code to read mesh HaKu Main CFD Forum 1 June 9, 2011 17:29
fortran code - boundary layer - frank white Ed Main CFD Forum 1 February 12, 2009 18:30
IFStream read float point data problem liu OpenFOAM Running, Solving & CFD 0 October 24, 2008 12:14
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37


All times are GMT -4. The time now is 06:34.