In this section some simple cases will be discussed as basic examples so as to start using OpenFOAM at the beginner stage. These are very simple cases I had to solve when I was taking my first steps in this tough world. Actually, they were made to be solved with a scientific calculator with just a few nodes, here, however, more nodes will be used to take benefit of this powerful software.
Although this cases are simple ones and have been built with the purpose of aiding beginners in their first steps with OpenFOAM, I strongly encourage the intermediate users, with some basic background in the OpenFOAM technology, to take a look at these cases since some advanced features have been used and will also be discussed in further sections. The main basic subjects that will be discussed are the following ones:
- Basic mesh generation with blockMesh. Use of variables in order to automate the mesh creation process. cellZone creation with blockMesh.
- Creation of cellSets and cellZones with topoSet in order to create multi-region cases.
- fvOptions framework handling to define heat sources in OpenFOAM.
Other subjects that will be discussed, and may be of interest to the ones that have an intermediate level in the OpenFOAM technology, are:
- Use of function objects in order to compute very useful post processing data.
- Residual analysis in order to check the solver convergence, with special emphasis in multi-region cases.
I recomend to have installed the following packages in order to be able to develop some features, namely the last two points mentioned above, that will be discussed along these cases:
Solvers used in the cases presented here:
Cases studied can be found below:
More cases will be added in the future! Stay tuned if you are interested!
Cases marked with are ready for you to be done!
Cases marked with are still in the oven.
Cases marked with are planned but not developed yet.
[Note: These tutorials have been prepared to be solved with OpenFOAM 2.3.x. Since the code may have suffered some changes from previous or newer versions that may make difficult, or even impossible, to reproduce some results I do not take any responsibility for the difficulties you may find if you use a different software version.]