CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   What does "tolerance" stand for? (https://www.cfd-online.com/Forums/openfoam-solving/171454-what-does-tolerance-stand.html)

Nene Lee May 9, 2016 04:50

What does "tolerance" stand for?
 
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!

Bazinga May 9, 2016 10:56

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.


All times are GMT -4. The time now is 18:09.