postProcess.H: clear the object owned by the mesh objectRegistry

at the end of each time processed to ensure all fields are updated for each
time.

Resolves bug-report https://bugs.openfoam.org/view.php?id=2997
This commit is contained in:
Henry Weller
2018-06-27 22:21:02 +01:00
parent ac9208b802
commit 42dde9014c
3 changed files with 31 additions and 18 deletions

View File

@ -155,6 +155,9 @@ if (argList::postProcess(argc, argv))
Warning<< err << endl;
}
// Clear the objects owned by the mesh
mesh.objectRegistry::clear();
Info<< endl;
}