CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Very small residual

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2011, 15:18
Default Very small residual
  #1
Member
 
Join Date: Aug 2011
Posts: 30
Rep Power: 14
orxan.shibli is on a distinguished road
Hi everyone!

For common residual definition which is,

r = b - A*y

I get a very small value even at the beginning (about e-5). So I'm not sure how I can set a criterion of convergence.

Waiting your precious answers.
orxan.shibli is offline   Reply With Quote

Old   August 18, 2011, 16:07
Default
  #2
New Member
 
Ertan Karaismail
Join Date: Apr 2009
Posts: 17
Rep Power: 17
ertan is on a distinguished road
One option could be using normalized value for setting convergence criterion;

Rn_i=R_i/R_1 < tolerance

where,

Rn_i= normalized residual from the ith iteration
R_i = residual from the ith iteration
R_1= residual from the 1st iteration (generally max residual)
ertan is offline   Reply With Quote

Old   August 18, 2011, 16:37
Default
  #3
Member
 
Join Date: Aug 2011
Posts: 30
Rep Power: 14
orxan.shibli is on a distinguished road
Mr. Ertan

Thank you. But in this case what should be the proper tolerance? How can I be sure that, chosen tolerance is enough for accurate results?
orxan.shibli is offline   Reply With Quote

Old   August 18, 2011, 17:03
Default
  #4
Senior Member
 
sail's Avatar
 
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 16
sail is on a distinguished road
Quote:
Originally Posted by orxan.shibli View Post
Mr. Ertan

Thank you. But in this case what should be the proper tolerance? How can I be sure that, chosen tolerance is enough for accurate results?
you would need to check at the history of some physical quantities of the flow plotted vs the number of iteration. for example lift, drag, heat transfer, etc...
sail is offline   Reply With Quote

Old   August 19, 2011, 11:40
Default
  #5
New Member
 
Ertan Karaismail
Join Date: Apr 2009
Posts: 17
Rep Power: 17
ertan is on a distinguished road
That depends on how much accuracy you need. For unsteady flows, it should be safe to can pick a tolerance (convergence criterion) of 0.001 or less for the normalized residuals. For steady flows, I would suggest setting the convergence criterion to a very low value, such as 10^-10. This way you could minimize the iteration error in your calculations. (If you plot residuals, you should be able to see them level off (flatten) after a while).

HTH
ertan is offline   Reply With Quote

Reply

Tags
residual, small


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 8 July 1, 2022 06:54
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


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