From 3f4dc50d8a8a9d9bb29581fe56814d87b857f0d8 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sat, 4 Jul 2015 23:35:16 +0100 Subject: [PATCH] blockMesh: Correct handling of the -case option Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1773 --- .../utilities/mesh/generation/blockMesh/blockMeshApp.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/utilities/mesh/generation/blockMesh/blockMeshApp.C b/applications/utilities/mesh/generation/blockMesh/blockMeshApp.C index b8a22dd28..d1cbc0f49 100644 --- a/applications/utilities/mesh/generation/blockMesh/blockMeshApp.C +++ b/applications/utilities/mesh/generation/blockMesh/blockMeshApp.C @@ -126,13 +126,13 @@ int main(int argc, char *argv[]) ) { dictPath = - runTime.path()/runTime.constant() + runTime.constant() /regionPath/polyMesh::meshSubDir/dictName; } // Otherwise assume the dictionary is present in the system directory else { - dictPath = runTime.path()/runTime.system()/regionPath/dictName; + dictPath = runTime.system()/regionPath/dictName; } IOobject meshDictIO