CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

What does "tolerance" stand for?

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

LinkBack Thread Tools Display Modes
Old   May 9, 2016, 04:50
Default What does "tolerance" stand for?
New Member
Nene Lee
Join Date: Mar 2015
Location: Jinan, China
Posts: 2
Rep Power: 0
Nene Lee is on a distinguished road
Hi foamers!
Two issues, which have been puzzled me a lot, i.e.,
1. What dose the entry 'tolerance' in fvSolution::solvers of every equations stand for? I mean that, for U equation, if the tolerance 1e-5 is specified and the final iteration can achieve a residual below 1e-5, what is the maximal relative error for U?

2. I find nearly all the toelerances in tutorials of OpenFOAM are taken as 1e-5~1e-8. Is this a general rule for every case? Are there any general rules to determine the tolerances?

Can anybody give me any tips? Thanks in Advance!

All the best!
Nene Lee is offline   Reply With Quote

Old   May 9, 2016, 10:56
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 146
Rep Power: 8
Bazinga is on a distinguished road
1. "tolerance" describes the global, normalized residual of the matrices A phi = b for each transport equation. From the residuals you can not conclude to the error of your flow value at the various positions in your domain because other errors such as the modeling error are not considered.

2. It depends on your simulation - I would recommend doing your own analysis by changing the residuals validate the solution to see the impact on your results.
Bazinga is offline   Reply With Quote


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

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