openfoam/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/implicit/Allrun
2016-09-23 16:52:46 +01:00

18 lines
466 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
echo "Use common files for 0/, constant/ and blockMeshDict"
\rm -rf 0 constant
\cp -r ../common/0.orig 0
\cp -r ../common/constant constant
m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh
runApplication $(getApplication)
#------------------------------------------------------------------------------