|
[Sponsors] |
August 8, 2015, 03:43 |
C++ topics
|
#1 |
New Member
Shovan
Join Date: Jul 2015
Posts: 11
Rep Power: 10 |
Hi everybody
I know basic C++. I want to know what are the topics in C++ i have to go through so that i can understand Openfoam. |
|
August 8, 2015, 21:41 |
|
#2 |
Member
Lisandro Maders
Join Date: Feb 2013
Posts: 98
Rep Power: 13 |
Hi Shovan,
I am in a very similar situation as you are. I will try to implement some simple models in OpenFOAM and in order to do that I am going a bit into the OpenFOAM source code. I knew basic C++, but all I knew was regarded to procedural programming. OpenFOAM makes large use of object oriented programming, which is not trivial to understand. I would suggest you to start reading some book and follow the class chapter (be sure you understand well about pointers in C++). Try to understand the concepts of class, constructors, friend functions and friend classes, inheritance, templates and a lot of things more about classes. I think this will be your first and most difficult test. Once you have done this, I believe you will be able to start looking at the code and understand the things day after day. If you want some suggestion of very clear and objective book, try the Daoqi Yang C++ book. I found it very good. Best of luck, Lisandro |
|
August 9, 2015, 00:14 |
|
#3 |
New Member
Shovan
Join Date: Jul 2015
Posts: 11
Rep Power: 10 |
Thank you very much
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hot topics in CFD research? | aroma | Main CFD Forum | 7 | May 6, 2015 15:58 |
Other Topics at OpenFOAM Workshop Milan 2008 | hjasak | OpenFOAM | 2 | October 26, 2013 04:33 |
Sections / Topics in CFD Wiki | Roberthealy1 | CFD-Wiki | 6 | August 23, 2007 17:58 |
project topics | vivekanand | CFX | 0 | October 27, 2004 05:17 |
Advanced Topics in Aerodynamics | Antonio Filippone | Main CFD Forum | 0 | August 28, 1999 12:16 |