|
[Sponsors] |
March 6, 2011, 22:45 |
Reading Data In Fortran
|
#1 |
Senior Member
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 16 |
Hi all
I have a question regarding how to read a series of data in Fortran. My data are attached Means that for z=5.183 and y=0.05, pressure value is 17 and so on. I would like to read above data in Fortran. Does anybody know how it works? Regards, Ashtonj |
|
March 7, 2011, 10:32 |
|
#2 |
Senior Member
Join Date: Nov 2009
Posts: 411
Rep Power: 19 |
Hello,
typically any programming langage can read/write text files, in your case simply save your Excel file (it looks like Excel to me in your picture) as a text tab delimited file. After this step read a tutorial about I/O operations in Fotran, a simple Google for "fortran read file" will give you a lot of material to read. I suppose you already have a working Fortran environment (compiler and text editor). Do |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comparison between C/C++ and Fortran? | rick | Main CFD Forum | 45 | September 6, 2011 01:52 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
[Commercial meshers] FluentMeshToFoam errorplease help me | andycong | OpenFOAM Meshing & Mesh Conversion | 18 | November 5, 2007 17:43 |
grid data to be read by Fortran code | seckin | FLUENT | 0 | April 19, 2003 15:03 |
reading data from model | yusoff | CFX | 3 | March 20, 2001 00:12 |