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/compressible/steadyUniversalMRFFoam/axialTurbineMixingPlane/Allrun

21 lines
506 B
Text
Raw Normal View History

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=steadyUniversalMRFFoam
#Create the mesh:
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
runApplication blockMesh
transformPoints -scale "(1 20 1)"
transformPoints -cylToCart "((0 0 0) (0 0 1) (1 0 0))"
# Set 0-directory and create GGI set:
\rm -rf 0
\cp -r save 0
runApplication setSet -batch setBatchMixingPlane
runApplication setsToZones -noFlipMap
runApplication $application