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

Unknown RASModel type mySpalartAllmaras (airfoil)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2017, 04:27
Smile Unknown RASModel type mySpalartAllmaras (airfoil)
  #1
New Member
 
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 10
Salim is on a distinguished road
I am trying to work on an airfoil model and I'm currently using openFoam 2.3 version. the following link has the case that I am working on so far:

http://www.tfd.chalmers.se/~hani/kur...bedi/files.tgz

I am a beginner in OpenFoam. the problem is when I try to run a simpleFoam I face this problem.

Quote:
--> FOAM FATAL ERROR:
Unknown RASModel type mySpalartAllmaras

Valid RASModel types:

18
(
LRR
LamBremhorstKE
LaunderGibsonRSTM
LaunderSharmaKE
LienCubicKE
LienCubicKELowRe
LienLeschzinerLowRe
NonlinearKEShih
RNGkEpsilon
SpalartAllmaras
kEpsilon
kOmega
kOmegaSST
kkLOmega
laminar
qZeta
realizableKE
v2f
)


From function RASModel::New(const volVectorField&, const surfaceScalarField&, transportModel&, const word&)
in file RASModel/RASModel.C at line 140.

FOAM exiting

could you give the solution step by step please??!!!

note that I am working in this case in an separated copy from OpenFoam 2.3 files.


thanks in advance..
Salim is offline   Reply With Quote

Old   January 30, 2017, 07:56
Default
  #2
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 17
student666 is on a distinguished road
Openfoam is telling you that your turbulent model "my spalartallmaras" has not been recognized. Maybe you forgot to compile it.

Sent from my ASUS_X008D using CFD Online Forum mobile app
student666 is offline   Reply With Quote

Old   January 30, 2017, 10:06
Default
  #3
Senior Member
 
Join Date: Mar 2014
Posts: 112
Rep Power: 12
mzzmrt is on a distinguished road
Are you sure the files you have used are compatible with v2.3.x?
Could you successfully compiled the new turbulence model?

If both answers are "yes", you have add the a line to the controlDict such as
libs ("libmyIncompressibleTurbulenceModels.so");

If one of the answers is "no", you have to learn howto compile new models to the OpenFOAM first...
mzzmrt is offline   Reply With Quote

Old   January 30, 2017, 11:06
Default
  #4
New Member
 
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 10
Salim is on a distinguished road
Quote:
Originally Posted by mzzmrt View Post
Are you sure the files you have used are compatible with v2.3.x?
Could you successfully compiled the new turbulence model?

If both answers are "yes", you have add the a line to the controlDict such as
libs ("libmyIncompressibleTurbulenceModels.so");

If one of the answers is "no", you have to learn howto compile new models to the OpenFOAM first...
I am sure that the files compatible with the version,

it's probably because of the compiling of the new models? how to do this? please give a step by step explanation??


note that the line libs ("libmyIncompressibleTurbulenceModels.so");
is already added to the controlDict ...
Salim is offline   Reply With Quote

Old   January 30, 2017, 13:36
Default
  #5
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 10
khedar is on a distinguished road
1. Extract the zip (Downloaded from the link you have shared).
2. Go to the src folder using command line.
3. Run "wclean"
4. Run "wmake libso"

Should be working then.

If not then share output from running these commands.
khedar is offline   Reply With Quote

Old   January 30, 2017, 18:12
Default
  #6
New Member
 
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 10
Salim is on a distinguished road
Quote:
Originally Posted by khedar View Post
1. Extract the zip (Downloaded from the link you have shared).
2. Go to the src folder using command line.
3. Run "wclean"
4. Run "wmake libso"

Should be working then.

If not then share output from running these commands.
it did not work

gives me error message
Salim is offline   Reply With Quote

Old   January 30, 2017, 18:31
Default
  #7
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 10
khedar is on a distinguished road
Quote:
Originally Posted by Salim View Post
it did not work

gives me error message
When you get an error message, it would be helpful if you share it.
khedar is offline   Reply With Quote

Old   January 30, 2017, 18:35
Default
  #8
New Member
 
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 10
Salim is on a distinguished road
Quote:
Originally Posted by khedar View Post
When you get an error message, it would be helpful if you share it.
it gives me this error message when I excuse wmake

Salim is offline   Reply With Quote

Old   January 31, 2017, 04:05
Default
  #9
Senior Member
 
Join Date: Mar 2014
Posts: 112
Rep Power: 12
mzzmrt is on a distinguished road
As you can see in the model developers paper below

http://www.tfd.chalmers.se/~hani/kur...ort_task_3.pdf

This model has been developed for OpenFOAM-1.7.x. So you have two options;

1. Use OpenFOAM 1.7.x

2. First implement the new model for the v2.3 according to the pdf above then compile...
mzzmrt is offline   Reply With Quote

Old   January 31, 2017, 04:34
Default
  #10
New Member
 
Salim
Join Date: Dec 2016
Posts: 22
Rep Power: 10
Salim is on a distinguished road
Quote:
Originally Posted by mzzmrt View Post
As you can see in the model developers paper below

http://www.tfd.chalmers.se/~hani/kur...ort_task_3.pdf

This model has been developed for OpenFOAM-1.7.x. So you have two options;

1. Use OpenFOAM 1.7.x

2. First implement the new model for the v2.3 according to the pdf above then compile...

Have u got the OpenFoam1.7.x versions link for ubuntu system??

+

How do you know that the model has been developed for this specific version???
Salim 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 19:19
time step continuity problem in VAWT simulation lpz_michele OpenFOAM Running, Solving & CFD 5 February 22, 2018 20:50
Boundary Conditions MtnRunBeachBum OpenFOAM Pre-Processing 1 April 30, 2015 17:33
singularity? mihaipruna OpenFOAM Running, Solving & CFD 5 April 24, 2012 18:18
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32


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