|
[Sponsors] |
|
October 21, 2006, 14:09 |
Fortran and C
|
#1 |
Guest
Posts: n/a
|
Does anybody know how to write a C program that will read Fortran files. I have the fortran files just needed to translate it into C in order to Fluent be able to compile them. Thanks in advance
|
|
October 21, 2006, 19:51 |
Re: Fortran and C
|
#2 |
Guest
Posts: n/a
|
Depends what do you need it to do and how complex the fortrans are?
It is possible to write a C program to link fortran files (see my previous posts, and the related responses both here and in archive on UDF programming and Fortran UDF) However, the process of translating the fortran files to C isn't too difficult, as long as your programs aren't too long or complex. There are language translaters (f2c) but otherwise just get a few FORTRAN and C programming books and do it manually. Let me know how you go, particularly if you work out the first option. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fortran Compiler-CFX12.1 | Araz | CFX | 13 | March 27, 2017 05:37 |
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 | hawk | Main CFD Forum | 1 | April 12, 2005 22:13 |
visual fortran | Monica | Main CFD Forum | 1 | August 28, 2004 20:45 |
Fortran77 or Fortran 90 | Swapnil | CFX | 2 | November 26, 2002 15:16 |
Why Favoring Fortran over C/C++? | Zi-Wei Chiou | Main CFD Forum | 35 | September 26, 2001 09:34 |