CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Implementing and running a new turbulence model (http://www.cfd-online.com/Forums/openfoam/67228-implementing-running-new-turbulence-model.html)

svens August 7, 2009 22:07

Implementing and running a new turbulence model
 
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!

anon_c August 8, 2009 05:30

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??!!

svens August 21, 2009 02:06

Thanks Tajoooko - the .pdf helped a lot!

Greets - Sven

anon_c August 21, 2009 02:59

that is very nice :)


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