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

Question Re: Residuals

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

LinkBack Thread Tools Display Modes
Old   March 2, 2012, 22:20
Default Question Re: Residuals
Senior Member
Join Date: Jul 2009
Location: Montreal, Canada
Posts: 152
Rep Power: 8
dancfd is on a distinguished road
Hello all,

I have a question regarding residuals. I am running pimpleFoam, and after running foamLog I am not certain which of the many residual files will tell me how well my simulation is converging. I have the following files: p_0, p_1, p_2, p_3, pFinalRes_0, pFinalRes_1, pFinalRes_2, and pFinalRes_3. p_0 is typically ~0.5, and pFinalRes_0 ~1e-12 (equal to my convergence criterion). Note that this is a transient sim, so I expect the residuals to be higher than the 1e-5 that would normally be acceptable for a steady sim. Can someone please confirm that it is p_0 that is the true measure of convergence?


dancfd is offline   Reply With Quote

Old   March 14, 2012, 05:51
Senior Member
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 7
Ralph M is on a distinguished road
Dear Daniel,

I never have used foamLog but I guess that the different files for the pressure are due to the use of correctors (as defined in the fvSolution-file) and subcycles. My bet would be that p0 would be indeed the best measure for convergence.


CFD for marine applications? Go to and join the OF Ship Hydromechanics Group:
Ralph M 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
Tutorial of how to plot residuals ! wolle1982 OpenFOAM Running, Solving & CFD 123 August 25, 2015 03:15
A question about the residuals matteo_gautero OpenFOAM Running, Solving & CFD 3 March 14, 2008 10:41
DPM residuals for sampler Don Parsons FLUENT 0 April 10, 2007 11:56
Residuals again Elbornin FLUENT 0 January 26, 2007 15:00
question K.L.Huang CD-adapco 1 March 29, 2000 04:57

All times are GMT -4. The time now is 14:04.