CFD Online Logo CFD Online URL
Home > Forums > CFX

Max Residual

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

LinkBack Thread Tools Display Modes
Old   September 9, 2011, 11:26
Default Max Residual
Join Date: Mar 2009
Posts: 48
Rep Power: 10
az_f is on a distinguished road
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?

az_f is offline   Reply With Quote

Old   September 9, 2011, 13:42
New Member
Join Date: Aug 2011
Location: Cracow, Poland
Posts: 7
Rep Power: 8
Biskvito is on a distinguished road
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

Biskvito is offline   Reply With Quote

Old   September 12, 2011, 19:31
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 13,808
Rep Power: 107
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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.
ghorrocks 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07

All times are GMT -4. The time now is 08:13.