diff --git a/testHarness/OpenFOAM/1.6-ext/scripts/Allrun.default b/testHarness/OpenFOAM/1.6-ext/scripts/Allrun.default index e99febd3a..9410e5db7 100755 --- a/testHarness/OpenFOAM/1.6-ext/scripts/Allrun.default +++ b/testHarness/OpenFOAM/1.6-ext/scripts/Allrun.default @@ -2,9 +2,11 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Get application directory -parentDir=`dirname $PWD` -application=`basename $parentDir` +# Get application name +application=`getApplication` + +#parentDir=`dirname $PWD` +#application=`basename $parentDir` runApplication blockMesh runApplication $application diff --git a/tutorials/incompressible/icoDyMFoam/mixer2D/system/controlDict b/tutorials/incompressible/icoDyMFoam/mixer2D/system/controlDict index 2f01ee099..b01174ad8 100644 --- a/tutorials/incompressible/icoDyMFoam/mixer2D/system/controlDict +++ b/tutorials/incompressible/icoDyMFoam/mixer2D/system/controlDict @@ -22,7 +22,7 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass icoDyMFoam; +application icoDyMFoam; startFrom startTime; diff --git a/tutorials/incompressible/icoDyMFoam/mixerGgi/system/controlDict b/tutorials/incompressible/icoDyMFoam/mixerGgi/system/controlDict index be07f3661..eeeea40ff 100644 --- a/tutorials/incompressible/icoDyMFoam/mixerGgi/system/controlDict +++ b/tutorials/incompressible/icoDyMFoam/mixerGgi/system/controlDict @@ -16,7 +16,7 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass icoTopoFoam; +application icoTopoFoam; startFrom startTime; diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict index b04c0d6fa..c87e1be66 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict @@ -16,7 +16,7 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass icoDyMFoam; +application icoDyMFoam; startFrom startTime; diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict index bea2a3e8b..82be6a559 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/system/controlDict @@ -14,7 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass twoPhaseEulerFoam; +application twoPhaseEulerFoam; startFrom latestTime; diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict index 03cf9dc97..df5607b03 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/system/controlDict @@ -14,7 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass twoPhaseEulerFoam; +application twoPhaseEulerFoam; startFrom latestTime; diff --git a/tutorials/stressAnalysis/newContactStressFoam/ballAndBrickFriction/system/controlDict b/tutorials/stressAnalysis/newContactStressFoam/ballAndBrickFriction/system/controlDict index 1b4d14ea7..0c21ff3ab 100644 --- a/tutorials/stressAnalysis/newContactStressFoam/ballAndBrickFriction/system/controlDict +++ b/tutorials/stressAnalysis/newContactStressFoam/ballAndBrickFriction/system/controlDict @@ -22,7 +22,7 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass newContactStressFoam; +application newContactStressFoam; startFrom startTime; diff --git a/tutorials/stressAnalysis/newStressedFoam/plateHole/system/controlDict b/tutorials/stressAnalysis/newStressedFoam/plateHole/system/controlDict index faf1ef25b..73e17e2d4 100644 --- a/tutorials/stressAnalysis/newStressedFoam/plateHole/system/controlDict +++ b/tutorials/stressAnalysis/newStressedFoam/plateHole/system/controlDict @@ -22,7 +22,7 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass newStressedFoam; +application newStressedFoam; startFrom startTime; diff --git a/tutorials/surfaceTracking/interTrackFoam/hydrofoil/system/controlDict b/tutorials/surfaceTracking/interTrackFoam/hydrofoil/system/controlDict index 758c2597d..008720482 100644 --- a/tutorials/surfaceTracking/interTrackFoam/hydrofoil/system/controlDict +++ b/tutorials/surfaceTracking/interTrackFoam/hydrofoil/system/controlDict @@ -14,7 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -applicationClass interTrackFoam; +application interTrackFoam; startFrom startTime;