Files
openfoam/tutorials/rhopSonicFoam/Allrun
2008-04-15 18:56:58 +01:00

20 lines
337 B
Bash
Executable File

#!/bin/sh
currDir=`pwd`
application=`basename $currDir`
cases="shockTube wedge15Ma5"
tutorialPath=`dirname $0`/..
. $tutorialPath/RunFunctions
for case in $cases
do
runApplication blockMesh $case
#
if [ "$case" = "shockTube" ] ; then
runApplication setFields $case
fi
#
runApplication $application $case
done