CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Do different openfoam versions have different formats of the configuration files?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2016, 10:44
Unhappy Do different openfoam versions have different formats of the configuration files?
New Member
Suryansh D Kumar
Join Date: May 2016
Posts: 7
Rep Power: 5
suryansh is on a distinguished road

I am an absolute beginner to OpenFOAM. I tried running this snappyHexMesh tutorial which was run on version 2.3. I tried running it on version 3.0.1

I tried running the same example, using the exact same instructions as given in the attached file using OpenFOAM 3.0.1 but got some errors. Do we need to follow any different instructions while using 3.0.1?

This is the error I got
************************************************** ******************************
Unknown TurbulenceModel type RASModel

Valid TurbulenceModel types:


From function TurbulenceModel::New(const alphaField&, const rhoField&, const volVectorField&, const surfaceScalarField&, transportModel&, const word&)
in file /home/openfoam/OpenFOAM/OpenFOAM-3.0.1/src/TurbulenceModels/turbulenceModels/lnInclude/TurbulenceModel.C at line 119
************************************************** ******************************

I find it peculiar that it is searching for the C file in my home directory but OpenFOAM is installed in root. Is this the cause of error?

On changing the constant/turbulenceProperties file to laminar, I still get an error
************************************************** *****************************
Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar
No MRF models present

No finite volume options present

file /home/calibrate_3.0_SimpleFoam/system/fvSchemes.divSchemes from line 32 to line 39.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 442.
************************************************** ****************************

Any help would be greatly appreciated. Thanks in advance.
Attached Files
File Type: txt Meshing and Running in Parallel with SnappyHexMesh.txt (2.1 KB, 12 views)
suryansh is offline   Reply With Quote

Old   May 30, 2016, 12:47
Senior Member
Join Date: Aug 2013
Posts: 387
Rep Power: 10
Antimony is on a distinguished road

There were a few changes between OF2.3 and OF3 in the way things are done.

This is perhaps best illustrated by comparing the same tutorial case between the two versions:



In particular look at the turbulenceProperties file under constant folder and that should help with the first part of the error.

Hope this helps.

Antimony is offline   Reply With Quote


openfoam 2.3, openfoam 3.0.1, snappy hex mesh

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
[] A Mac OS X of23x Development Environment Using Docker rt08 OpenFOAM Installation 1 February 28, 2016 20:00
[CAD formats] Importing mesh files to OpenFOAM: is obj format viable? sudo OpenFOAM Meshing & Mesh Conversion 3 March 5, 2014 06:14
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 14:50

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