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

Books about writing a cfd code in Fortran

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 13, 2012, 03:45
Default Books about writing a cfd code in Fortran
  #1
New Member
 
mirko
Join Date: Oct 2012
Posts: 3
Rep Power: 4
olsson is on a distinguished road
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.
olsson is offline   Reply With Quote

Old   October 13, 2012, 12:34
Default
  #2
New Member
 
Nikola Mirkov
Join Date: Mar 2009
Location: Belgrade, Serbia
Posts: 18
Rep Power: 8
nikola_m is on a distinguished road
Do you have any preferred field of application? That may help a lot.

Anyway, there are a couple of standard references people point to:
  1. S.Patankar - Numerical Heat Transfer and Fluid Flow
  2. J.H.Ferziger, M.Peric - Computational Methods for Fluidd Dynamics
  3. H.K.Versteeg, W.Malalasekera - An Introduction to Computational Fluid Dynamics

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.
__________________
www.laturbolenza.com
nikola_m is offline   Reply With Quote

Old   October 14, 2012, 05:58
Default
  #3
New Member
 
mirko
Join Date: Oct 2012
Posts: 3
Rep Power: 4
olsson is on a distinguished road
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
olsson is offline   Reply With Quote

Old   October 14, 2012, 12:57
Default
  #4
New Member
 
Nikola Mirkov
Join Date: Mar 2009
Location: Belgrade, Serbia
Posts: 18
Rep Power: 8
nikola_m is on a distinguished road
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.
__________________
www.laturbolenza.com

Last edited by nikola_m; October 14, 2012 at 16:42.
nikola_m is offline   Reply With Quote

Old   October 15, 2012, 02:57
Default References..
  #5
New Member
 
Vinayender
Join Date: Jul 2009
Location: India
Posts: 24
Rep Power: 8
vinayender is on a distinguished road
Refer "Computational Fluid Dynamics" by John D Anderson.
here you can get very good guidence to start programing in CFD.
Classical Quasi 1D Convergent-Divergent Problem is also explained.

Also, if you want to write Desity based solvers for complete N-S 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 ,
Vinayender
vinayender is offline   Reply With Quote

Old   October 15, 2012, 10:04
Default
  #6
New Member
 
mirko
Join Date: Oct 2012
Posts: 3
Rep Power: 4
olsson is on a distinguished road
thanks for your help, I will begin to document the books that you have recommended to me and I will let you know.
olsson is offline   Reply With Quote

Old   October 15, 2012, 22:46
Default
  #7
Senior Member
 
Mehdi
Join Date: Jan 2011
Location: Iran
Posts: 130
Rep Power: 6
mb.pejvak is on a distinguished road
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.
__________________
Best Regards;
Mehdi
E-mail: mb.pejvak[at]Gmail[dot]com
mb.pejvak is offline   Reply With Quote

Old   October 17, 2012, 16:26
Default
  #8
Senior Member
 
Join Date: Aug 2011
Posts: 251
Rep Power: 6
leflix is on a distinguished road
Quote:
Originally Posted by nikola_m View Post
Do you have any preferred field of application? That may help a lot.

Anyway, there are a couple of standard references people point to:
  1. S.Patankar - Numerical Heat Transfer and Fluid Flow
  2. J.H.Ferziger, M.Peric - Computational Methods for Fluidd Dynamics
  3. H.K.Versteeg, W.Malalasekera - An Introduction to Computational Fluid Dynamics
Nikola is right !! there is nothing better than these 3 books about FVM
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
leflix is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56
user friendly cfd code waqar Main CFD Forum 19 August 18, 2000 16:31
CFD Design...The CFD Future John C. Chien Main CFD Forum 19 October 6, 1999 11:57
CFD Salary CFD Main CFD Forum 15 September 4, 1999 14:04
Which is better to develop in-house CFD code or to buy a available CFD package. Tareq Al-shaalan Main CFD Forum 10 June 12, 1999 23:27


All times are GMT -4. The time now is 08:28.