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

meshpilot

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 5, 2006, 08:39
Default meshpilot
  #1
Bounecer
Guest
 
Posts: n/a
Please how to read the ouptput grid file of meshpilot software?
  Reply With Quote

Old   October 7, 2006, 06:01
Default Re: meshpilot
  #2
Wee
Guest
 
Posts: n/a
it's just a text file. so it can be read directly into fortran or c. it's not too difficult.
  Reply With Quote

Old   October 8, 2006, 04:16
Default Re: meshpilot
  #3
Bounecer
Guest
 
Posts: n/a
Thaks wee; when i've generated 260x65 mesh for NACA0012, i've obtained the following mesh details: bloc 1: 33x65 bloc 2: 97x65 bloc 3: 97x65 bloc 4: 33x65

So i've read the output grid file 'grid.grd' as following:

open(14,file='grid.grd') ccccccccccc BLOC 1 cccccccccccccccccccccccc

do 10 i=1,33

do 10 j=1,65

read(14,*)x(i,j),y(i,j) 10 continue

ccccccccccc BLOC 2 cccccccccccccccccccccccc

do 20 i=34,131

do 20 j=1,65

read(14,*)x(i,j),y(i,j) 20 continue

ccccccccccc BLOC 3 cccccccccccccccccccccccc

do 30 i=132,228

do 30 j=1,65

read(14,*)x(i,j),y(i,j) 30 continue

ccccccccccc BLOC 4 cccccccccccccccccccccccc

do 40 i=229,260

do 40 j=1,65

read(14,*)x(i,j),y(i,j) 40 continue is that the correct method to read the file?
  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
MeshPilot Stuart Taylor Main CFD Forum 0 June 9, 2005 12:41
MeshPilot Stuart Taylor FLUENT 0 June 9, 2005 12:41
MeshPilot Alec Browne Main CFD Forum 3 December 13, 2002 14:14


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