CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   residual (

nimasam January 17, 2011 07:04

hi dear foamer
could u please tell me how residual calculate in open Foam process?
im using interFoam, whats the meaning of residual for alpha1?
is it the average of errors in each point? or maximum error in the whole domain?
whats up if it is up rising?

thanks in advance

Chris Lucas January 17, 2011 08:14


have a look at the PhD These of Prof. Jasak.


nimasam January 17, 2011 13:09

thank Christian for ur suggestion;)
for who likes to know what the residual is, can take a look at pages (173-181)
but my questions still are opening! according to Prof. Jasak thesis, error calculate in each cell for each field from its transport equation, then it is normalized, but i still dont know what's the written residual in log file? is it the average of residual in each cell?or its the maximum residual among all cells ?

Chris Lucas January 18, 2011 04:23


there is a tool in OpenFOAM ext. to plot the local residuals (or have a look at)

You could compare the results of the local residual with the one in the log file


nakul January 20, 2011 05:06

Hi Chris,

Did you find out the details about the residuals?

Is it the average of residual in each cell or is it the maximum residual among all cells or is it the residual calculated in some specific cell only?

All times are GMT -4. The time now is 18:23.