BUG: potential fix for stale fvMesh addressing - see #1956

Failures shown in interFoam cases were found to be a result of stale ldu
addressing in fvMesh.  Potentially delete lduPtr_ alone, but likely safer to
clear all addressing:

    // deleteDemandDrivenData(lduPtr_);
    clearAddressing(true);
This commit is contained in:
Andrew Heather
2020-12-15 12:03:09 +00:00
parent 19bd7ed21f
commit 05bf4e119a

View File

@ -278,6 +278,10 @@ bool Foam::fvMesh::init(const bool doInit)
// Intialise my data
polyMesh::init(doInit);
// All addressing needs to be updated
// deleteDemandDrivenData(lduPtr_);
clearAddressing(true);
}
// Check the existence of the cell volumes and read if present