CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   reisiduals in simplefoam (

hawkeye321 January 8, 2013 17:25

reisiduals in simplefoam
Hi Foamers
I am working with a unstedy version of simpleFoam. The vale of residuals calculated using the "initialResidual()" command (like PeqnResidual = pEqn.solve().initialResidual()for pressure) is different from the value of final residuals reported in the log file (ex. DICPCG: Solving for p, Initial residual = 0.00111906, Final residual = 9.36366e-07, No Iterations 116). Shouldn't they be the same? I mean, does the initialResidual() gives the final residual for each parameter given by the linear solver?

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