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

Unknown TurbulenceModel type RASModel

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Bazinga

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2016, 05:42
Smile Unknown TurbulenceModel type RASModel
  #1
Member
 
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9
Mark JIN is on a distinguished road
Hi friends,

I have an error saying I used invalid 'RASModel' when I ran simpleFoam. Is it because information missing from 'system' folder? If so, from where can I copied standard RASModel dictionary?

Thanks a lot!!!


markjin@markjin-VirtualBox:~/OpenFOAM/markjin-4.0/run/Building_NV$ simpleFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0-665f1db4c1f1
Exec : simpleFoam
Date : Oct 04 2016
Time : 20:25:33
Host : "markjin-VirtualBox"
PID : 5172
Case : /home/markjin/OpenFOAM/markjin-4.0/run/Building_NV
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


SIMPLE: convergence criteria
field p tolerance 0.01
field U tolerance 0.001
field "(k|epsilon|omega)" tolerance 0.001

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RASModel


--> FOAM FATAL ERROR:
Unknown TurbulenceModel type RASModel

Valid TurbulenceModel types:

3
(
LES
RAS
laminar
)


From function static Foam::autoPtr<Foam::TurbulenceModel<Alpha, Rho, BasicTurbulenceModel, TransportModel> > Foam::TurbulenceModel<Alpha, Rho, BasicTurbulenceModel, TransportModel>::New(const alphaField&, const rhoField&, const volVectorField&, const surfaceScalarField&, const surfaceScalarField&, const transportModel&, const Foam::word&) [with Alpha = Foam::geometricOneField; Rho = Foam::geometricOneField; BasicTurbulenceModel = Foam::incompressibleTurbulenceModel; TransportModel = Foam::transportModel; Foam::TurbulenceModel<Alpha, Rho, BasicTurbulenceModel, TransportModel>::alphaField = Foam::geometricOneField; Foam::TurbulenceModel<Alpha, Rho, BasicTurbulenceModel, TransportModel>::rhoField = Foam::geometricOneField; Foam::volVectorField = Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>; Foam::surfaceScalarField = Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>; Foam::TurbulenceModel<Alpha, Rho, BasicTurbulenceModel, TransportModel>::transportModel = Foam::transportModel]
in file /home/openfoam/OpenFOAM/OpenFOAM-4.0/src/TurbulenceModels/turbulenceModels/lnInclude/TurbulenceModel.C at line 113.

FOAM exiting

markjin@markjin-VirtualBox:~/OpenFOAM/markjin-4.0/run/Building_NV$
Mark JIN is offline   Reply With Quote

Old   October 4, 2016, 06:32
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Unknown TurbulenceModel type RASModel

Valid TurbulenceModel types:

3
(
LES
RAS
laminar
)
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.

Last edited by akidess; October 5, 2016 at 02:10.
akidess is offline   Reply With Quote

Old   October 4, 2016, 09:52
Default
  #3
Member
 
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9
Mark JIN is on a distinguished road
Quote:
Originally Posted by akidess View Post
Valid TurbulenceModel types:

3
(
LES
RAS
laminar
)


Hi Adikess,

I know there are three valid turbulencemodel types and I used RAS for running. But still this error came out. Do I need to amend my "U' "P" 'K' etc. dictionaries?
Mark JIN is offline   Reply With Quote

Old   October 4, 2016, 10:11
Default
  #4
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15
Bazinga is on a distinguished road
I read the error that you defined the model as "RASModel" but it should be "RAS".
akidess likes this.
Bazinga is offline   Reply With Quote

Old   October 7, 2016, 02:59
Default
  #5
Member
 
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9
Mark JIN is on a distinguished road
Quote:
Originally Posted by Bazinga View Post
I read the error that you defined the model as "RASModel" but it should be "RAS".

Thanks Bazinga! Will try to fix it.
Mark JIN is offline   Reply With Quote

Old   December 4, 2016, 12:21
Default Unknown TurbulenceModel type LESModel
  #6
Senior Member
 
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 11
6863523 is on a distinguished road
Quote:
Originally Posted by Mark JIN View Post
Thanks Bazinga! Will try to fix it.
Dear Mark,
I wonder if you have solved your problem or not.
I have met a similar situation, while running the case of flow past a cylinder at: http://openfoamwiki.net/index.php/Be...coftac_ufr2-02
Could you please give me some hints?
Thank you in advance.
Best Regards,
Bill
6863523 is offline   Reply With Quote

Old   December 4, 2016, 21:53
Default
  #7
Member
 
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9
Mark JIN is on a distinguished road
Quote:
Originally Posted by 6863523 View Post
Dear Mark,
I wonder if you have solved your problem or not.
I have met a similar situation, while running the case of flow past a cylinder at: http://openfoamwiki.net/index.php/Be...coftac_ufr2-02
Could you please give me some hints?
Thank you in advance.
Best Regards,
Bill

Hi Bill,

You should define the TurbulenceModel as 'RAS' rather than 'RASModel'. The files you should check and amend should be in 'Constant' folder if I remember correctly.

Regards,
Mark
Mark JIN is offline   Reply With Quote

Old   December 5, 2016, 00:59
Default
  #8
Senior Member
 
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 11
6863523 is on a distinguished road
Quote:
Originally Posted by Mark JIN View Post
Hi Bill,

You should define the TurbulenceModel as 'RAS' rather than 'RASModel'. The files you should check and amend should be in 'Constant' folder if I remember correctly.

Regards,
Mark
Dear Mark,
Thank you for the reply.
If I ran the case directly, the error is like this:
unknown turbulenceModel type LESModel
Valid TurbulenceModel types:
3
(LES
RAS
laminar
)

However, if I change LESModel in to LES in constant--turbulenceProperties--simulationType, another error occurs:
keyword LES is undefined

By the way, I am using the version 3.0.1, and the files I am trying to run is version 1.6.
Any suggestions?
Thank you in advance.
Best Regards,
Bill
6863523 is offline   Reply With Quote

Old   December 5, 2016, 01:48
Default
  #9
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15
Bazinga is on a distinguished road
The syntax in the turbulenceProperties file has changed from 1.6 to 3.x. I am on my phone so I have no example but you can just check a tutorial in 3.x to understand how to set up the files.
Bazinga is offline   Reply With Quote

Old   December 5, 2016, 04:18
Default
  #10
Senior Member
 
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 11
6863523 is on a distinguished road
Quote:
Originally Posted by Bazinga View Post
The syntax in the turbulenceProperties file has changed from 1.6 to 3.x. I am on my phone so I have no example but you can just check a tutorial in 3.x to understand how to set up the files.
Dear Bazinga,
Thanks for the suggestion.
I have checked the constant file for the turbulenceProperties, it does have changed from 1.6 to 3.0.1.
Thanks again.
Best Regards,
Bill
6863523 is offline   Reply With Quote

Old   March 28, 2017, 07:22
Default
  #11
New Member
 
Join Date: Mar 2017
Posts: 28
Rep Power: 9
saatt is on a distinguished road
Yes !! it was changed from 2.0 to 3.0
saatt 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
second order schemes marine OpenFOAM 67 April 11, 2022 18:19
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
Modified pimpleFoam solver to MRFPimpleFoam solver hiuluom OpenFOAM Programming & Development 12 June 14, 2015 21:22
Boundary Conditions MtnRunBeachBum OpenFOAM Pre-Processing 1 April 30, 2015 16:33
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32


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