From f721b5344f51ba8e79991febf037d863268e91d6 Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@esi-group.com> Date: Tue, 2 Jun 2020 14:15:21 +0200 Subject: [PATCH] ENH: report dictionary name actually used (for -dict option) --- applications/test/PDRblockMesh/Test-PDRblockMesh.C | 11 +++-------- .../surfaceIntersection/Test-surfaceIntersection.C | 9 +++++++-- .../mesh/advanced/collapseEdges/collapseEdges.C | 5 +++-- .../utilities/mesh/advanced/modifyMesh/modifyMesh.C | 2 +- .../mesh/generation/PDRblockMesh/PDRblockMesh.C | 9 ++------- .../utilities/mesh/generation/blockMesh/blockMesh.C | 7 +------ .../mesh/generation/extrude/extrudeMesh/extrudeMesh.C | 2 +- .../extrude/extrudeToRegionMesh/extrudeToRegionMesh.C | 2 +- .../mesh/generation/snappyHexMesh/snappyHexMesh.C | 2 +- .../mesh/manipulation/createBaffles/createBaffles.C | 6 +++--- .../mesh/manipulation/createPatch/createPatch.C | 2 +- .../mergeOrSplitBaffles/mergeOrSplitBaffles.C | 11 ++++++++--- .../mesh/manipulation/mirrorMesh/mirrorMesh.C | 6 +++--- .../mesh/manipulation/refineMesh/refineMesh.C | 2 +- .../mesh/manipulation/renumberMesh/renumberMesh.C | 6 +++--- .../mesh/manipulation/stitchMesh/stitchMesh.C | 4 ++-- .../utilities/mesh/manipulation/topoSet/topoSet.C | 4 ++-- applications/utilities/postProcessing/noise/noise.C | 6 +++--- .../preProcessing/PDRsetFields/PDRsetFields.C | 6 +++--- .../preProcessing/changeDictionary/changeDictionary.C | 2 +- .../preProcessing/faceAgglomerate/faceAgglomerate.C | 4 ++-- .../utilities/preProcessing/setFields/setFields.C | 4 ++-- .../surfaceFeatureExtract/surfaceFeatureExtract.C | 2 +- .../utilities/surface/surfaceHookUp/surfaceHookUp.C | 4 ++-- .../surface/surfaceMeshImport/surfaceMeshImport.C | 2 +- .../utilities/surface/surfacePatch/surfacePatch.C | 4 ++-- 26 files changed, 60 insertions(+), 64 deletions(-) diff --git a/applications/test/PDRblockMesh/Test-PDRblockMesh.C b/applications/test/PDRblockMesh/Test-PDRblockMesh.C index 84cd0abaf8a..cbbf7031253 100644 --- a/applications/test/PDRblockMesh/Test-PDRblockMesh.C +++ b/applications/test/PDRblockMesh/Test-PDRblockMesh.C @@ -5,7 +5,7 @@ \\ / A nd | www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- - Copyright (C) 2019 OpenCFD Ltd. + Copyright (C) 2019-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -42,12 +42,7 @@ int main(int argc, char *argv[]) { argList::noParallel(); argList::noFunctionObjects(); - argList::addOption - ( - "dict", - "file", - "Alternative dictionary for the PDRblockMesh description" - ); + argList::addOption("dict", "file", "Alternative PDRblockMeshDict"); #include "setRootCase.H" #include "createTime.H" @@ -56,7 +51,7 @@ int main(int argc, char *argv[]) #include "setSystemRunTimeDictionaryIO.H" - Info<< "Reading " << dictName << nl << endl; + Info<< "Reading " << dictIO.name() << nl << endl; IOdictionary meshDict(dictIO); diff --git a/applications/test/surfaceIntersection/Test-surfaceIntersection.C b/applications/test/surfaceIntersection/Test-surfaceIntersection.C index e2749e08a99..c3e2731b937 100644 --- a/applications/test/surfaceIntersection/Test-surfaceIntersection.C +++ b/applications/test/surfaceIntersection/Test-surfaceIntersection.C @@ -116,11 +116,16 @@ int main(int argc, char *argv[]) "geometry scaling factor" ); - #include "addDictOption.H" + argList::addOption + ( + "dict", + "file", + "Dictionary of intersect options" + ); argList::addNote ( - "test intersect of two surfaces. Writes obj file" + "Test intersect of two surfaces. Writes obj file" ); argList::noParallel(); argList::noFunctionObjects(); diff --git a/applications/utilities/mesh/advanced/collapseEdges/collapseEdges.C b/applications/utilities/mesh/advanced/collapseEdges/collapseEdges.C index 89a42d72db4..d761640ddff 100644 --- a/applications/utilities/mesh/advanced/collapseEdges/collapseEdges.C +++ b/applications/utilities/mesh/advanced/collapseEdges/collapseEdges.C @@ -6,6 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation + Copyright (C) 2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -84,7 +85,7 @@ int main(int argc, char *argv[]) "Collapse faces that are in the supplied face set" ); - argList::addOption("dict", "file", "Use alternative collapseDict"); + argList::addOption("dict", "file", "Alternative collapseDict"); #include "addOverwriteOption.H" @@ -102,7 +103,7 @@ int main(int argc, char *argv[]) const word dictName("collapseDict"); #include "setSystemMeshDictionaryIO.H" - Info<< "Reading " << dictName << nl << endl; + Info<< "Reading " << dictIO.name() << nl << endl; IOdictionary collapseDict(dictIO); diff --git a/applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C b/applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C index abbec354478..c3b0c7a320c 100644 --- a/applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C +++ b/applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C @@ -339,7 +339,7 @@ int main(int argc, char *argv[]) "For example, moving points, splitting/collapsing edges etc." ); #include "addOverwriteOption.H" - argList::addOption("dict", "file", "Use alternative modifyMeshDict"); + argList::addOption("dict", "file", "Alternative modifyMeshDict"); argList::noFunctionObjects(); // Never use function objects diff --git a/applications/utilities/mesh/generation/PDRblockMesh/PDRblockMesh.C b/applications/utilities/mesh/generation/PDRblockMesh/PDRblockMesh.C index 8f040f93d2a..650957006b3 100644 --- a/applications/utilities/mesh/generation/PDRblockMesh/PDRblockMesh.C +++ b/applications/utilities/mesh/generation/PDRblockMesh/PDRblockMesh.C @@ -5,7 +5,7 @@ \\ / A nd | www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- - Copyright (C) 2019 OpenCFD Ltd. + Copyright (C) 2019-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -95,12 +95,7 @@ int main(int argc, char *argv[]) "noClean", "Do not remove any existing polyMesh/ directory or files" ); - argList::addOption - ( - "dict", - "file", - "Alternative dictionary for the PDRblockMesh description" - ); + argList::addOption("dict", "file", "Alternative PDRblockMeshDict"); argList::addOption ( "time", diff --git a/applications/utilities/mesh/generation/blockMesh/blockMesh.C b/applications/utilities/mesh/generation/blockMesh/blockMesh.C index 35ba6ed12d6..4486ea2295e 100644 --- a/applications/utilities/mesh/generation/blockMesh/blockMesh.C +++ b/applications/utilities/mesh/generation/blockMesh/blockMesh.C @@ -134,12 +134,7 @@ int main(int argc, char *argv[]) "noClean", "Do not remove any existing polyMesh/ directory or files" ); - argList::addOption - ( - "dict", - "file", - "Alternative dictionary for the blockMesh description" - ); + argList::addOption("dict", "file", "Alternative blockMeshDict"); argList::addBoolOption ( "sets", diff --git a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C index 26ad044ab6b..c03d3d7ee0d 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C @@ -218,7 +218,7 @@ int main(int argc, char *argv[]) ); #include "addRegionOption.H" - argList::addOption("dict", "file", "Use alternative extrudeMeshDict"); + argList::addOption("dict", "file", "Alternative extrudeMeshDict"); #include "setRootCase.H" #include "createTimeExtruded.H" diff --git a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C index 1ac6a05b2ce..2f6ec5def09 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C @@ -1428,7 +1428,7 @@ int main(int argc, char *argv[]) argList::addOption ( - "dict", "file", "Use alternative extrudeToRegionMeshDict" + "dict", "file", "Alternative extrudeToRegionMeshDict" ); #include "setRootCase.H" diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C index c342fe88bdb..48e27e28b3c 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C +++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMesh.C @@ -779,7 +779,7 @@ int main(int argc, char *argv[]) "file", "Name of the file to save the simplified surface to" ); - argList::addOption("dict", "file", "Use alternative snappyHexMeshDict"); + argList::addOption("dict", "file", "Alternative snappyHexMeshDict"); argList::noFunctionObjects(); // Never use function objects diff --git a/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C b/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C index 93e0d9bf090..13423ae10a2 100644 --- a/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C +++ b/applications/utilities/mesh/manipulation/createBaffles/createBaffles.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation - Copyright (C) 2016-2018 OpenCFD Ltd. + Copyright (C) 2016-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -444,7 +444,7 @@ int main(int argc, char *argv[]) "Does not duplicate points." ); - argList::addOption("dict", "file", "Use alternative createBafflesDict"); + argList::addOption("dict", "file", "Alternative createBafflesDict"); #include "addOverwriteOption.H" #include "addRegionOption.H" @@ -468,7 +468,7 @@ int main(int argc, char *argv[]) PtrList<faceSelection> selectors; { - Info<< "Reading baffle criteria from " << dictName << nl << endl; + Info<< "Reading baffle criteria from " << dictIO.name() << nl << endl; IOdictionary dict(dictIO); internalFacesOnly = dict.get<bool>("internalFacesOnly"); diff --git a/applications/utilities/mesh/manipulation/createPatch/createPatch.C b/applications/utilities/mesh/manipulation/createPatch/createPatch.C index 7e495c25f6b..b03b1259116 100644 --- a/applications/utilities/mesh/manipulation/createPatch/createPatch.C +++ b/applications/utilities/mesh/manipulation/createPatch/createPatch.C @@ -521,7 +521,7 @@ int main(int argc, char *argv[]) #include "addOverwriteOption.H" #include "addRegionOption.H" - argList::addOption("dict", "file", "Use alternative createPatchDict"); + argList::addOption("dict", "file", "Alternative createPatchDict"); argList::addBoolOption ( "writeObj", diff --git a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C index 5c2c25fa7b9..489c5b40f08 100644 --- a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C +++ b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/mergeOrSplitBaffles.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation - Copyright (C) 2016-2018 OpenCFD Ltd. + Copyright (C) 2016-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -286,7 +286,12 @@ int main(int argc, char *argv[]) #include "addOverwriteOption.H" #include "addRegionOption.H" - #include "addDictOption.H" + argList::addBoolOption + ( + "dict", + "file", + "Specify a dictionary to read actions from" + ); argList::addBoolOption ( "detectOnly", @@ -330,7 +335,7 @@ int main(int argc, char *argv[]) const word dictName; #include "setSystemMeshDictionaryIO.H" - Info<< "Reading " << dictName << "\n" << endl; + Info<< "Reading " << dictIO.name() << nl << endl; IOdictionary dict(dictIO); if (dict.found("detect")) diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C index ce0122a2605..cc48fc2531f 100644 --- a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C +++ b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2017 OpenFOAM Foundation - Copyright (C) 2018 OpenCFD Ltd. + Copyright (C) 2018-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) "Mirrors a mesh around a given plane." ); - argList::addOption("dict", "file", "Use alternative mirrorMeshDict"); + argList::addOption("dict", "file", "Alternative mirrorMeshDict"); argList::setAdvanced("decomposeParDict"); #include "addOverwriteOption.H" @@ -65,7 +65,7 @@ int main(int argc, char *argv[]) #include "setSystemRunTimeDictionaryIO.H" - Info<< "Reading " << dictName << "\n" << endl; + Info<< "Reading " << dictIO.name() << nl << endl; const IOdictionary mirrorDict(dictIO); diff --git a/applications/utilities/mesh/manipulation/refineMesh/refineMesh.C b/applications/utilities/mesh/manipulation/refineMesh/refineMesh.C index 83d789e884b..00765975347 100644 --- a/applications/utilities/mesh/manipulation/refineMesh/refineMesh.C +++ b/applications/utilities/mesh/manipulation/refineMesh/refineMesh.C @@ -166,7 +166,7 @@ int main(int argc, char *argv[]) #include "addOverwriteOption.H" #include "addRegionOption.H" - argList::addOption("dict", "file", "Use alternative refineMeshDict"); + argList::addOption("dict", "file", "Alternative refineMeshDict"); argList::addBoolOption ( diff --git a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C index ba6ad0177bd..d82a9fb2107 100644 --- a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C +++ b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation - Copyright (C) 2016-2019 OpenCFD Ltd. + Copyright (C) 2016-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -618,7 +618,7 @@ int main(int argc, char *argv[]) #include "addOverwriteOption.H" #include "addTimeOptions.H" - argList::addOption("dict", "file", "Use alternative renumberMeshDict"); + argList::addOption("dict", "file", "Alternative renumberMeshDict"); argList::addBoolOption ( @@ -707,7 +707,7 @@ int main(int argc, char *argv[]) const word dictName("renumberMeshDict"); #include "setSystemMeshDictionaryIO.H" - Info<< "Renumber according to " << dictName << nl << endl; + Info<< "Renumber according to " << dictIO.name() << nl << endl; renumberDictPtr.reset(new IOdictionary(dictIO)); const IOdictionary& renumberDict = renumberDictPtr(); diff --git a/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C b/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C index 82ca4d6183b..2cfe9fe00ad 100644 --- a/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C +++ b/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C @@ -119,7 +119,7 @@ int main(int argc, char *argv[]) #include "addOverwriteOption.H" #include "addRegionOption.H" - argList::addOption("dict", "file", "Use alternative stitchMeshDict"); + argList::addOption("dict", "file", "Alternative stitchMeshDict"); argList::addBoolOption ( @@ -296,7 +296,7 @@ int main(int argc, char *argv[]) #include "setSystemRunTimeDictionaryIO.H" - Info<< "Reading " << dictName; + Info<< "Reading " << dictIO.name() << flush; IOdictionary stitchDict(dictIO); diff --git a/applications/utilities/mesh/manipulation/topoSet/topoSet.C b/applications/utilities/mesh/manipulation/topoSet/topoSet.C index a656e636a96..f8eb90fe092 100644 --- a/applications/utilities/mesh/manipulation/topoSet/topoSet.C +++ b/applications/utilities/mesh/manipulation/topoSet/topoSet.C @@ -211,7 +211,7 @@ int main(int argc, char *argv[]) timeSelector::addOptions(true, false); // constant(true), zero(false) - argList::addOption("dict", "file", "Use alternative topoSetDict"); + argList::addOption("dict", "file", "Alternative topoSetDict"); #include "addRegionOption.H" argList::addBoolOption @@ -232,7 +232,7 @@ int main(int argc, char *argv[]) const word dictName("topoSetDict"); #include "setSystemMeshDictionaryIO.H" - Info<< "Reading " << dictName << nl << endl; + Info<< "Reading " << dictIO.name() << nl << endl; IOdictionary topoSetDict(dictIO); diff --git a/applications/utilities/postProcessing/noise/noise.C b/applications/utilities/postProcessing/noise/noise.C index 0fd60b6d60b..ee4681b5f56 100644 --- a/applications/utilities/postProcessing/noise/noise.C +++ b/applications/utilities/postProcessing/noise/noise.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2015 OpenFOAM Foundation - Copyright (C) 2016-2017 OpenCFD Ltd. + Copyright (C) 2016-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -112,7 +112,7 @@ int main(int argc, char *argv[]) argList::noCheckProcessorDirectories(); - argList::addOption("dict", "file", "Use alternative noiseDict"); + argList::addOption("dict", "file", "Alternative noiseDict"); #include "setRootCase.H" #include "createTime.H" @@ -120,7 +120,7 @@ int main(int argc, char *argv[]) const word dictName("noiseDict"); #include "setSystemRunTimeDictionaryIO.H" - Info<< "Reading " << dictName << "\n" << endl; + Info<< "Reading " << dictIO.name() << nl << endl; IOdictionary dict(dictIO); diff --git a/applications/utilities/preProcessing/PDRsetFields/PDRsetFields.C b/applications/utilities/preProcessing/PDRsetFields/PDRsetFields.C index ca1c724aad3..4ba931c358b 100644 --- a/applications/utilities/preProcessing/PDRsetFields/PDRsetFields.C +++ b/applications/utilities/preProcessing/PDRsetFields/PDRsetFields.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2016 Shell Research Ltd. - Copyright (C) 2019 OpenCFD Ltd. + Copyright (C) 2019-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -66,7 +66,7 @@ int main(int argc, char* argv[]) "Specify a time" ); - argList::addOption("dict", "file", "Use alternative PDRsetFieldsDict"); + argList::addOption("dict", "file", "Alternative PDRsetFieldsDict"); argList::addBoolOption ( @@ -86,7 +86,7 @@ int main(int argc, char* argv[]) const word dictName("PDRsetFieldsDict"); #include "setSystemRunTimeDictionaryIO.H" - Info<< "Reading " << dictName << "\n" << endl; + Info<< "Reading " << dictIO.name() << nl << endl; IOdictionary setFieldsDict(dictIO); diff --git a/applications/utilities/preProcessing/changeDictionary/changeDictionary.C b/applications/utilities/preProcessing/changeDictionary/changeDictionary.C index 28e784339dd..b9270ae1fd8 100644 --- a/applications/utilities/preProcessing/changeDictionary/changeDictionary.C +++ b/applications/utilities/preProcessing/changeDictionary/changeDictionary.C @@ -399,7 +399,7 @@ int main(int argc, char *argv[]) " (such as the patch type for fields and polyMesh/boundary files)." ); - argList::addOption("dict", "file", "Use alternative changeDictionaryDict"); + argList::addOption("dict", "file", "Alternative changeDictionaryDict"); argList::addOption ( diff --git a/applications/utilities/preProcessing/faceAgglomerate/faceAgglomerate.C b/applications/utilities/preProcessing/faceAgglomerate/faceAgglomerate.C index 38da112bdc0..c6e498f4bc2 100644 --- a/applications/utilities/preProcessing/faceAgglomerate/faceAgglomerate.C +++ b/applications/utilities/preProcessing/faceAgglomerate/faceAgglomerate.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation - Copyright (C) 2016 OpenCFD Ltd. + Copyright (C) 2016-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) " algorithm. Writes a map of fine to coarse grid." ); - argList::addOption("dict", "file", "Use alternative viewFactorsDict"); + argList::addOption("dict", "file", "Alternative viewFactorsDict"); #include "addRegionOption.H" #include "setRootCase.H" diff --git a/applications/utilities/preProcessing/setFields/setFields.C b/applications/utilities/preProcessing/setFields/setFields.C index 567e13d3539..cdca73df55b 100644 --- a/applications/utilities/preProcessing/setFields/setFields.C +++ b/applications/utilities/preProcessing/setFields/setFields.C @@ -403,7 +403,7 @@ int main(int argc, char *argv[]) "Set values on a selected set of cells/patch-faces via a dictionary" ); - argList::addOption("dict", "file", "Use alternative setFieldsDict"); + argList::addOption("dict", "file", "Alternative setFieldsDict"); #include "addRegionOption.H" #include "setRootCase.H" @@ -413,7 +413,7 @@ int main(int argc, char *argv[]) const word dictName("setFieldsDict"); #include "setSystemMeshDictionaryIO.H" - Info<< "Reading " << dictName << "\n" << endl; + Info<< "Reading " << dictIO.name() << nl << endl; IOdictionary setFieldsDict(dictIO); diff --git a/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C b/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C index 703d32e5b53..1152e0828f0 100644 --- a/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C +++ b/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C @@ -235,7 +235,7 @@ int main(int argc, char *argv[]) const word dictName("surfaceFeatureExtractDict"); #include "setSystemRunTimeDictionaryIO.H" - Info<< "Reading " << dictName << nl << endl; + Info<< "Reading " << dictIO.name() << nl << endl; const IOdictionary dict(dictIO); // Loader for available triSurface surface files diff --git a/applications/utilities/surface/surfaceHookUp/surfaceHookUp.C b/applications/utilities/surface/surfaceHookUp/surfaceHookUp.C index b36a009750f..07f01627a31 100644 --- a/applications/utilities/surface/surfaceHookUp/surfaceHookUp.C +++ b/applications/utilities/surface/surfaceHookUp/surfaceHookUp.C @@ -277,7 +277,7 @@ int main(int argc, char *argv[]) ); argList::noParallel(); argList::addArgument("hookTolerance", "The point merge tolerance"); - argList::addOption("dict", "file", "Use alternative surfaceHookUpDict"); + argList::addOption("dict", "file", "Alternative surfaceHookUpDict"); #include "setRootCase.H" #include "createTime.H" @@ -285,7 +285,7 @@ int main(int argc, char *argv[]) const word dictName("surfaceHookUpDict"); #include "setSystemRunTimeDictionaryIO.H" - Info<< "Reading " << dictName << nl << endl; + Info<< "Reading " << dictIO.name() << nl << endl; const IOdictionary dict(dictIO); diff --git a/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C b/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C index 0731744f02f..469c835a6ec 100644 --- a/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C +++ b/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C @@ -55,7 +55,7 @@ Usage Scale factor when writing files. - \par -dict \<dictionary\> - Use alternative dictionary for constant/coordinateSystems. + Alternative dictionary for constant/coordinateSystems. - \par -from \<coordinateSystem\> Specify a coordinate system when reading files. diff --git a/applications/utilities/surface/surfacePatch/surfacePatch.C b/applications/utilities/surface/surfacePatch/surfacePatch.C index 66abd9f6cdc..f58a5543ae4 100644 --- a/applications/utilities/surface/surfacePatch/surfacePatch.C +++ b/applications/utilities/surface/surfacePatch/surfacePatch.C @@ -6,7 +6,7 @@ \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2013 OpenFOAM Foundation - Copyright (C) 2015 OpenCFD Ltd. + Copyright (C) 2015-2020 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) "Add patches (regions) to a surface with a user-selectable method" ); argList::noParallel(); - argList::addOption("dict", "file", "Use alternative surfacePatchDict"); + argList::addOption("dict", "file", "Alternative surfacePatchDict"); #include "setRootCase.H" #include "createTime.H" -- GitLab