From 03fa70e4af27caf9d4d238df8d14600224be10cb Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Wed, 5 Dec 2012 15:30:33 +0000
Subject: [PATCH] ENH: tutorials: dict command line option

---
 .../combustion/fireFoam/les/oppositeBurningPanels/Allrun      | 2 +-
 .../multiRegionHeaterRadiation/Allrun                         | 4 ++--
 tutorials/multiphase/cavitatingFoam/les/throttle/Allrun       | 2 +-
 tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun     | 2 +-
 tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun       | 2 +-
 tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun        | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun
index ca4e9e4bd84..6763873c72a 100755
--- a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun
+++ b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun
@@ -10,7 +10,7 @@ application=`getApplication`
 runApplication blockMesh
 
 runApplication topoSet -dict cRefine.topoSetDict
-runApplication refineMesh -overwrite -dict
+runApplication refineMesh -overwrite -dict system/refineMeshDict
 
 rm log.topoSet
 runApplication topoSet -dict f.topoSetDict
diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun
index 61fd0e371bf..ecc94594676 100755
--- a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun
+++ b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun
@@ -23,7 +23,7 @@ done
 
 for i in bottomAir topAir
 do
-    faceAgglomerate -region $i -dict viewFactorsDict > log.faceAgglomerate.$i 2>&1
+    faceAgglomerate -region $i -dict constant/viewFactorsDict > log.faceAgglomerate.$i 2>&1
 done
 
 for i in bottomAir topAir
@@ -42,7 +42,7 @@ runApplication `getApplication`
 #
 #for i in bottomAir topAir
 #do
-#    mpirun -np 4 faceAgglomerate -region $i -dict viewFactorsDict -parallel>   log.faceAgglomerate.$i 2>&1
+#    mpirun -np 4 faceAgglomerate -region $i -dict constant/viewFactorsDict -parallel>   log.faceAgglomerate.$i 2>&1
 #done
 
 #for i in bottomAir topAir
diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/Allrun b/tutorials/multiphase/cavitatingFoam/les/throttle/Allrun
index bdeacd7831d..8d214a96af5 100755
--- a/tutorials/multiphase/cavitatingFoam/les/throttle/Allrun
+++ b/tutorials/multiphase/cavitatingFoam/les/throttle/Allrun
@@ -18,7 +18,7 @@ refineMeshByCellSet()
           topoSet > log.topoSet.$1 2>&1
 
           echo "refining primary zone - $1"
-          refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
+          refineMesh -dict system/refineMeshDict -overwrite > log.refineMesh.$1 2>&1
       fi
       shift
    done
diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun b/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun
index 213a2a5ecf0..a6b927d81ad 100755
--- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun
+++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun
@@ -18,7 +18,7 @@ refineMeshByCellSet()
           topoSet > log.topoSet.$1 2>&1
 
           echo "refining primary zone - $1"
-          refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
+          refineMesh -dict sytem/refineMeshDict -overwrite > log.refineMesh.$1 2>&1
       fi
       shift
    done
diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun b/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun
index 37600b5049b..fb8009740b7 100755
--- a/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun
+++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun
@@ -17,7 +17,7 @@ refineMeshByCellSet()
           topoSet > log.topoSet.$1 2>&1
 
           echo "refining primary zone - $1"
-          refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
+          refineMesh -dict system/refineMeshDict -overwrite > log.refineMesh.$1 2>&1
       fi
       shift
    done
diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun b/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun
index a66f56c1a7d..bdd17ed0335 100755
--- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun
+++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun
@@ -10,7 +10,7 @@ application=`getApplication`
 runRefineMesh ()
 {
     echo "Running refineMesh on $PWD"
-    refineMesh -dict > log.refineMesh 2>&1
+    refineMesh -dict system/refineMeshDict > log.refineMesh 2>&1
 }
 
 runApplication blockMesh
-- 
GitLab