From a93e63e7b725b8086c3bddc6437deb3fe6f8c331 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Fri, 25 Mar 2011 12:06:18 +0000
Subject: [PATCH] tutorials: use `getApplication` rather than hard-coded
 application name

---
 .../combustion/PDRFoam/flamePropagationWithObstacles/Allrun  | 2 +-
 tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun     | 2 +-
 tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun   | 5 ++---
 tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun  | 2 +-
 tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun    | 2 +-
 tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun   | 3 +--
 tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun         | 2 +-
 .../buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun      | 2 +-
 .../heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun | 4 ++--
 .../chtMultiRegionFoam/multiRegionLiquidHeater/Allrun        | 2 +-
 .../chtMultiRegionFoam/snappyMultiRegionHeater/Allrun        | 4 ++--
 .../chtMultiRegionSimpleFoam/multiRegionHeater/Allrun        | 4 ++--
 .../multiRegionHeaterRadiation/Allrun                        | 4 ++--
 .../boundaryFoam/boundaryWallFunctionsProfile/Allrun         | 2 +-
 tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun     | 2 +-
 .../porousSimpleFoam/angledDuctImplicit/Allrun               | 4 ++--
 tutorials/incompressible/simpleFoam/motorBike/Allrun         | 2 +-
 tutorials/incompressible/simpleWindFoam/turbineSiting/Allrun | 4 ++--
 .../LTSReactingParcelFoam/counterFlowFlame2D/Allrun          | 2 +-
 .../lagrangian/LTSReactingParcelFoam/verticalChannel/Allrun  | 2 +-
 .../verticalChannel/Allrun                                   | 2 +-
 .../lagrangian/reactingParcelFilmFoam/evaporationTest/Allrun | 2 +-
 tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun  | 2 +-
 .../reactingParcelFilmFoam/hotBoxes/Allrun-parallel          | 2 +-
 .../lagrangian/reactingParcelFilmFoam/multipleBoxes/Allrun   | 2 +-
 .../reactingParcelFilmFoam/multipleBoxes/Allrun-parallel     | 2 +-
 tutorials/lagrangian/reactingParcelFilmFoam/panel/Allrun     | 2 +-
 .../multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun  | 2 +-
 tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allrun  | 2 +-
 .../multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allrun    | 2 +-
 tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allrun  | 2 +-
 .../multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allrun    | 2 +-
 .../multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allrun    | 2 +-
 tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allrun   | 2 +-
 tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun | 2 +-
 .../interMixingFoam/laminar/damBreak/system/controlDict      | 2 +-
 .../multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun  | 2 +-
 37 files changed, 44 insertions(+), 46 deletions(-)

diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/Allrun b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/Allrun
index de516b423f1..036fff2ae01 100755
--- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/Allrun
+++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/Allrun
@@ -12,6 +12,6 @@ runApplication setSet -batch makeBlockedFaceSet.setSet
 runApplication PDRMesh
 
 # Run
-runApplication PDRFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun b/tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun
index 029f052ef45..23c0a4ac9a6 100755
--- a/tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun
+++ b/tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun
@@ -10,6 +10,6 @@ runApplication setSet -batch makeFaceSet.setSet
 runApplication createPatch -overwrite
 
 # Run
