From 7e20157d950dc693cfccbd9def03b1e69b8202a6 Mon Sep 17 00:00:00 2001 From: Andrew Heather <a.heather@opencfd.co.uk> Date: Fri, 10 Feb 2017 13:56:42 +0000 Subject: [PATCH] ENH: setSystem*Dictionary - expand file names to enable the use of --- src/OpenFOAM/include/setSystemMeshDictionaryIO.H | 2 +- src/OpenFOAM/include/setSystemRunTimeDictionaryIO.H | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenFOAM/include/setSystemMeshDictionaryIO.H b/src/OpenFOAM/include/setSystemMeshDictionaryIO.H index c4e5a27ae9d..b664940d1ac 100644 --- a/src/OpenFOAM/include/setSystemMeshDictionaryIO.H +++ b/src/OpenFOAM/include/setSystemMeshDictionaryIO.H @@ -20,7 +20,7 @@ if (dictPath.size()) { dictIO = IOobject ( - dictPath, + dictPath.expand(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE diff --git a/src/OpenFOAM/include/setSystemRunTimeDictionaryIO.H b/src/OpenFOAM/include/setSystemRunTimeDictionaryIO.H index 510f278c608..15a812693e1 100644 --- a/src/OpenFOAM/include/setSystemRunTimeDictionaryIO.H +++ b/src/OpenFOAM/include/setSystemRunTimeDictionaryIO.H @@ -20,7 +20,7 @@ if (dictPath.size()) { dictIO = IOobject ( - dictPath, + dictPath.expand(), runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE -- GitLab