CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   How to learn programming a cfd code? (https://www.cfd-online.com/Forums/main/7400-how-learn-programming-cfd-code.html)

Peter Specht April 7, 2004 10:47

How to learn programming a cfd code?
 
Hi, has anybody an idea where i can find an introduction how to program a cfd code? I do not think about a book like Ferzinger, but a very small program where you can see the idea of finite volume method.

Greetings Peter

noName April 7, 2004 12:20

Re: How to learn programming a cfd code?
 
Try using the book:

An Introduction to Computational Fluid Dynamics : The Finite Volume Method by H. K. Versteeg (Author), W. Malalasekera (Author).

It's sort of a kindergarden approach to the subject, with minimal rigor and maximum practicability.

Michail April 7, 2004 15:53

Re: How to learn programming a cfd code?
 
Dear Peter

Take Rouch or S. Patankar, make all derivations by your own hand, it will take year or two, and write you owm code.

Mathias April 13, 2004 01:39

Re: How to learn programming a cfd code?
 
Hi Peter

From my point of view a very good book is by:

Michael Griebel, Thomas Dornseifer, Tilman Neunhoeffer Numerical Simulation in Fluid Dynamics: A Practical Introduction (Siam Monographs on Mathematical Modeling and Computation)

The book guids you through the basic ideas in writing a CFD-code. All ideas are very well explaned by codelets in C, which makes the book extremely usefull and easy to follow.

Topics like; boundary-conditions, complex-geometry, free-surface-flows and even turbulence is explained using the 2D reference-solver.

I believe the book is also available in German (to a much more reasonable price then the SIAM version)

Best Matthias

ashish kadam April 17, 2004 00:55

Re: How to learn programming a cfd code?
 
hallo dear,

where will i get this book?


Mathias April 18, 2004 12:41

Re: How to learn programming a cfd code?
 
Ashish,

you can get the book by Griebel from, eg. amazon.com.

M.

Steve Allison April 27, 2004 17:12

Re: How to learn programming a cfd code?
 
If you already know a suitable language (C++, F77, etc), Then 'Computational Fluid Dynamics' by John Anderson is a good start. By about chapter 5 he has laid out all the basics of CFD, and then does a step-by-step guide to a simple quasi-1D program, even showing results after one time step so that you can make a direct comparison. It helped me no end. Steve.


All times are GMT -4. The time now is 11:31.