Upgrade case file headers
[foam-extend-3.2.git] / tutorials / incompressible / simpleSRFFoam / axialTurbine / Allrun
blobb2d76583ef1b242191f2abf3de87d9998cb2448e
1 #!/bin/bash
2 # Source tutorial run functions
3 . $WM_PROJECT_DIR/bin/tools/RunFunctions
5 # Get application from system/controlDict
6 application=`getApplication`
8 # make sure the application is compiled
9 #wmake ../$application
11 m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
12 runApplication blockMesh
13 transformPoints -scale "(1 20 1)"
14 transformPoints -cylToCart "((0 0 0) (0 0 1) (1 0 0))"
16 # Set 0-directory and create GGI set:
17 cp -r 0_orig 0
18 runApplication setSet -batch setBatchGgi
19 runApplication setsToZones -noFlipMap
21 runApplication $application