CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   how to see convergence history in openfoam? (https://www.cfd-online.com/Forums/openfoam-post-processing/95497-how-see-convergence-history-openfoam.html)

sachinlb December 20, 2011 08:26

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

stevenvanharen December 20, 2011 10:04

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

boger December 21, 2011 09:04

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

santiagomarquezd December 23, 2011 13:00

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


Tutorial of how to plot residuals !


Regards

fferroni January 9, 2012 02:32

different timesteps
 
Hello.

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,

Francesco

hawkeye321 December 14, 2012 14:13

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

Lieven December 14, 2012 15: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...

hawkeye321 December 14, 2012 15:50

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

hawkeye321 December 14, 2012 15:57

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

gschaider December 24, 2012 04:53

Quote:

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 pyFoamPlotRunner.py/pyFoamPlotWatcher.py from PyFoam, but there is a whole thread that discusses different options:

http://www.cfd-online.com/Forums/ope...-new-post.html


All times are GMT -4. The time now is 03:08.