This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/mesh/moveDynamicMesh/SnakeRiverCanyon/Allrun

24 lines
583 B
Text
Raw Normal View History

#!/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