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

Getting Started with OpenFOAM

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

Like Tree37Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2015, 15:48
Default Getting Started with OpenFOAM
  #1
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

I'm kicking off this page already in sticky mode, to give this a rolling start.

This thread is aimed at two major topics:
  1. Keeping a list of wiki pages that can help people get started with OpenFOAM as fast and best as possible.
  2. To help organize topics related to newbie questions.

Which means that this very first post will mutate over time, depending on the needs proposed in the following posts. In addition, the following list can be reduced as people - that means you, who is reading this right now - help with transferring more and more information to the unofficial wiki for OpenFOAM technology, so that this kind of information can become more and more consolidated: http://openfoamwiki.net

__________________________________________________ ______

Here is a short list of links on where you can find more information:
  1. Tutorial on "Before you Get Started with OpenFOAM": http://openfoamwiki.net/index.php/Tu...etting_Started
  2. Official documentation page for OpenFOAM: http://www.openfoam.org/docs/
  3. Unofficial wiki for OpenFOAM technology: http://openfoamwiki.net
  4. Frequently Asked Questions about Installing OpenFOAM
  5. Tutorials provided by the community and managed by OpenFOAM.com: https://wiki.openfoam.com
  6. Tutorials provided by the community are also now available at the Community Contributions sub-forum with the prefix [Tutorials], click here to list them.
  7. Courses that teach how to use OpenFOAM technology: http://openfoamwiki.net/index.php/Main_Courses

__________________________________________________ ______

Here is a list of threads where newcomers have asked about how to get started with OpenFOAM:
  1. A very good compilation on how to get started with OpenFOAM: help needed with simulation of turbulent flow around an obstacle with openfoam post #3 - also referred in that post:
  2. Tutorial of how to plot residuals !
  3. OpenFoam programming
  4. CFDToy's blog: CFD Discussions / Threads / Useful Links
  5. manual/documentation/guide/tutorial/andanythingelse
  6. Advanced tips for working with the OpenFOAM shell environment
  7. how to visually debug the mesh in Paraview, because cutting the mesh will triangulate the mesh where it is cut:optimize snapping post #24
  8. Using snappyHexMesh: Snappyhexmesh- pont inside mesh post #2
  9. chtMultiRegion mesh generation: Background Mesh in snappy with multi domain (CHT)
  10. Fluent mesh to OpenFOAM with AMI: OpenFoam 2.1.0/x: creation of sets and cellZones. post #20
  11. "Oh my, oh my, the solver crashed, what am I going to do?"
    1. Don't panic.
    2. Start reading here: Foam::error::PrintStack - post #2
    3. Still can't figure out the problem, then read here: Parallel running of 3D multiphase turbulence model (unknown problem!!) post#3
    4. Perhaps wrong dimensions? porousSimpleFoam - crash post #2
    5. Wondering what it all means? Here's an explanation of one example: Unstabil Simulation with chtMultiRegionFoam post #11
  12. One seriously awesome post explaining how to ascertain if your simulation has converged: Convergence
__________________________________________________ ______

A few more from my blog:
__________________________________________________ ______

Please post more suggestions to add to this post, as well as contributing to the wiki!


Best regards,
Bruno
chegdan, pi06jl6, bigphil and 25 others like this.
__________________

Last edited by wyldckat; January 1, 2018 at 16:13. Reason: added links
wyldckat is offline   Reply With Quote

Old   January 18, 2015, 05:56
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Allow me to lead by example.

On the following thread you can find some more details about how to set turbulence options: http://www.cfd-online.com/Forums/ope...e-problem.html

edit: http://www.cfd-online.com/Forums/ope...tml#post528060 post #4 - how to find out what boundary conditions exist and where to find out more about them.

Last edited by wyldckat; January 18, 2015 at 16:24. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   February 3, 2015, 15:43
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
The forum member ron_OFuser has been eagerly suggesting this thread: http://www.cfd-online.com/Forums/ope...-chalmers.html

edit: Another interesting thread: http://www.cfd-online.com/Forums/ope...01325-rho.html

Last edited by wyldckat; February 5, 2015 at 16:34. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   February 28, 2015, 08:49
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
How to define the initial values for k, epsilon and omega... well, there are at least 3 threads on this topic:
kcavatar likes this.
wyldckat is offline   Reply With Quote

Old   March 21, 2015, 10:08
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Compilation of additional documentation:

Last edited by wyldckat; July 6, 2015 at 13:16.
wyldckat is offline   Reply With Quote

Old   June 24, 2015, 13:13
Default
  #6
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 14
user_of_cfx is on a distinguished road
Hello,

After years of using GUI-based CFD software I have finally decided to try my hand at OpenFOAM. The docs on wyldcat's list have been extremely useful, but either there isn't, or I couldn't find, a lot of information about the thermophysical properties and models.

I have set up a compressible turbulent 2D simulation, and it is crashing giving me error on the thermo files (T not converging after a couple of iterations). A page/tutorial/document explaining the thermophysical models in some kind of detail would be extremely useful to help me figure out why this is happening.

Unfortunately anything in the header files that is not comment is completely lost on me, and due to time pressure it's a bit hard for me to look into learning even the basic rules of C++ before setting this model up. Even a link showing all the equations being solved would be great.

I am posting here as I guess a thermo-specific tutorial would be useful to others as well.

Many thanks!
user_of_cfx is offline   Reply With Quote

Old   September 20, 2015, 08:54
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by user_of_cfx View Post
I am posting here as I guess a thermo-specific tutorial would be useful to others as well.
Sorry for the late reply, but I believe I found something that might help:
anthony761 likes this.
wyldckat is offline   Reply With Quote

