openfoam/tutorials/sonicFoam/Allclean
2008-04-15 18:56:58 +01:00

23 lines
379 B
Bash
Executable File

#!/bin/sh
currDir=`pwd`
application=`basename $currDir`
cases="forwardStep shockTube"
utility=setShock
tutorialPath=`dirname $0`/..
. $tutorialPath/CleanFunctions
for case in $cases
do
cleanCase $case
if [ "$case" = "shockTube" ]
then
rm -rf $case/0
cp -r $case/0.org $case/0
wclean $case/$utility
cleanSamples $case
fi
done