openfoam/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/implicit/Allrun
Mark Olesen a530b505ed TUT: replace m4 versions of angledDuct blockMeshDict with native forms
- dictionary parameters to change the bend angle

- blockMesh transform parameters to allow different orientations
2021-07-28 13:14:44 +02:00

21 lines
599 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
canCompile || exit 0 # Dynamic code
echo "Use common files for 0/, constant/ and blockMeshDict"
rm -rf 0 constant
cp -rf ../common/0.orig 0
cp -rf ../common/constant constant
runApplication blockMesh -dict ../common/blockMeshDict
runApplication $(getApplication)
#------------------------------------------------------------------------------