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:
parent
4d81f175a1
commit
85de8b742b
9 changed files with 13 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -22,7 +22,7 @@ FoamFile
|
|||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
applicationClass icoDyMFoam;
|
||||
application icoDyMFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ FoamFile
|
|||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
applicationClass icoTopoFoam;
|
||||
application icoTopoFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ FoamFile
|
|||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
applicationClass icoDyMFoam;
|
||||
application icoDyMFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ FoamFile
|
|||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
applicationClass twoPhaseEulerFoam;
|
||||
application twoPhaseEulerFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ FoamFile
|
|||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
applicationClass twoPhaseEulerFoam;
|
||||
application twoPhaseEulerFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ FoamFile
|
|||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
applicationClass newContactStressFoam;
|
||||
application newContactStressFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ FoamFile
|
|||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
applicationClass newStressedFoam;
|
||||
application newStressedFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ FoamFile
|
|||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
applicationClass interTrackFoam;
|
||||
application interTrackFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
|
|
Reference in a new issue