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

About residuals, and "bounding epsilon" of executing log-files

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2015, 10:56
Default About residuals, and "bounding epsilon" of executing log-files
  #1
Member
 
Join Date: Jul 2015
Posts: 33
Rep Power: 10
KeiJun is on a distinguished road
Dear Sir,

Do calculation presision in case the residuals are fluctuating (they are decreasing in the whole calculated time) inferior to that in case they are decreasing monotonously?
(See the attatched pictures)

And in my some calculation, "bounding epsilon" and/or "bounding k" occur in the log file. Should I handle for them not to occur (even when residuals are decreasing), even though executed calculations are finished by satisfying the convergence conditions?

In the first place, what do "bounding ***"s mean?



Sincerely,

KeiJun
Attached Images
File Type: jpg epsilon_0 (better).jpg (25.8 KB, 23 views)
File Type: jpg epsilon_0 (worse).jpg (26.7 KB, 22 views)
KeiJun is offline   Reply With Quote

Old   October 21, 2015, 01:38
Default
  #2
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
Sorry, I don't understand your first question, only the second
"Bounding *** error" means that the solver calculated values that are forbidden by the code, such as unphysical values. "k" and "epsilon" have to be larger than zero but sometimes numerical mess leads to values lower than zero. Now the solver realizes it and manually sets them to zero to get a physically meaningfull value. This also holds for values of "k" and "espilon" that are much too high.

Often these "k" / "omega" / "epsilon" bounding errors are produced by the laplacian scheme. I guess you have set the laplacian schemes to "Gauss linear corrected", right? Try to set them to "Gauss linear uncorreted" and see if the errors vanish.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   October 21, 2015, 02:22
Default
  #3
Member
 
Join Date: Jul 2015
Posts: 33
Rep Power: 10
KeiJun is on a distinguished road
Thank you for your thoughtful reply, and sorry for my poor English.

For the first question, I attached the pictures in which I wrote explanation to express my question.


Then, are calculation results in which "bounding *** error" sometime occurs imprecise and unreliable? Because k and/or epsilon values of such results are too big.

I am using "Gauss linear corrected" as you said, because my mesh quarity is not so good.
But I will try "uncorrected".


Sincerely,
Attached Images
File Type: jpg epsilon_0 (better).jpg (36.5 KB, 22 views)
File Type: jpg epsilon_0 (worse).jpg (41.4 KB, 20 views)
KeiJun is offline   Reply With Quote

Old   October 21, 2015, 02:51
Default
  #4
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
1) If the residuals fluctuate on their way down but the final residuals are stable, everything is fine.
2) But if the final residuals are fluctuating as much as in your pictures it could have different reasons. Maybe the case is unsteady and the steady solver can't get a solution. Or the mesh is bad, or the numerical settings are bad... I would try to run the case with safer numerical settings or a better mesh and see if that helps.
3) Yes, if you get bounding errors something is wrong with the calculation. In my experience a better mesh helps in most of the times.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   October 21, 2015, 05:45
Default
  #5
Member
 
Join Date: Jul 2015
Posts: 33
Rep Power: 10
KeiJun is on a distinguished road
What are demerits not to use "Gauss linear corrected" but to use "Gauss linear uncorrected"?

When I use "Gauss linear uncorrected" not for occuring this error, are there something for me to have to sacrifice?
KeiJun is offline   Reply With Quote

Old   October 21, 2015, 06:21
Default
  #6
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
"corrected" is more accurat but also less stable.
You can read in the PhD thesis of Hrvoje Jasak (google...).
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 2, 2015, 06:21
Default
  #7
Member
 
Join Date: Jul 2015
Posts: 33
Rep Power: 10
KeiJun is on a distinguished road
Dear Sir,

I tried to calculate using "Gauss linear uncorrected", but the result (u, p, k, ε) didn't varied, despite "bounding epsilon" didn't occur.

In the mean while, I tried to do with the relaxation factor small, which lead to decrease the number of occuring of "bounding epsilon", then the result (u, p, k, ε) varied.

For the attatched pictures, the meaning of "Cond1" and "Cond2" are "large relaxation factor" and "small relaxation factor", respectively.
The result using "Gauss linear uncorrected" is the same to "Gauss linear corrected" (Cond1).

Why does relaxation factor cause the different result?

I don't know what's what.
What should I think about it?

Please help me!!!!


KeiJun
Attached Images
File Type: jpg Cond1 StreamTracer.jpg (43.8 KB, 7 views)
File Type: jpg Cond1 epsilon.jpg (28.8 KB, 9 views)
File Type: jpg Cond1 k.jpg (26.0 KB, 8 views)
File Type: jpg Cond2 StreamTracer.jpg (73.7 KB, 6 views)
File Type: jpg Cond2 epsilon.jpg (27.6 KB, 7 views)
KeiJun is offline   Reply With Quote

Old   November 2, 2015, 06:49
Default
  #8
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
The relaxation factors don't change the result, if the solution converges in both cases. So if your result is different by changing the relaxation factors, one of the solutions did not converge.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz 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
What means "bounding epsilon"? gara1988 OpenFOAM Running, Solving & CFD 3 October 29, 2012 08:59


All times are GMT -4. The time now is 03:22.