Fix tutorials: Add Allrun to tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon
This commit is contained in:
parent
bd3d61803e
commit
b364626b25
1 changed files with 23 additions and 0 deletions
23
tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/Allrun
Executable file
23
tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/Allrun
Executable file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Source tutorial run functions
|
||||||
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
# Simple temporary bypass for Martin's laptop...
|
||||||
|
# Otherwise, this tutorial will generate junk for 10 whole minutes
|
||||||
|
# MB
|
||||||
|
# Oct 12, 2010
|
||||||
|
#
|
||||||
|
if [ `hostname` == "pollux.local" ]
|
||||||
|
then
|
||||||
|
echo "This tutorial is not working on my Macbook Pro laptop. Need to get back later to this one. Martin Beaudoin, Oct 12 2010"
|
||||||
|
exit -1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get application name
|
||||||
|
application=`getApplication`
|
||||||
|
|
||||||
|
#parentDir=`dirname $PWD`
|
||||||
|
#application=`basename $parentDir`
|
||||||
|
|
||||||
|
runApplication blockMesh
|
||||||
|
runApplication $application
|
Reference in a new issue