openfoam/tutorials/sonicLiquidFoam/Allclean
2008-06-12 19:32:10 +01:00

25 lines
394 B
Bash
Executable File

#!/bin/sh
# Get application name from directory
application=`basename $PWD`
# Find and source additional functions
tutorialPath=$PWD
while [ ! -f $tutorialPath/CleanFunctions ]
do
tutorialPath="$tutorialPath/.."
done
. $tutorialPath/CleanFunctions
removeCase decompressionTankFine
for case in *
do
if [ -d $case ]
then
(cd $case && $tutorialsDir/cleanAll)
fi
done