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

Adjusting kepsilon model

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2005, 05:39
Default Hi, at our institute we did
  #1
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
Hi,

at our institute we did some modifications in fluent for the standard k-epsilon model via 'user defined functions'.
The simplest ones were just to modify the source terms.
Doing those modifications should be pretty easy in OpenFoam too; at least I expect that for an opensource code.

Now, I took a look at the files in
OpenFOAM-1.1/src/turbulenceModels/incompressible/kEpsilon
there are two sections for the dissipation and kinetic energy eqn.
Is this the only place I should care when adjusting the model or are there more to look at?
Then a Allwmake for the source should do the job to integrate the new code!?

Best Greetings!
Fabian
braennstroem is offline   Reply With Quote

Old   April 12, 2005, 08:09
Default You are right. All the code sp
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
You are right. All the code specific to the incompressible k-epsilon is in that directory.

Better even would be to create a copy of those files and rename them (and the class inside them). Make sure you change the TypeName in the .H file as well. Compile them (change Make/files) and you'll have your own turbulence model.
mattijs is offline   Reply With Quote

Old   April 12, 2005, 09:52
Default Hi Mattijs, thanks! That so
  #3
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19
braennstroem is on a distinguished road
Hi Mattijs,

thanks! That sounds great!
I think that helps to convince my Prof. using it :-)

Greetings!
Fabian
braennstroem 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
KEpsilon model k_oldTime not working harly OpenFOAM Running, Solving & CFD 2 December 10, 2008 13:13
Modify kEpsilon model harly OpenFOAM 5 December 3, 2008 17:43
About kEpsilon turbulence model osimonsimon OpenFOAM Running, Solving & CFD 10 April 24, 2008 02:52
NACA0012 Study kepsilon Model pda OpenFOAM Running, Solving & CFD 1 March 11, 2008 03:12
mshaADD A NEW RELATION TO kepsilon MODEL msha OpenFOAM Running, Solving & CFD 3 January 6, 2008 07:06


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