|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
ksv
Join Date: Feb 2011
Posts: 16
Rep Power: 16 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,716
Blog Entries: 6
Rep Power: 53 ![]() ![]() ![]() |
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? |
|
|
|
|
|
|
|
|
#3 |
|
New Member
ksv
Join Date: Feb 2011
Posts: 16
Rep Power: 16 ![]() |
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 |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SimpleFoam k and epsilon bounded | nedved | OpenFOAM Running, Solving & CFD | 16 | March 4, 2017 09:30 |
| 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 05:50 |
| SimpleFoam k and epsilon bounded | nedved | OpenFOAM Running, Solving & CFD | 1 | November 25, 2008 21:21 |