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

Implement new Turbulence Model

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2009, 15:47
Default Implement new Turbulence Model
  #1
Member
 
Sven Winkler
Join Date: May 2009
Posts: 70
Rep Power: 16
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

Code:
Clg1_
    (
        dimensioned<scalar>::lookupOrAddToDict
        (
            "Clg1",
            coeffDict_,
            1.8
        )
    ),
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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 22: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 Siemens 3 March 3, 2008 19:06
Convergence problems with SSG turbulence model Ram CFX 1 June 19, 2006 10:08


All times are GMT -4. The time now is 20:54.