CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Source codes

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 11, 2006, 23:14
Default Hi guys If I wanted to unde
  #1
shuo
Guest
 
Posts: n/a
Hi guys

If I wanted to understand a source code, which one is a good(easiest) place to start given i know very little of object orientated engineering?
SHuo
  Reply With Quote

Old   September 12, 2006, 09:05
Default I would not recommend going th
  #2
New Member
 
Badri Velamur Asokan
Join Date: Mar 2009
Location: Oak Ridge, TN
Posts: 7
Rep Power: 8
badri1979 is on a distinguished road
I would not recommend going through OpenFOAM source as a beginner. It
uses quite a bit of advanced concepts like templating (w, w/o
inheritance) and others. It would be preferable that you start of with a
book for e.g. Barton and Nackman's Scientific C++ book that introduces
the OO concepts well. Then start of with OpenFOAM source.

-Badri
badri1979 is offline   Reply With Quote

Old   September 12, 2006, 17:53
Default What about Doxygen, isn't that
  #3
shuo
Guest
 
Posts: n/a
What about Doxygen, isn't that supposed to help understand the class structure etc?
  Reply With Quote

Old   September 13, 2006, 08:05
Default Well... Did Doxygen help you?
  #4
Member
 
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 8
olwi is on a distinguished road
Well... Did Doxygen help you? It's propably useful for someone who already knows OO basics.

I've had some help from the book "C++: The core language" by Gregory Satir and Doug Brown. I have the first edition from 1995, but maybe there's a later edition. It deals with the basics, while deliberately avoiding concepts that would only confuse you.

Why not start having a look at icoFoam, for example, having the user guide and programmers guide nearby. From there maybe you can start exploring.

/Ola
olwi is offline   Reply With Quote

Old   September 13, 2006, 08:34
Default If you are looking for a very
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
If you are looking for a very general intro, you might take a look at
Bruce Eckel's Thinking in C++

/mark
olesen 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
Source for NASA codes Keith Gray Main CFD Forum 5 August 2, 2010 04:08
Open source codes for VOF simulations Asghari Main CFD Forum 8 March 28, 2008 08:28
Open-source codes jojo Main CFD Forum 6 June 9, 2006 09:13
help: the source of free codes hui Main CFD Forum 3 June 2, 2006 23:16
Copyrighted source codes Praveen. C CFD-Wiki 13 September 21, 2005 10:40


All times are GMT -4. The time now is 19:39.