Files
openfoam/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/implicit/Allrun
2019-11-06 11:50:42 +01:00

17 lines
576 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
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)
#------------------------------------------------------------------------------