CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   turbulenceModel type error (http://www.cfd-online.com/Forums/openfoam/96980-turbulencemodel-type-error.html)

Marshak February 6, 2012 13:49

error after compiling a new solver
 
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??

jona February 7, 2012 00:54

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


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