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

Getting Started with OpenFOAM

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

Like Tree13Likes
  • 13 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   January 4, 2015, 15:48
Default Getting Started with OpenFOAM
  #1
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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. 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 10 others like this.
__________________

Last edited by wyldckat; February 14, 2016 at 17:11. Reason: added links
wyldckat is offline   Reply With Quote

Old   January 18, 2015, 05:56
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Allow me to lead by example.

On the following thread you can find some more details about how to set turbulence options: turbulence problem

edit: icoFoam set outflow Dirichlet conditions for p during runtime 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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
The forum member ron_OFuser has been eagerly suggesting this thread: Running OpenFOAM successfully with Chalmers

edit: Another interesting thread: Which pressure OpenFOAM use for incompressible flow? P/rho or (P-101325)/rho ?

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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
How to define the initial values for k, epsilon and omega... well, there are at least 3 threads on this topic:
wyldckat is offline   Reply With Quote

Old   March 21, 2015, 10:08
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Compilation of additional documentation:

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

Old   June 24, 2015, 12:13
Default
  #6
Member
 
Christa
Join Date: Apr 2011
Posts: 50
Rep Power: 7
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, 07:54
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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:
wyldckat is offline   Reply With Quote

Old   September 27, 2015, 17:04
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Infographic: Explanations of basic boundary conditions
wyldckat is offline   Reply With Quote

Old   November 9, 2015, 10:57
Default
  #9
Member
 
Christa
Join Date: Apr 2011
Posts: 50
Rep Power: 7
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 Eisum
Join Date: Nov 2015
Location: Copenhagen, Denmark
Posts: 5
Rep Power: 2
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
Master student Technical University of Denmark
Malthe Eisum is offline   Reply With Quote

Old   December 2, 2015, 06:44
Default
  #11
Member
 
Christa
Join Date: Apr 2011
Posts: 50
Rep Power: 7
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Another thread for the list: Slide on Dynamic Mesh in OpenFOAM
wyldckat is offline   Reply With Quote

Old   March 19, 2016, 18:41
Default
  #13
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
A few more for the list:
wyldckat is offline   Reply With Quote

Old   April 8, 2016, 04:08
Default
  #14
Member
 
Adrien ORSINI
Join Date: Mar 2016
Location: France
Posts: 85
Rep Power: 2
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, 16:27
Default
  #15
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,531
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Another one for the list: Mathematics, Numerics, Derivations and OpenFOAM
wyldckat is offline   Reply With Quote

Old   May 18, 2016, 06:08
Default
  #16
Member
 
Christa
Join Date: Apr 2011
Posts: 50
Rep Power: 7
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.
user_of_cfx is offline   Reply With Quote

Old   June 18, 2016, 11:00
Default cell centers or cell vertices
  #17
New Member
 
sina
Join Date: Jul 2013
Posts: 14
Rep Power: 5
aghsin is on a distinguished road
hello everyone,
i was wondering whetehr OpenFoam solves the PDE's on the cell centers or cell vertices? I know the result are stored in cell center.
tnx
aghsin is online now   Reply With Quote

Reply

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
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 05:51
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 13:14


All times are GMT -4. The time now is 16:35.