-runApplication fireFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun
index 13c8195c59e..d72de07446f 100755
--- a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun
+++ b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun
@@ -1,4 +1,4 @@
-cd ${0%/*} || exit 1    # run from this directory                              
+cd ${0%/*} || exit 1    # run from this directory
 
 m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
 
@@ -6,5 +6,4 @@ m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
 . $WM_PROJECT_DIR/bin/tools/RunFunctions
 
 runApplication blockMesh
-runApplication rhoPimpleFoam
-
+runApplication `getApplication`
diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun
index 09d9f0ea789..99108969cdd 100755
--- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun
+++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun
@@ -6,6 +6,6 @@ cd ${0%/*} || exit 1    # run from this directory
 
 runApplication blockMesh
 runApplication dsmcInitialise
-runApplication dsmcFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun
index 09d9f0ea789..99108969cdd 100755
--- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun
+++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun
@@ -6,6 +6,6 @@ cd ${0%/*} || exit 1    # run from this directory
 
 runApplication blockMesh
 runApplication dsmcInitialise
-runApplication dsmcFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun
index 71795a47e0a..dfe52836b54 100755
--- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun
+++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun
@@ -8,7 +8,6 @@ runApplication blockMesh
 runApplication decomposePar
 runParallel dsmcInitialise 4
 runParallel dsmcFoam 4
-runApplication reconstructPar -noLagrangian
-
+runApplication `getApplication` -noLagrangian
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun
index 71795a47e0a..cc49dc56ed2 100755
--- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun
+++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun
@@ -7,7 +7,7 @@ cd ${0%/*} || exit 1    # run from this directory
 runApplication blockMesh
 runApplication decomposePar
 runParallel dsmcInitialise 4
-runParallel dsmcFoam 4
+runParallel `getApplication` 4
 runApplication reconstructPar -noLagrangian
 
 
diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun
index 6fa85b7103f..6184f799f62 100755
--- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun
+++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun
@@ -6,6 +6,6 @@ cd ${0%/*} || exit 1    # run from this directory
 
 runApplication blockMesh
 runApplication snappyHexMesh -overwrite
-runApplication buoyantBoussinesqSimpleFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun
index 85a8f5d2276..30952a60f12 100755
--- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun
+++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun
@@ -28,7 +28,7 @@ done
 
 
 #-- Run on single processor
-#runApplication chtMultiRegionFoam
+#runApplication `getApplication`
 
 # Decompose
 for i in bottomAir topAir heater leftSolid rightSolid
@@ -37,7 +37,7 @@ do
 done
 
 # Run
-runParallel chtMultiRegionFoam 4
+runParallel `getApplication` 4
 
 # Reconstruct
 for i in bottomAir topAir heater leftSolid rightSolid
diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionLiquidHeater/Allrun b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionLiquidHeater/Allrun
index 7365475b4e2..db414bf5923 100755
--- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionLiquidHeater/Allrun
+++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionLiquidHeater/Allrun
@@ -37,7 +37,7 @@ do
 done
 
 # Run
-runParallel chtMultiRegionFoam 4
+runParallel `getApplication` 4
 
 # Reconstruct
 for i in bottomWater topAir heater leftSolid rightSolid
diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun b/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun
index 0a301f90957..fc668e806c6 100755
--- a/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun
+++ b/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun
@@ -30,7 +30,7 @@ done
 
 
 #-- Run on single processor
-runApplication chtMultiRegionFoam
+runApplication `getApplication`
 
 
 ## Decompose
@@ -40,7 +40,7 @@ runApplication chtMultiRegionFoam
 #done
 #
 ## Run
-#runParallel chtMultiRegionFoam 4
+#runParallel `getApplication` 4
 #
 ## Reconstruct
 #for i in bottomAir topAir heater leftSolid rightSolid
diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/Allrun b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/Allrun
index ab054e410d2..f473e787d0f 100755
--- a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/Allrun
+++ b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/Allrun
@@ -28,7 +28,7 @@ done
 
 
 #-- Run on single processor
-runApplication chtMultiRegionSimpleFoam
+runApplication `getApplication`
 
 ## Decompose
 #for i in bottomAir topAir heater leftSolid rightSolid
@@ -37,7 +37,7 @@ runApplication chtMultiRegionSimpleFoam
 #done
 #
 ## Run
-#runParallel chtMultiRegionSimpleFoam 4
+#runParallel `getApplication` 4
 #
 ## Reconstruct
 #for i in bottomAir topAir heater leftSolid rightSolid
diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun
index e40aa7850a9..3176a9f913f 100755
--- a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun
+++ b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun
@@ -40,7 +40,7 @@ done
 
 
 #-- Run on single processor
-runApplication chtMultiRegionSimpleFoam
+runApplication `getApplication`
 
 ## Decompose
 #for i in bottomAir topAir heater leftSolid rightSolid
@@ -49,7 +49,7 @@ runApplication chtMultiRegionSimpleFoam
 #done
 #
 ## Run
-#runParallel chtMultiRegionSimpleFoam 4
+#runParallel `getApplication` 4
 #
 ## Reconstruct
 #for i in bottomAir topAir heater leftSolid rightSolid
diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctionsProfile/Allrun b/tutorials/incompressible/boundaryFoam/boundaryWallFunctionsProfile/Allrun
index 9a27a17f14d..99209508d7e 100755
--- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctionsProfile/Allrun
+++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctionsProfile/Allrun
@@ -17,7 +17,7 @@ do
     sed "s/XXX/$e/g" constant/transportProperties.template \
         > constant/transportProperties
 
-    runApplication boundaryFoam
+    runApplication `getApplication`
 
     mv log.boundaryFoam log.boundaryFoam_$e
 
diff --git a/tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun b/tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun
index aab4860421a..33da5673451 100755
--- a/tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun
+++ b/tutorials/incompressible/pimpleDyMFoam/wingMotion/Allrun
@@ -23,7 +23,7 @@ cp -r 0.org 0
 runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
 mv 0/pointDisplacement.unmapped 0/pointDisplacement
 runApplication decomposePar
-runParallel pimpleDyMFoam 3
+runParallel `getApplication` 3
 runApplication reconstructPar
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun b/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun
index 689a832a043..624c62312e7 100755
--- a/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun
+++ b/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun
@@ -1,4 +1,4 @@
-cd ${0%/*} || exit 1    # run from this directory                              
+cd ${0%/*} || exit 1    # run from this directory
 
 m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
 
@@ -6,5 +6,5 @@ m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
 . $WM_PROJECT_DIR/bin/tools/RunFunctions
 
 runApplication blockMesh
-runApplication porousSimpleFoam
+runApplication `getApplication`
 
diff --git a/tutorials/incompressible/simpleFoam/motorBike/Allrun b/tutorials/incompressible/simpleFoam/motorBike/Allrun
index ea47b0746d1..22be2d3fb76 100755
--- a/tutorials/incompressible/simpleFoam/motorBike/Allrun
+++ b/tutorials/incompressible/simpleFoam/motorBike/Allrun
@@ -12,4 +12,4 @@ sed -i 's/\(nNonOrthogonalCorrectors\).*;/\1 10;/g' system/fvSolution
 runApplication potentialFoam -writep
 sed -i 's/\(nNonOrthogonalCorrectors\).*;/\1 0;/g' system/fvSolution
 
-runApplication simpleFoam
+runApplication `getApplication`
diff --git a/tutorials/incompressible/simpleWindFoam/turbineSiting/Allrun b/tutorials/incompressible/simpleWindFoam/turbineSiting/Allrun
index b1c95c766fc..e47a1880630 100755
--- a/tutorials/incompressible/simpleWindFoam/turbineSiting/Allrun
+++ b/tutorials/incompressible/simpleWindFoam/turbineSiting/Allrun
@@ -11,7 +11,7 @@ runApplication decomposePar
 #runApplication snappyHexMesh -overwrite
 #runApplication setSet -batch makeZones
 #runApplication setsToZones -noFlipMap
-#runApplication windSimpleFoam
+#runApplication `getApplication`
 
 cp system/decomposeParDict-par system/decomposeParDict
 runParallel snappyHexMesh 2 -overwrite
@@ -31,7 +31,7 @@ runParallel renumberMesh 4 -overwrite
 #runParallel changeDictionary 4 -literalRE
 
 runParallel setSet 4 -batch makeZones
-runParallel simpleWindFoam 4
+runParallel `getApplication` 4
 
 runApplication reconstructParMesh -constant
 runApplication reconstructPar
diff --git a/tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/Allrun b/tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/Allrun
index ce144f896a8..b7290920261 100755
--- a/tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/Allrun
+++ b/tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/Allrun
@@ -8,4 +8,4 @@ cd ${0%/*} || exit 1    # run from this directory
 runApplication blockMesh
 
 # run the solver
-runApplication LTSReactingParcelFoam
+runApplication `getApplication`
diff --git a/tutorials/lagrangian/LTSReactingParcelFoam/verticalChannel/Allrun b/tutorials/lagrangian/LTSReactingParcelFoam/verticalChannel/Allrun
index 192c30fd62d..3aa141a08be 100755
--- a/tutorials/lagrangian/LTSReactingParcelFoam/verticalChannel/Allrun
+++ b/tutorials/lagrangian/LTSReactingParcelFoam/verticalChannel/Allrun
@@ -8,6 +8,6 @@ cd ${0%/*} || exit 1    # run from this directory
 runApplication blockMesh
 
 # run the solver
-runApplication LTSReactingParcelFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/verticalChannel/Allrun b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/verticalChannel/Allrun
index 40f241728a7..8d4cb3681e9 100755
--- a/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/verticalChannel/Allrun
+++ b/tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/verticalChannel/Allrun
@@ -12,6 +12,6 @@ runApplication potentialFoam
 rm -f 0/phi
 
 # run the solver
-runApplication porousExplicitSourceReactingParcelFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/evaporationTest/Allrun b/tutorials/lagrangian/reactingParcelFilmFoam/evaporationTest/Allrun
index 01302f3e314..d4d7bdd7f75 100755
--- a/tutorials/lagrangian/reactingParcelFilmFoam/evaporationTest/Allrun
+++ b/tutorials/lagrangian/reactingParcelFilmFoam/evaporationTest/Allrun
@@ -3,4 +3,4 @@
 
 ./Allrun.pre
 
-runApplication reactingParcelFilmFoam
+runApplication `getApplication`
diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun
index f5789d3b762..ac44d917613 100755
--- a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun
+++ b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun
@@ -6,4 +6,4 @@ cd ${0%/*} || exit 1    # run from this directory
 . $WM_PROJECT_DIR/bin/tools/RunFunctions
 
 ./Allrun.pre
-runApplication reactingParcelFilmFoam
+runApplication `getApplication`
diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun-parallel b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun-parallel
index 818c810f17f..115ddddb607 100755
--- a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun-parallel
+++ b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun-parallel
@@ -10,7 +10,7 @@ cd ${0%/*} || exit 1    # run from this directory
 decomposePar -region wallFilmRegion > log.decomposePar.wallFilmRegion 2>&1
 decomposePar > log.decomposePar.primaryRegion 2>&1
 
-runParallel reactingParcelFilmFoam 4
+runParallel `getApplication` 4
 
 reconstructPar -region wallFilmRegion > log.reconstructPar.wallFilmRegion 2>&1
 reconstructPar > log.reconstructPar.primaryRegion 2>&1
diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/multipleBoxes/Allrun b/tutorials/lagrangian/reactingParcelFilmFoam/multipleBoxes/Allrun
index a9f606ee2c1..4c1131986df 100755
--- a/tutorials/lagrangian/reactingParcelFilmFoam/multipleBoxes/Allrun
+++ b/tutorials/lagrangian/reactingParcelFilmFoam/multipleBoxes/Allrun
@@ -3,4 +3,4 @@
 . $WM_PROJECT_DIR/bin/tools/RunFunctions
 
 ./Allrun.pre
-runApplication reactingParcelFilmFoam
+runApplication `getApplication`
diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/multipleBoxes/Allrun-parallel b/tutorials/lagrangian/reactingParcelFilmFoam/multipleBoxes/Allrun-parallel
index c88abfd1afe..dc7fb41d644 100755
--- a/tutorials/lagrangian/reactingParcelFilmFoam/multipleBoxes/Allrun-parallel
+++ b/tutorials/lagrangian/reactingParcelFilmFoam/multipleBoxes/Allrun-parallel
@@ -7,7 +7,7 @@
 decomposePar -region wallFilmRegion > log.decomposePar.wallFilmRegion 2>&1
 decomposePar > log.decomposePar.primaryRegion 2>&1
 
-runParallel reactingParcelFilmFoam 4
+runParallel `getApplication` 4
 
 reconstructPar -region wallFilmRegion > log.reconstructPar.wallFilmRegion 2>&1
 reconstructPar > log.reconstructPar.primaryRegion 2>&1
diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/panel/Allrun b/tutorials/lagrangian/reactingParcelFilmFoam/panel/Allrun
index 01302f3e314..d4d7bdd7f75 100755
--- a/tutorials/lagrangian/reactingParcelFilmFoam/panel/Allrun
+++ b/tutorials/lagrangian/reactingParcelFilmFoam/panel/Allrun
@@ -3,4 +3,4 @@
 
 ./Allrun.pre
 
-runApplication reactingParcelFilmFoam
+runApplication `getApplication`
diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun
index f6ff3740d89..4dff6770398 100755
--- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun
+++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun
@@ -9,6 +9,6 @@ runApplication blockMesh
 runApplication setSet -batch createObstacle.setSet
 runApplication subsetMesh -overwrite c0 -patch walls
 runApplication setFields
-runApplication interDyMFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allrun
index 593a959d00a..3b8cb649c2c 100755
--- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allrun
+++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D/Allrun
@@ -8,6 +8,6 @@ m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
 runApplication blockMesh
 cp 0/alpha1.org 0/alpha1
 runApplication setFields
-runApplication interDyMFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allrun
index 593a959d00a..3b8cb649c2c 100755
--- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allrun
+++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D3DoF/Allrun
@@ -8,6 +8,6 @@ m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
 runApplication blockMesh
 cp 0/alpha1.org 0/alpha1
 runApplication setFields
-runApplication interDyMFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allrun
index 593a959d00a..3b8cb649c2c 100755
--- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allrun
+++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D/Allrun
@@ -8,6 +8,6 @@ m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
 runApplication blockMesh
 cp 0/alpha1.org 0/alpha1
 runApplication setFields
-runApplication interDyMFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allrun
index 593a959d00a..3b8cb649c2c 100755
--- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allrun
+++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D3DoF/Allrun
@@ -8,6 +8,6 @@ m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
 runApplication blockMesh
 cp 0/alpha1.org 0/alpha1
 runApplication setFields
-runApplication interDyMFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allrun b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allrun
index 593a959d00a..3b8cb649c2c 100755
--- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allrun
+++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/Allrun
@@ -8,6 +8,6 @@ m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
 runApplication blockMesh
 cp 0/alpha1.org 0/alpha1
 runApplication setFields
-runApplication interDyMFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allrun b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allrun
index 9b42e0115fa..0f2a6dea43a 100755
--- a/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allrun
+++ b/tutorials/multiphase/interDyMFoam/ras/testTubeMixer/Allrun
@@ -7,6 +7,6 @@ cd ${0%/*} || exit 1    # run from this directory
 runApplication blockMesh
 cp 0/alpha1.org 0/alpha1
 runApplication setFields
-runApplication interDyMFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun b/tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun
index ea8cb0136a9..9bb76eb3c72 100755
--- a/tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun
+++ b/tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun
@@ -9,6 +9,6 @@ cp 0/alpha1.org 0/alpha1
 cp 0/alpha2.org 0/alpha2
 cp 0/alpha3.org 0/alpha3
 runApplication setFields
-runApplication interMixingFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
diff --git a/tutorials/multiphase/interMixingFoam/laminar/damBreak/system/controlDict b/tutorials/multiphase/interMixingFoam/laminar/damBreak/system/controlDict
index 86d15afac40..dd84a8b65cd 100644
--- a/tutorials/multiphase/interMixingFoam/laminar/damBreak/system/controlDict
+++ b/tutorials/multiphase/interMixingFoam/laminar/damBreak/system/controlDict
@@ -15,7 +15,7 @@ FoamFile
 }
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
-application     interFoam;
+application     interMixingFoam;
 
 startFrom       startTime;
 
diff --git a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun
index 019100e5d8e..ade57d36eb9 100755
--- a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun
+++ b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun
@@ -11,6 +11,6 @@ runApplication blockMesh
 runApplication snappyHexMesh -overwrite
 
 # Run the solver
-runApplication interPhaseChangeFoam
+runApplication `getApplication`
 
 # ----------------------------------------------------------------- end-of-file
-- 
GitLab