2 cd ${0%/*} ||
exit 1 # run from this directory
4 # Source tutorial run functions
5 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
8 application
=`getApplication`
12 if [ -f log.kivaToFoam
]
14 echo "kivaToFoam already run: remove log file to re-run"
16 echo "kivaToFoam: converting kiva file"
17 kivaToFoam
-file $1 > log.kivaToFoam
2>&1
26 echo "$1 already run: remove log file to re-run"
36 cp system
/controlDict
.1st system
/controlDict
37 runApplication
$application
39 cp system
/controlDict
.2nd system
/controlDict
40 restartApplication
$application
42 # ----------------------------------------------------------------- end-of-file