27 lines
460 B
Bash
Executable File
27 lines
460 B
Bash
Executable File
#!/bin/sh
|
|
|
|
currDir=`pwd`
|
|
application=`basename $currDir`
|
|
cases="shockTube forwardStep"
|
|
|
|
tutorialPath=`dirname $0`/..
|
|
. $tutorialPath/RunFunctions
|
|
|
|
for case in $cases
|
|
do
|
|
runApplication blockMesh $case
|
|
#
|
|
if [ "$case" = "shockTube" ] ; then
|
|
runApplication setFields $case
|
|
fi
|
|
#
|
|
runApplication $application $case
|
|
#
|
|
if [ "$case" = "shockTube" ] ; then
|
|
runApplication magU $case
|
|
runApplication sample $case
|
|
fi
|
|
#
|
|
done
|
|
|