Books about writing a cfd code in Fortran
Hi, i'm new in the field of cfd, and i want to do something about it.
I'd like to write a cfd code in fortran, starting from a simple case. Could someone recommend me a good book about it? Thanks. 
Do you have any preferred field of application? That may help a lot.
Anyway, there are a couple of standard references people point to:
There are many other good references, but people use these for incompressible viscous flow with Finite Volume Method. Good alternative is to read some PhD thesis, there is a lot of interesting review material in these... There are many other alternatives, depending on what you want to do. Maybe you want to approach CFD from Finite Element Method, or Lattice Boltzman Method, or maybe you are interested in high order methods like Spectral Methods? Give us more info and I'll be more precise. 
Thank you for your answer,
however, since I am new in this field, I would like to begin by the simplest methods, which I believe are the finite elements. Anyway, I already knew the texts that you have recommended, and they are excellent from the point of view of theory, in particular the second, but I wanted something more specific that would help me to program in Fortran. thanks 
I had the same problem when I started out  because I was working on my own.
There's nothing better for learning Fortran programming for CFD than finding some source code and going trough it line by line. Ferziger & Peric book has code collection that goes with it, maybe this is the right point to start (so I'm still in finite volume method). I have recently made a little upgrade of the CAFFA code and posted it here , hoping it will be useful for learning as the original CAFFA code was. What worked for me also is this (this is really powerful approach): Go trough some Journal of Computational Physics paper's from the 80's, especially late 80's, and first half of 90's. The methods back then were described in a much more verbose way, implementing the code is pretty straightforward in that case. Both in the case of finite element and finite volume. This is also true for other journals in this field, but this one is my favorite. 
References..
Refer "Computational Fluid Dynamics" by John D Anderson.
here you can get very good guidence to start programing in CFD. Classical Quasi 1D ConvergentDivergent Problem is also explained. Also, if you want to write Desity based solvers for complete NS equations, please refer 1) "Computational Gas Dynamics" by Culbert B. Laney 2) "Numerical Computation of Internal and External Flows: The Fundamentals of Computational Fluid Dynamics" by Charles Hirsch 3) "Remian Solver" by Toro 
thanks for your help, I will begin to document the books that you have recommended to me and I will let you know.

Dear Olsson;
between the recommended books, I think "H.K.Versteeg, W.Malalasekera  An Introduction to Computational Fluid Dynamics" is suitable for the one who wants to start CFD specially if you plan to work on finite volume method. it is very simple and clarify what is said with very simple and good example. this is my experience and I hope it will be useful. 
Quote:
and as Nikola said with book of Peric you have a collection of good codes which should help you to understand how to code an efficient FVM solver 
All times are GMT 4. The time now is 10:38. 