CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

OpenFoam code

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

LinkBack Thread Tools Display Modes
Old   November 16, 2010, 15:32
Default OpenFoam code
Usit McCarra
Join Date: Oct 2010
Posts: 51
Blog Entries: 2
Rep Power: 9
McCarra is on a distinguished road

I'm trying to understand how OpenFoam code works. Where can I start? Are there some tutorials or bibliography to have a look at?

McCarra is offline   Reply With Quote

Old   November 19, 2010, 08:16
Senior Member
Join Date: Jun 2010
Posts: 107
Rep Power: 10
Fransje is on a distinguished road
Hi there!

Well, first of all, I'm going to wish you good luck with your new endeavor! It will require patience and a substantial time investment, but it's worth it.

  • First make sure your C++ programming knowledge is good/excellent, otherwise you will be wasting your time. If you do not have a decent C++ understanding/programming experience, it would be a very wise time investment to first sit down, and take the time to learn, understand, and be able to apply the primary C++ concepts, from simple object-oriented programming, to inheritance, templates and polymorphism.
  • Then read the User and Programming manuals, and try-out various OpenFOAM tutorials to see what they do.
  • Search the internet for tutorials. The tutorials from Chalmers are very good. Using google and typing:
    chalmers tutorial openfoam
    should give you somewhere to start. The programming tutorial shows you how to implement your own solver and boundary conditions. This will also help you to understand how OpenFOAM works.
  • Use Doxygen! The most recent doxgen documentation can be found on the OpenFOAM website under C++ Source Guide.
    The 1.6.x documentation (which I found to be easier to read with my browser) can be found using this link:
Well, this should give you a head-start and keep you busy for some time I think!

Good luck!

Kind regards,

Fransje is offline   Reply With Quote


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
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
Small 3-D code Zdravko Stojanovic Main CFD Forum 2 July 19, 2010 10:11
Self implemented code is not running in parallel michi OpenFOAM Running, Solving & CFD 2 November 6, 2008 06:09
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 12:44

All times are GMT -4. The time now is 06:33.