13 lines
479 B
Bash
Executable File
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)
|