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

turbulenceModel type error

Register Blogs Community New Posts Updated Threads Search

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2012, 13:49
Default error after compiling a new solver
  #1
New Member
 
Join Date: Feb 2012
Posts: 25
Rep Power: 14
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:



--> FOAM FATAL ERROR:
Unknown turbulenceModel type RASModel

Valid turbulenceModel types:

1
(laminar)

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
Default
  #2
New Member
 
Jörn Nathan
Join Date: Aug 2011
Location: Montréal
Posts: 11
Rep Power: 15
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

http://www.openfoam.com/mantisbt/view.php?id=316#c751

After applying these changes to the rule-files in

wmake/rules/linux64*/

it worked for me.

Have a nice day,

Jörn
ebrahim27 likes this.
jona is offline   Reply With Quote

Reply


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
Compile calcMassFlowC aurore OpenFOAM Programming & Development 13 March 23, 2018 08:43
[OpenFOAM] Saving ParaFoam views and case sail ParaView 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 18:51


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