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

OpenFoam code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2010, 14:32
Default OpenFoam code
  #1
Member
 
Usit McCarra
Join Date: Oct 2010
Posts: 51
Blog Entries: 2
Rep Power: 15
McCarra is on a distinguished road
Hello

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

Thanks
McCarra is offline   Reply With Quote

Old   November 19, 2010, 07:16
Smile
  #2
Senior Member
 
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 20
Fransje will become famous soon enough
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.

Then:
  • 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:
    Code:
    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:
    http://foam.sourceforge.net/doc/Doxygen/html/
Well, this should give you a head-start and keep you busy for some time I think!

Good luck!

Kind regards,

Francois.
Fransje is offline   Reply With Quote

Reply


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
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03: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 05: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 11:44


All times are GMT -4. The time now is 13:45.