CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   pFinal for pisoFoam solver (

L1011 March 14, 2011 17:13

pFinal for pisoFoam solver
Hey foamers!

Could somebody explain to me what is the pFinal variable that has to be defined in fvSolution when using pisoFoam?

Thanks in advance!


morard March 16, 2011 05:30

Hi L101,

That is the same like p, but pFinal you use in the final iteration for pressure solving

if (corr == nCorr-1 && nonOrth == nNonOrthCorr) // this is final iteration

pEqn.solve(mesh.solver( + "Final"));

Hope this helps,


stawrogin March 16, 2011 05:57

Hi L101,

I think the basic idea behind pFinal is to have an accurate solution at the end of time step without spending to much time in solving the pressure field for the iterations before. So you can tighter your tolerance for the pressure solver in the pFinal solver settings. This will result in more iterations for the last pressure iteration but in a more accurate solution at the end of time step (which is finally the important result).

Best regards


L1011 March 16, 2011 12:59

Thank you guys for your answers!

All times are GMT -4. The time now is 07:15.