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

Implementing and running a new turbulence model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2009, 23:07
Default Implementing and running a new turbulence model
  #1
Member
 
Sven Schweikert
Join Date: Jun 2009
Posts: 38
Rep Power: 17
svens is on a distinguished road
Hello together.

I implemented a new turbulence model in ...OpenFOAM-1.5/src/turbulenceModels/RAS/incompressible/NewModel with the wmake command. Running it the following error occurred:
Code:
...Unknown RASModel type NewModel

Valid RASModel types are :

15
(
NonlinearKEShih
kEpsilon
realizableKE
LienCubicKELowRe
LienLeschzinerLowRe
LaunderSharmaKE
laminar
SpalartAllmaras
LienCubicKE
LamBremhorstKE
RNGkEpsilon
LRR
QZeta
LaunderGibsonRSTM
kOmegaSST
)


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

FOAM exiting
I thought - copying the structure of an existing turbulence model and compiling is enough to add a new model - obviously it's not...

What is to do to implement a new turbulence model correctly?

Thanks a lot for your help!

Sven

I found my mistake - forgot ta add EXE = $(FOAM_USER_APPBIN)/NewModel in Make/files!

Last edited by svens; August 8, 2009 at 00:19.
svens is offline   Reply With Quote

Old   August 8, 2009, 06:30
Default
  #2
Disabled
 
Join Date: Jul 2009
Posts: 63
Rep Power: 17
anon_c is on a distinguished road
hello i never do this before, but for few days i was searching and i found this

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

if could help you??!!
anon_c is offline   Reply With Quote

Old   August 21, 2009, 03:06
Default
  #3
Member
 
Sven Schweikert
Join Date: Jun 2009
Posts: 38
Rep Power: 17
svens is on a distinguished road
Thanks Tajoooko - the .pdf helped a lot!

Greets - Sven
svens is offline   Reply With Quote

Old   August 21, 2009, 03:59
Default
  #4
Disabled
 
Join Date: Jul 2009
Posts: 63
Rep Power: 17
anon_c is on a distinguished road
that is very nice
anon_c 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
Some questions about implementing a new solver eric OpenFOAM Running, Solving & CFD 4 November 27, 2006 11:04


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