diff --git a/src/functionObjects/utilities/ensightWrite/ensightWriteUpdate.C b/src/functionObjects/utilities/ensightWrite/ensightWriteUpdate.C index 62084a8998..a6b7dbdc52 100644 --- a/src/functionObjects/utilities/ensightWrite/ensightWriteUpdate.C +++ b/src/functionObjects/utilities/ensightWrite/ensightWriteUpdate.C @@ -103,7 +103,7 @@ bool Foam::functionObjects::ensightWrite::readSelection(const dictionary& dict) selectFields_.uniq(); blockFields_.clear(); - dict.readIfPresent("blockFields", blockFields_); + dict.readIfPresent("excludeFields", blockFields_); blockFields_.uniq(); // Actions to define selection