BUG: fvMesh: delete meshPhi upon topo change

This commit is contained in:
mattijs
2014-01-20 20:56:01 +00:00
parent a271e98077
commit 4d65ce6810

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -829,6 +829,9 @@ void Foam::fvMesh::updateMesh(const mapPolyMesh& mpm)
}
// Clear mesh motion flux (note: could instead save & map like volumes)
deleteDemandDrivenData(phiPtr_);
// Clear the sliced fields
clearGeomNotOldVol();