Skip to content
Snippets Groups Projects
Commit 05bf4e11 authored by Andrew Heather's avatar Andrew Heather
Browse files

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);
parent 19bd7ed2
Branches
Tags
No related merge requests found
...@@ -278,6 +278,10 @@ bool Foam::fvMesh::init(const bool doInit) ...@@ -278,6 +278,10 @@ bool Foam::fvMesh::init(const bool doInit)
// Intialise my data // Intialise my data
polyMesh::init(doInit); polyMesh::init(doInit);
// All addressing needs to be updated
// deleteDemandDrivenData(lduPtr_);
clearAddressing(true);
} }
// Check the existence of the cell volumes and read if present // Check the existence of the cell volumes and read if present
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment