CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

turbulenceModel type error

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

Like Tree2Likes
  • 1 Post By Marshak
  • 1 Post By jona

LinkBack Thread Tools Display Modes
Old   February 6, 2012, 13:49
Default error after compiling a new solver
New Member
Join Date: Feb 2012
Posts: 25
Rep Power: 7
Marshak is on a distinguished road
I modified the reactingFoam solver to calculate radiative heat transfer by adding the radiation source term in the enthalpy Equation. After compiling, I tried to run a case that runs smoothly with normal reacting foam solver. But When I run the same case with the modified reactingFoam solver, I get the following error:

Unknown turbulenceModel type RASModel

Valid turbulenceModel types:


From function turbulenceModel::New(const volScalarField&, const volVectorField&, const surfaceScalarField&, basicThermo&, const word&)
in file turbulenceModel.C at line 116.

FOAM exiting

when I change the turbulence model type to 'laminar', I do not get any error...Any help what might went wrong??
ebrahim27 likes this.

Last edited by Marshak; February 6, 2012 at 20:32.
Marshak is offline   Reply With Quote

Old   February 7, 2012, 00:54
New Member
Jörn Nathan
Join Date: Aug 2011
Location: Montréal
Posts: 11
Rep Power: 8
jona is on a distinguished road
Hi Marshak,

I had the same error after I updated my gcc version. The new version needs a different rule for compiling, see Mattjis comment on that issue at

After applying these changes to the rule-files in


it worked for me.

Have a nice day,

ebrahim27 likes this.
jona is offline   Reply With Quote


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
Compile calcMassFlowC aurore OpenFOAM Programming & Development 12 March 18, 2014 05:22
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16:46
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51

All times are GMT -4. The time now is 04:50.