CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Programming question (https://www.cfd-online.com/Forums/main/6431-programming-question.html)

tom August 10, 2003 20:11

Programming question
 
First, my apologies for such a question. I'm trying to teach myself CFD in my spare time.

Do any of you have any suggestions for references I could use to teach myself scientific programming in C (or C++)? My codes are very sub-optimal as I don't really have a feel for how to 1)pass matricies to solver subroutines; or 2) create solver subroutines in the first place that can accept the system of equations and operate on them.

Thanks for your help. tom

Steve August 11, 2003 04:04

Re: Programming question
 
For C and general background info: "Numerical Recipes in C", Press, Tuekolsky, Vetterling & Flannery. ISBN 0-521-43108-5

For C++, "Scientific and Engineering C++", BArton & NAckman, ISBN 0-201-53393-6.

Or simply skim the books list on this site: http://www.cfd-online.com/Books/

James Date August 11, 2003 13:24

Re: Programming question
 
This is a good book.

How to Program in C++, Deitel & Deitel

Prentice Hall; ISBN: 0877783799


All times are GMT -4. The time now is 09:05.