interIsoFoam crashes with nOuterCorrectors > 1
when using interIsoFoam (version OpenFOAM-plus develop-prerelease) with nOutercorrectors larger than 1, the solver crashes with the following error message:
--> FOAM FATAL ERROR: previous iteration field IOobject: volScalarField alpha.water readOpt: 0 writeOpt: 0 globalObject: 0 "/home/heinri8/OpenFOAM/OpenFOAM-plus/tutorials/multiphase/interIsoFoam/damBreak/0"
not stored. Use field.storePrevIter() at start of iteration.
To reproduce this simply take the dambreak tutorial case and change nOuterCorrectors from 1 to 2 and start the Allrun script.
I assume there is a typo in the alphaEqn.H file on line 14. It states:
It should probably be as following:
since the previous iteration is actually called later in the file on line 23.