mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
tutorial scripts
This commit is contained in:
21
tutorials/engineFoam/kivaTest/Allclean
Executable file
21
tutorials/engineFoam/kivaTest/Allclean
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Get application name from directory
|
||||
parentDir=`dirname $PWD`
|
||||
application=`basename $parentDir`
|
||||
|
||||
# Find and source additional functions
|
||||
tutorialPath=$PWD
|
||||
while [ ! -f $tutorialPath/CleanFunctions ]
|
||||
do
|
||||
tutorialPath="$tutorialPath/.."
|
||||
done
|
||||
. $tutorialPath/CleanFunctions
|
||||
|
||||
|
||||
|
||||
mv ./-180 temp180
|
||||
rm -rf 0
|
||||
cp system/controlDict.1st system/controlDict
|
||||
cleanCase
|
||||
mv temp180 ./-180
|
||||
Reference in New Issue
Block a user