mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
30 lines
451 B
Bash
Executable File
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 ..
|
|
|