Magnox |
February 24, 2022 14:05 |
keyword RASModel is undefined in dictionary
Hello,
I'm trying to run a simulation using the pisoFoam solver with OpenFOAM 8, however I'm getting the following error:
Code:
--> FOAM FATAL IO ERROR:
keyword RASModel is undefined in dictionary "/home/harvyp/OpenFOAM/harvyp-8/run/TestCase2/constant/turbulenceProperties.RAS"
file: /home/harvyp/OpenFOAM/harvyp-8/run/TestCase2/constant/turbulenceProperties.RAS from line 22 to line 26.
From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 570.
FOAM exiting
Here is my turbulenceProperties dictionary:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
RAS
{
model kEpsilon;
turbulence on;
printCoeffs on;
}
// ************************************************************************* //
Apologies if there is a trivial solution to this problem as I am very new to OpenFOAM, but my efforts to solve the issue myself have been unsuccessful. Therefore, any guidance as to how I can solve this error would be greatly appreciated.
Many thanks.
|