CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Convergence and residuals

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

LinkBack Thread Tools Display Modes
Old   April 15, 2008, 05:27
Default I need help in understanding w
Christian Lindbäck
Join Date: Mar 2009
Posts: 55
Rep Power: 10
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 '
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 10
pbo is on a distinguished road

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)


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

All times are GMT -4. The time now is 01:30.