CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Convergence and residuals

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2008, 05:27
Default I need help in understanding w
  #1
Member
 
Christian Lindbäck
Join Date: Mar 2009
Posts: 55
Rep Power: 17
christian is on a distinguished road
I need help in understanding when a RANS computation can be considered to be converged. I monitor both the residuals as well as e.g. inlet pressure (when using a velocity inlet). Another option is to probe a location in terms of e.g. pressure.

1) If both residuals as well as inlet pressure have reached a level where no changes occur, can the solution be regarded as converged? I mean, is there no possibility of oscillating around a "false" solution?

2) When running a second order scheme (e.g. vanLeer) the residuals usually never drop three orders of magnitude as one was taught at university. What does this mean in combination with a monitored inlet pressure that has reachad some kind of constant oscillatory behaviour?

3) When running a second order scheme I start from the first order solution. This leads into my question concerning how the residual is computed. Depending on what solution one starts from, as well as how the residual is calculated, it could be hard to make the residuals drop three orders of magnitude. Comments?

Best regards,
Christian Svensson
christian is offline   Reply With Quote

Old   April 15, 2008, 13:28
Default Christian, as regards the '
  #2
pbo
Member
 
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
pbo is on a distinguished road
Christian,

as regards the 'academic' rule of thumb for iteration convergence (ie dropping 3 orders of magnitude), this only applies to the *unscaled* residuals (ie something like sum_over_cells(RHS-LHS)). In OpenFOAM, the residuals you see are 'scaled' residuals (I am borrowing some terminology from Fluent here, sorry), which means you need not drop 3 orders of magnitude to claim convergence, just have your scaled residuals remaining smaller than a given tolerance (default values used in the tutorial are enough in most cases, however the smaller the better -- if you don't mind an increase in CPU time)

Cheers,

Patrick
pbo is offline   Reply With Quote

Reply


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
Residuals for convergence of segregated solvers almanstoetter OpenFOAM Running, Solving & CFD 13 September 7, 2020 17:58
convergence and residuals ebm CFX 2 February 2, 2009 17:55
How to set convergence not using residuals Stephen Gillen FLUENT 0 November 28, 2008 07:03
Convergence-Residuals Madhukar FLUENT 7 May 17, 2007 03:13
Convergence - scaled vs unscaled residuals HS FLUENT 1 November 7, 2005 05:45


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