tutorials: Simplified the Allrun and Allclean scripts

This commit is contained in:
Henry Weller
2016-02-14 18:32:34 +00:00
parent 7120fd2244
commit 4f38542d44
73 changed files with 12167 additions and 143 deletions

View File

@ -4,20 +4,14 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
keepCases="cavity cavityGrade cavityClipped elbow"
keepCases="cavity cavityGrade cavityClipped"
loseCases="cavityFine cavityHighRe"
for caseName in $keepCases
do
(
cd $caseName || exit
foamCleanTutorials
if [ "$caseName" = elbow ]
then
rm -rf fluentInterface
fi
)
done
@ -26,7 +20,4 @@ do
removeCase $caseName
done
(cd elbow && ./Allclean)
# ----------------------------------------------------------------- end-of-file

View File

@ -86,8 +86,4 @@ do
( cd $caseName && runApplication `getApplication` )
done
# elbow case for testing Fluent-FOAM conversion tools
(cd elbow && ./Allrun)
# ----------------------------------------------------------------- end-of-file