|
[Sponsors] |
October 12, 2003, 08:01 |
Learning Fortran for CFD
|
#1 |
Guest
Posts: n/a
|
I apologise if this is off topic, but..
I wish to learn Fortran to develop my own CFD codes (initially something simple like 2D incompressible Navier Stokes). I'd be grateful for recommendations for good learning resources (books, online tutorials etc). I have spent some time searching the archives, and on the web, but there is a huge amount of info available to go through. I was going to use the latest compiler from Intel, has anyone any experience with this, or recommendations of their own ? Thank you, Simon. |
|
October 13, 2003, 03:51 |
Re: Learning Fortran for CFD
|
#2 |
Guest
Posts: n/a
|
Simon,
Don't bother with Fortran, it had its time in the CFD industry. Opt for c++ instead. Most commercial codes are heading in this direction in any way! Dont waste your time on the Fortran relic. |
|
October 13, 2003, 07:48 |
Re: Learning Fortran for CFD
|
#3 |
Guest
Posts: n/a
|
Lucas,
Thank you for your answer, much appreciated. I haven't any background in C, but some in F77. I'm shortly about to start an MSC in CFD and wish to develop my understanding by writing my own code. The Uni staff all use Fortran, and most if not all examples of code written for CFD that I have seen are in Fortran so I guess I'll have to use Fortran too. It's interesting what you say about commercial codes moving towards C++ though, I'll keep an eye on it. Thanks, Simon. |
|
October 13, 2003, 08:04 |
Re: Learning Fortran for CFD
|
#4 |
Guest
Posts: n/a
|
Yes, commercial codes use C++, but in general, then also write very generic codes. As far as I am aware, alot of very serious research is done using Fortran. Also, the language you use is, in my opinion, irrelevant from a learning point of view. You can pick up a language in a matter of weeks.
|
|
October 13, 2003, 08:11 |
Re: Learning Fortran for CFD
|
#5 |
Guest
Posts: n/a
|
Thanks Ag, The feedback I've been getting so far suggests that a lot of people out there are using Fortran, so I guess I'll follow their lead !
Simon. |
|
October 13, 2003, 10:26 |
Re: Learning Fortran for CFD
|
#6 |
Guest
Posts: n/a
|
Fortran is fine for CFD. However I strongly suggest you learn Fortran 90 as it is a much more modern language than Fortran 77. A good beginning book is by Lahey and others(I forgot the other authors.) As fas a the Intel compiler goes I've used the free for non commercial use Linux Intel compiler and it produces very fast code. However it's debugging compiler options still leave a little bit to be desired. I usually debug my code using another compiler and then compile the "production" code using the Intel compiler.
|
|
October 15, 2003, 11:00 |
Re: Learning Fortran for CFD
|
#7 |
Guest
Posts: n/a
|
Go head and learn Fortran. it is the best language for CFD. a lot of online material posed in F77 (like numerical recipies).
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fortran Compiler-CFX12.1 | Araz | CFX | 13 | March 27, 2017 06:37 |
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 | hawk | Main CFD Forum | 1 | April 12, 2005 23:13 |
visual fortran | Monica | Main CFD Forum | 1 | August 28, 2004 21:45 |
Fortran77 or Fortran 90 | Swapnil | CFX | 2 | November 26, 2002 16:16 |
Why Favoring Fortran over C/C++? | Zi-Wei Chiou | Main CFD Forum | 35 | September 26, 2001 10:34 |