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

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

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Antimony

Reply
 
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?
  #1
New Member
 
Suryansh D Kumar
Join Date: May 2016
Posts: 7
Rep Power: 10
suryansh is on a distinguished road
Hi

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

http://calumdouglas.ch/openfoam-tuto...comment-169285


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:

3
(
LES
RAS
laminar
)

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, 16 views)
suryansh is offline   Reply With Quote

Old   May 30, 2016, 12:47
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

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:

v3: https://github.com/OpenFOAM/OpenFOAM...Foam/motorBike

v2.3: https://github.com/OpenFOAM/OpenFOAM...Foam/motorBike

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

Hope this helps.

Cheers,
Antimony
uribealdo likes this.
Antimony is offline   Reply With Quote

Reply

Tags
openfoam 2.3, openfoam 3.0.1, snappy hex mesh


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
[OpenFOAM.org] 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 11:26.