|
[Sponsors] |
July 11, 2013, 05:04 |
Limiting k and epsilon
|
#1 |
New Member
ksv
Join Date: Feb 2011
Posts: 16
Rep Power: 15 |
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 |
|
July 11, 2013, 06:42 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
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? |
|
July 11, 2013, 21:02 |
|
#3 |
New Member
ksv
Join Date: Feb 2011
Posts: 16
Rep Power: 15 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam k and epsilon bounded | nedved | OpenFOAM Running, Solving & CFD | 16 | March 4, 2017 08:30 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 06:37 |
Calculation of k and epsilon freezes | Nigirim | OpenFOAM Running, Solving & CFD | 1 | November 14, 2012 07: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 20:21 |