|
[Sponsors] |
October 4, 2016, 05:42 |
Unknown TurbulenceModel type RASModel
|
#1 |
Member
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9 |
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$ |
|
October 4, 2016, 06:32 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
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. |
|
October 4, 2016, 09:52 |
|
#3 |
Member
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9 |
||
October 4, 2016, 10:11 |
|
#4 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15 |
I read the error that you defined the model as "RASModel" but it should be "RAS".
|
|
October 7, 2016, 02:59 |
|
#5 |
Member
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9 |
||
December 4, 2016, 12:21 |
Unknown TurbulenceModel type LESModel
|
#6 |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 11 |
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 |
|
December 4, 2016, 21:53 |
|
#7 | |
Member
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9 |
Quote:
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 |
||
December 5, 2016, 00:59 |
|
#8 | |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 11 |
Quote:
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 |
||
December 5, 2016, 01:48 |
|
#9 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15 |
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.
|
|
December 5, 2016, 04:18 |
|
#10 | |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 11 |
Quote:
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 |
||
March 28, 2017, 07:22 |
|
#11 |
New Member
Join Date: Mar 2017
Posts: 28
Rep Power: 9 |
Yes !! it was changed from 2.0 to 3.0
|
|
|
|
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 |