Page 1 of 1

Equation convergence tolerance in Code Saturne

Posted: Sat Mar 18, 2017 8:36 pm
by spal
I read through the documentation and it appears that the residuals are based on sum of squares of cell residuals over the entire domain. With regards to ensuring that the user specified tolerance for each equation is met, how is the global residual value scaled before comparison to the user specified criteria ?

Which sub-routine in the code (and in which file) checks this ?

Re: Equation convergence tolerance in Code Saturne

Posted: Thu Mar 23, 2017 9:22 pm
by Luciano Garelli
Hello,

I really don't know in detail where the convergence it is verified but you can check the the file /base/cs_equation_iterative_solve.c and the documentation in http://code-saturne.org/doxygen/src/cs_ ... ve_8c.html.
Also, in the theory guide there are information about residuals. I hope that this help you.

Regards,

Luciano