CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   how to see convergence history in openfoam? (

sachinlb December 20, 2011 09:26

how to see convergence history in openfoam?
Dear All,
May I know how to plot converegence history in openfoam?

stevenvanharen December 20, 2011 11:04

The foamLog script will generate xy-files based on the log file generated by the run.

boger December 21, 2011 10:04

You can also monitor convergence "real time" using the pyFoam package.

santiagomarquezd December 23, 2011 14:00

There is an old thread which could be helpful (this is the way I monitor residuals):

Tutorial of how to plot residuals !


fferroni January 9, 2012 03:32

different timesteps

I have the same question, however, when I run FoamLog, the outputs files I get are only for the first time-step of my solution, so they only have 1 x-y entry in each of them. I checked the log file and it has many more timesteps..?

Kind Regards,


mahdiiowa December 14, 2012 15:13

Residual at special time step
Do you guys know how I can plot residuals at a special time step?

Lieven December 14, 2012 16:47

What do you mean exactly with "at a special time step".

Using the foamLog utility you can plot them in function of the simulated time but I don't know if this is what you want to do...

mahdiiowa December 14, 2012 16:50

For example, how can I plot the residuals at t = 5s or so,e other time step?

mahdiiowa December 14, 2012 16:57

or lets say, how can I plot the final residuals as a function of time?

gschaider December 24, 2012 05:53


Originally Posted by mahdiiowa (Post 397620)
or lets say, how can I plot the final residuals as a function of time?

I'd personally recommend from PyFoam, but there is a whole thread that discusses different options:

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