diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C index 76ee09ff27..12ba812afe 100644 --- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C +++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C @@ -827,7 +827,9 @@ bool Foam::functionObjectList::read() { // Bit of trickery to get the original message err.write(Warning, false); - InfoInFunction << nl << endl; + InfoInFunction << nl + << "--> while loading function object '" << key << "'" + << nl << endl; } // Restore previous exception throwing state diff --git a/src/functionObjects/forces/forces/forces.C b/src/functionObjects/forces/forces/forces.C index f1a945b302..a6d7d32ffd 100644 --- a/src/functionObjects/forces/forces/forces.C +++ b/src/functionObjects/forces/forces/forces.C @@ -876,6 +876,7 @@ bool Foam::functionObjects::forces::read(const dictionary& dict) } coordSys_.clear(); + localSystem_ = false; // Centre of rotation for moment calculations // specified directly, from coordinate system, or implicitly (0 0 0)