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

Learning Fortran for CFD

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2003, 08:01
Default Learning Fortran for CFD
  #1
Simon
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.
  Reply With Quote

Old   October 13, 2003, 03:51
Default Re: Learning Fortran for CFD
  #2
Lucas Rainer
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.
  Reply With Quote

Old   October 13, 2003, 07:48
Default Re: Learning Fortran for CFD
  #3
Simon
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.
  Reply With Quote

Old   October 13, 2003, 08:04
Default Re: Learning Fortran for CFD
  #4
Ag Gaire.
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.
  Reply With Quote

Old   October 13, 2003, 08:11
Default Re: Learning Fortran for CFD
  #5
Simon
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.
  Reply With Quote

Old   October 13, 2003, 10:26
Default Re: Learning Fortran for CFD
  #6
Peter Attar
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.
  Reply With Quote

Old   October 15, 2003, 11:00
Default Re: Learning Fortran for CFD
  #7
DrG
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).
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 23:57.