openfoam/tutorials/interDyMFoam/Allrun
2008-06-18 12:28:28 +01:00

13 lines
479 B
Bash
Executable File

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
(cd damBreakWithObstacle && runApplication blockMesh)
(cd damBreakWithObstacle && runApplication setSet -batch createObstacle.setSet)
(cd damBreakWithObstacle && runApplication subsetMesh c0 -patch walls)
(cd damBreakWithObstacle && runApplication setFields -latestTime)
(cd damBreakWithObstacle && runApplication $application)