Files
openfoam/tutorials/interDyMFoam/Allrun
2008-05-06 16:37:29 +01:00

19 lines
437 B
Bash
Executable File

#!/bin/sh
currDir=`pwd`
application=`basename $currDir`
cases="damBreakWithObstacle"
tutorialPath=`dirname $0`/..
. $tutorialPath/RunFunctions
. $tutorialPath/CleanFunctions
for case in $cases
do
runApplication blockMesh $case
runApplication setSet $case -batch createObstacle.setSet
runApplication subsetMesh $case c0 -patch walls
runApplication setFields $case -latestTime
runApplication $application $case
done