|
[Sponsors] |
October 5, 2006, 09:39 |
meshpilot
|
#1 |
Guest
Posts: n/a
|
Please how to read the ouptput grid file of meshpilot software?
|
|
October 7, 2006, 07:01 |
Re: meshpilot
|
#2 |
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.
|
|
October 8, 2006, 05:16 |
Re: meshpilot
|
#3 |
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? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MeshPilot | Stuart Taylor | Main CFD Forum | 0 | June 9, 2005 13:41 |
MeshPilot | Stuart Taylor | FLUENT | 0 | June 9, 2005 13:41 |
MeshPilot | Alec Browne | Main CFD Forum | 3 | December 13, 2002 14:14 |