Fix test loop and tutorials: For cases with missing Allrun file, the test loop will now grab the name of the application to run from the field 'application' in the case controlDict file

This commit is contained in:
Martin Beaudoin 2010-10-10 09:25:02 -04:00
parent 4d81f175a1
commit 85de8b742b
9 changed files with 13 additions and 11 deletions

View file

@ -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

View file

@ -22,7 +22,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
applicationClass icoDyMFoam;
application icoDyMFoam;
startFrom startTime;

View file

@ -16,7 +16,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
applicationClass icoTopoFoam;
application icoTopoFoam;
startFrom startTime;

View file

@ -16,7 +16,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
applicationClass icoDyMFoam;
application icoDyMFoam;
startFrom startTime;

View file

@ -14,7 +14,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
applicationClass twoPhaseEulerFoam;
application twoPhaseEulerFoam;
startFrom latestTime;

View file

@ -14,7 +14,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
applicationClass twoPhaseEulerFoam;
application twoPhaseEulerFoam;
startFrom latestTime;

View file

@ -22,7 +22,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
applicationClass newContactStressFoam;
application newContactStressFoam;
startFrom startTime;

View file

@ -22,7 +22,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
applicationClass newStressedFoam;
application newStressedFoam;
startFrom startTime;

View file

@ -14,7 +14,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
applicationClass interTrackFoam;
application interTrackFoam;
startFrom startTime;