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

bounding error for k and epsilon

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2016, 04:00
Default bounding error for k and epsilon
  #1
Senior Member
 
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11
sinatahmooresi is on a distinguished road
Hi Foamres!
i'm dealing with k-e model and RSM (LRR and SSG) in a case. i faced with the problem of bounding error for k and epsilon in my runs. the main point i want to ask is that how sensitive to initial and boundary conditions is the case in solvers like pisoFoam???

actually i mean when i use fixedValue BS for inlet in k and epsilon files, i face with this problem ( bounding error) and when i put them in zeroGradient , i have no problem!
also with same boundary conditions ( zeroGradient for inlet of k, e) when i change the mesh of my geometry i face with that error again!
so does anyone have an experience about sensibility of cases in incompressible solver(particular in pisoFoam) to such boundary conditions and mesh changing as i mentioned above??
regards
bests
sinatahmooresi is offline   Reply With Quote

Old   July 27, 2016, 06:57
Default
  #2
New Member
 
Join Date: Oct 2014
Posts: 26
Rep Power: 11
teuk is on a distinguished road
Hi sinatahmooresi,

in my experience it depends on your bounding. If the bounded values are above but close to zero this is not a problem. It's more a problem of calculation precision.

for example: If your k-value is something like 1e-24 the bounding will set the value to 0. Because if you run in normal precission mode your pressicion is something like 1e-12 if I remeber correct.

But if your k-value is below 0 this is really a problem. In most cases it depends on your mesh or your timstep size.

regards,
teuk
teuk is offline   Reply With Quote

Old   July 27, 2016, 10:25
Default
  #3
Senior Member
 
CFD_Lovers
Join Date: Mar 2015
Posts: 168
Rep Power: 11
sinatahmooresi is on a distinguished road
Quote:
Originally Posted by teuk View Post
Hi sinatahmooresi,

in my experience it depends on your bounding. If the bounded values are above but close to zero this is not a problem. It's more a problem of calculation precision.

for example: If your k-value is something like 1e-24 the bounding will set the value to 0. Because if you run in normal precission mode your pressicion is something like 1e-12 if I remeber correct.

But if your k-value is below 0 this is really a problem. In most cases it depends on your mesh or your timstep size.

regards,
teuk
Hi teuk
thank u for your reply, I should say that in may case value are going to be negative and then crash the solution by exploding Courant. so I fined something in other threads in openfoam forum. and some people had proposed to changing the scheme of div(phi,k) from higher order to first order method like e.g. :
gauss limitedLinear 1 ... change to gauss upwind
I didi it and it is working now!
so i didn't verify the results yet
so my research is continued !
and the thing: I'm dubious that grid generation could be the source of this problem and still i'm working on it
thank u again for your reply
regards
sinatahmooresi is offline   Reply With Quote

Reply


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 k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 16 March 4, 2017 08:30
Bounding k and epsilon & coldEngineFoam sasanghomi OpenFOAM 1 September 13, 2013 12:12
epsilon and K blowing up. sivakumar OpenFOAM Running, Solving & CFD 1 October 25, 2012 04:50
MRFSimpleFOAM goes divergenced! renyun0511 OpenFOAM Running, Solving & CFD 0 November 19, 2009 02:11
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 20:21


All times are GMT -4. The time now is 13:49.