diff --git a/src/functionObjects/field/fieldExpression/fieldExpression.C b/src/functionObjects/field/fieldExpression/fieldExpression.C index 8c65e40887b10ec0f61021cc77ecb69ce7d31dab..d56bff0bdebf5ad48bcb207b6887aea9ae30a2f1 100644 --- a/src/functionObjects/field/fieldExpression/fieldExpression.C +++ b/src/functionObjects/field/fieldExpression/fieldExpression.C @@ -121,8 +121,8 @@ bool Foam::functionObjects::fieldExpression::execute() if (!calc()) { Warning - << "functionObject " << type() << ": Cannot find required field " - << fieldName_ << endl; + << " functionObjects::" << type() << " " << name() + << " cannot find required field " << fieldName_ << endl; // Clear the result field from the objectRegistry if present clear();