CrankNicolson ddtScheme isn't working with MPPICInterFoam
Summary
MPPICInterFoam isn't working when using the CrankNicolson ddtScheme. After my own project didnt work, I tried the "twoPhasePachuka" tutorial case with the same result. After the first time step it crashes, showing the error message attached further down.
Steps to reproduce
Take the "twoPhasePachuka" tutorial case.
In file fvSchemes, change the ddtScheme to CrankNicolson:
ddtSchemes
{
default CrankNicolson 0.1;
}
In file fvSolution, change the number of AlphaSubCycles to 1:
solvers
{
"alpha.water.*"
{
nAlphaCorr 2;
nAlphaSubCycles 1;
cAlpha 1;
Relevant logs and/or images
--> FOAM FATAL ERROR:
tmp<N4Foam14GeometricFieldIdNS_13fvsPatchFieldENS_11surfaceMeshEEE> deallocated
From function const T& Foam::tmp<T>::cref() const [with T = Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>]
in file /OpenFOAM/v1812/OpenFOAM-v1812/src/OpenFOAM/lnInclude/tmpI.H at line 230.
FOAM aborting
Environment information
OpenFOAM version : v1812