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

Source codes

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2006, 00: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, 10: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: 17
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, 18: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, 09:05
Default Well... Did Doxygen help you?
  #4
Member
 
Ola Widlund
Join Date: Mar 2009
Location: Sweden
Posts: 87
Rep Power: 17
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, 09:34
Default If you are looking for a very
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 05: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 10:13
help: the source of free codes hui Main CFD Forum 3 June 3, 2006 00:16
Copyrighted source codes Praveen. C CFD-Wiki 13 September 21, 2005 11:40


All times are GMT -4. The time now is 04:24.