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

Limiting k and epsilon

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 11, 2013, 05:04
Default Limiting k and epsilon
  #1
ksv
New Member
 
ksv
Join Date: Feb 2011
Posts: 13
Rep Power: 6
ksv is on a distinguished road
Dear Foamers,
Kindly help me in limiting k & epsilon values. Am using LaunderSharmaKE model and want to limit the k and epsilon values within certain range. I tried something like below
k_ = min(k_, 5)
in LaunderSharmaKE.C file and compiled. But nothing works. Kindly correct me.
Thanks
KSV
ksv is offline   Reply With Quote

Old   July 11, 2013, 06:42
Default
  #2
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,100
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
I am not 100% sure but maybe you can use the following scheme:

Code:
div(phi, Epsilon) Gauss limitedLimitedLinear 0 5 1;

In which line did you insert your line?
And what is the reason for limiting your k - value?
Tobi is offline   Reply With Quote

Old   July 11, 2013, 21:02
Default
  #3
ksv
New Member
 
ksv
Join Date: Feb 2011
Posts: 13
Rep Power: 6
ksv is on a distinguished road
Hi Tobi,
Thanks your suggestion and will try it today. I inserted it below the solve(kEqn) line in the LaunderSharmaKE.C file. Honestly speaking I dont know as where to put it. The reason for limiting k values is that it is blowing up to huge values in my simulations.
Thanks
ksv
ksv is offline   Reply With Quote

Old   July 13, 2013, 03:12
Default
  #4
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,100
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

if your values blow up ... then its possible that you have wrong BC or a bad mesh or anything is going wrong.
Tobi 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
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 13 November 4, 2013 15:13
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37
Calculation of k and epsilon freezes Nigirim OpenFOAM Running, Solving & CFD 1 November 14, 2012 08:52
epsilon and K blowing up. sivakumar OpenFOAM Running, Solving & CFD 1 October 25, 2012 04:50
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 21:21


All times are GMT -4. The time now is 10:01.