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

Implementing and running a new turbulence model

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 7, 2009, 22:07
Default Implementing and running a new turbulence model
  #1
Member
 
Sven Schweikert
Join Date: Jun 2009
Posts: 38
Rep Power: 8
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 7, 2009 at 23:19.
svens is offline   Reply With Quote

Old   August 8, 2009, 05:30
Default
  #2
Member
 
Join Date: Jul 2009
Posts: 63
Rep Power: 7
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, 02:06
Default
  #3
Member
 
Sven Schweikert
Join Date: Jun 2009
Posts: 38
Rep Power: 8
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, 02:59
Default
  #4
Member
 
Join Date: Jul 2009
Posts: 63
Rep Power: 7
anon_c is on a distinguished road
that is very nice
anon_c is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 23:37.