solver tolerance in fvSolution
Hello,
i found a lot of posts in the forum where some solver tolerances within openFOAM are suggested as accurate. For example in the fvSolution file for solving the pequation is "tolerance 1e6", "1e4" or "1e8". I wanted to figure out how this tolerance number is calculated to estimate a number for my simulations, but i can't get it out of the code:confused:. Is there any explanation what this residual number / norm means or which norm is taken from the residual vector!? A little example would be very nice (for example in relative error if i would have only one cell ... or something else) Thanks a lot. rupert 
Well,
the relTol is the relative tolerance between the initial and the final residual. Both are reported by the solver: GAMG: Solving for p, Initial residual = 0.0334352, Final residual = 0.000941545, No Iterations 17 if you specify a relTol of 0.1 the solver will stop iterating if the final residual falls below 0.1*0.0334352=0.00334352. The absolute tolerance you refer to with "tolerance" in fvSolution is the value the Final residual need to fall below. Regards Bastian 
Thanks for the reply Bastian,
but the question is still how the (total) residuum is calculated or what it means.. Do you know that? 

thank you alberto

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