Old   September 27, 2015, 18:04
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Infographic: http://www.cfd-online.com/Forums/ope...onditions.html
wyldckat is offline   Reply With Quote

Old   November 9, 2015, 10:57
Default
  #9
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 14
user_of_cfx is on a distinguished road
Hi wyldcat,

Thanks a lot, the presentation from Chalmers is very useful indeed. I will also add a link to this thread for anyone wanting to use tabulated thermophysical properties.
user_of_cfx is offline   Reply With Quote

Old   December 2, 2015, 06:29
Default Official documentation reference
  #10
New Member
 
Malthe V. Eisum
Join Date: Nov 2015
Location: Nibe, Denmark
Posts: 5
Rep Power: 10
Malthe Eisum is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
__________________________________________________ ______
Here is a short list of links on where you can find more information:
  1. ...
  2. Official documentation page for OpenFOAM: http://www.openfoam.org/docs/
  3. ...
__________________________________________________ ______
In the index of the user guide some key words have the reference P-xx. For example on U-212: "fvc class, P-34". Which document does this refer to ?
__________________
Malthe Eisum
Malthe Eisum is offline   Reply With Quote

Old   December 2, 2015, 06:44
Default
  #11
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 14
user_of_cfx is on a distinguished road
Quote:
Originally Posted by Malthe Eisum View Post
In the index of the user guide some key words have the reference P-xx. For example on U-212: "fvc class, P-34". Which document does this refer to ?
Maybe this one?
user_of_cfx is offline   Reply With Quote

Old   December 30, 2015, 07:46
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Another thread for the list: http://www.cfd-online.com/Forums/ope...-openfoam.html
wyldckat is offline   Reply With Quote

Old   March 19, 2016, 18:41
Default
  #13
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
A few more for the list:
wyldckat is offline   Reply With Quote

Old   April 8, 2016, 05:08
Default
  #14
Member
 
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10
adrieno is on a distinguished road
Hi Foamers,

Here is a link that really helped me during my really first time with OpenFOAM.
Beginners, help yourself with these tutorials.

http://the-foam-house5.webnode.es/products-/

Have a nice project,
Adrien
adrieno is offline   Reply With Quote

Old   May 3, 2016, 17:27
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Another one for the list: http://www.cfd-online.com/Forums/ope...-openfoam.html
wyldckat is offline   Reply With Quote

Old   May 18, 2016, 07:08
Default
  #16
Member
 
Christa
Join Date: Apr 2011
Posts: 53
Rep Power: 14
user_of_cfx is on a distinguished road
This is my favourite thread

If you are interested in the algorithms used to solve CFD simulations (i.e. linear algebra on steroids), I found this very useful series of lectures from Prof Gilbert Strang of MIT.

The whole course is very interesting, but the most relevant lectures are 12 to 19. Maybe watch lectures 1,2, 8 and 9 as a refresher. You only need basic knowledge of differential equations and linear algebra to follow.
linyanx likes this.
user_of_cfx is offline   Reply With Quote

Old   September 20, 2017, 05:38
Default YouTube lecture videos
  #17
Member
 
Shailesh BG
Join Date: Aug 2017
Location: Bangalore
Posts: 39
Rep Power: 8
shaileshbg is on a distinguished road
Greetings,

Adding to this list a link to YouTube videos of:
OpenFOAM introductory course @ Ghent University (May'16) by Prof. Hrojve Jasak.

It's a five-part video series with each video being an hour long.

https://www.youtube.com/watch?v=3iZf...6xDh5L9bbeK3BL

Hope this helps.
wyldckat likes this.
shaileshbg is offline   Reply With Quote

Old   August 22, 2018, 05:10
Default
  #18
Member
 
Jibran
Join Date: Oct 2012
Location: UK
Posts: 61
Blog Entries: 1
Rep Power: 14
Jibran is on a distinguished road
Hello,

I had compiled a list of OpenFOAM references in a blog post (http://jibranhaider.weebly.com/blog/...openfoam-users) sometime ago. It might be useful for people who are beginning to learn OpenFOAM.
wyldckat likes this.
__________________
Jibran Haider
https://jibranhaider.com/
Jibran is offline   Reply With Quote

Old   October 8, 2018, 17:34
Default
  #19
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
I've found out just now about Jibran's course on a PDF: OpenFOAM course for beginners

I really (or anyone reading this post) need to create a wiki page at openfoamwiki.net to make it easier and allow everyone to help consolidate all of this information in a single wiki page...



edit: Here is another useful thread that Tobi wrote recently: Correct boundary conditions for p_rgh (special for vertical patches)
Tobi likes this.

Last edited by wyldckat; October 20, 2018 at 17:54. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   October 9, 2018, 08:08
Default
  #20
Member
 
Jibran
Join Date: Oct 2012
Location: UK
Posts: 61
Blog Entries: 1
Rep Power: 14
Jibran is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
I've found out just now about Jibran's course on a PDF: OpenFOAM course for beginners

I really (or anyone reading this post) need to create a wiki page at openfoamwiki.net to make it easier and allow everyone to help consolidate all of this information in a single wiki page...

Dear Bruno,

I have added my course on the openfoam wiki page. I don't know the opinion of others but somehow I feel that this page can be organized and updated in a better way (just my opinion!). I believe someone needs to take control to organize and maintain all of the useful information here. I would be willing to do this job if needed. Having said all of this, it could be just me who thinks this way.
wyldckat and Светлана like this.
__________________
Jibran Haider
https://jibranhaider.com/
Jibran 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
Memory protection in OpenFOAM / combinig with FORTRAN botp OpenFOAM Programming & Development 2 February 15, 2016 13:25
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 06:51
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 04:14
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 12:32
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 14:14


All times are GMT -4. The time now is 00:14.