CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Implement new Turbulence Model

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

LinkBack Thread Tools Display Modes
Old   July 19, 2009, 15:47
Default Implement new Turbulence Model
Sven Winkler
Join Date: May 2009
Posts: 70
Rep Power: 8
sven is on a distinguished road
I want to implement a new turbulent Reynolds Stress Transport Model. For doing this I edited the existing LaunderGibsonRSTM Model (I changed the equation for the Reynolds stresses, so to fit to the new model). This new model uses in this equation other coefficients than the ones used by the original LaunderGibsonRSTM. According to the implementation of these coefficients in the original LaunderGibsonRSTM.C file, for example

I added new coefficients using exactly the same syntax ( but changing name and value of the coefficient). I also added the new coefficients in the LaunderGibson.H file (also using the same syntax as the one for the original coefficients). I can compile the files with "wmake libso" but when I try to run the turbulent solver with this new model I always get an runtime error, saying that the dimensions of the right an left hand side of the equation I edited dont match anymore. I think that is because the coefficients are defined as dimensioned<scalar>. Where can I set the dimensions of my new coefficients? Are there any more files containing definitions of these coefficients? Was it the right way to implement the new coefficients like this?
Thanks for your help!
sven is offline   Reply With Quote


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
SimpleFoam case with SpalartAllmaras turbulence model implemented nedved OpenFOAM Running, Solving & CFD 2 November 30, 2014 23:43
KOmega Turbulence model from wwwopenFOAMWikinet philippose OpenFOAM Running, Solving & CFD 30 August 4, 2010 10:26
Discussion: Reason of Turbulence!! Wen Long Main CFD Forum 3 May 15, 2009 09:52
Turbulence Model GG CD-adapco 3 March 3, 2008 20:06
Convergence problems with SSG turbulence model Ram CFX 1 June 19, 2006 10:08

All times are GMT -4. The time now is 14:02.