CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Max Residual (

az_f September 9, 2011 11:26

Max Residual
I have a question about Max residual and RMS. Is it necessary that Max residual is more accurate comparing to the RMS.When I used RMS in my model I've got a smooth convergence but when I changed to Max I can see the convergence with fluctuation until 10-5 and then one flat line for 10-6. Does that mean the RMS didn't give me the real convergence or MAX is too restrict.There is 0.1 % difference between the energy calculated from both options, but I'm not sure about the convergence?? Could anyone explain it to me?


Biskvito September 9, 2011 13:42

hi az_f

from what I know we have a matrix of residuals so that's a set of numbers where RMS is a quadratic mean of all of them and MAX is of course the largest of them. This would mean that reqirement on the MAX residual is always more restrict. But 0.1% of difference is in my opinion very small as I've heard that if the model differs from the real object by up to 5% we consider it as very good.
The RMS is more smooth because it's a mean value so it wouldn't differ very much in each timestep.

...but I'm just a student so I might be wrong :D


ghorrocks September 12, 2011 19:31

The residual is a scalar field variable, and RMS and MAX is two different ways of reducing the variable field to a single number. Obviously RMS gives you an average idea of convergence but MAX is dependant on the worst element. Which one is more appropriate depends on what you are doing.

But for most people the convergence you talk about is tighter than is required. Do a mesh sensitivity check to work out how tight you really need to solve it.

All times are GMT -4. The time now is 05:56.