diff --git a/applications/utilities/mesh/manipulation/createPatch/createPatch.C b/applications/utilities/mesh/manipulation/createPatch/createPatch.C index 1df5e9dae8..54b9c03391 100644 --- a/applications/utilities/mesh/manipulation/createPatch/createPatch.C +++ b/applications/utilities/mesh/manipulation/createPatch/createPatch.C @@ -508,18 +508,18 @@ int main(int argc, char *argv[]) const bool overwrite = args.optionFound("overwrite"); - word sampleDictName + word dictName ( args.optionLookupOrDefault("dict", "createPatchDict") ); - Info<< "Reading " << sampleDictName << nl << endl; + Info<< "Reading " << dictName << nl << endl; IOdictionary dict ( IOobject ( - sampleDictName, + dictName, runTime.system(), ( meshRegionName != polyMesh::defaultRegion