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

30 lines
451 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
cd cylinder
cleanCase
rm -rf 0 > /dev/null 2>&1
cp -r 0.org 0
wclean analyticalCylinder
cd ..
cd pitzDaily
cleanCase
rm -rf 0 > /dev/null 2>&1
cp -r 0.org 0
cd ..