Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / tutorials / incompressible / MRFSimpleFoam / axialTurbine_ggi / Allrun
blobb3fb98fd0ee20872886d0e7d7ce13341ce481791
1 #!/bin/sh
3 # Source tutorial run functions
4 . $WM_PROJECT_DIR/bin/tools/RunFunctions
6 application=`getApplication`
8 #Create the mesh:
9 m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
10 runApplication blockMesh
11 transformPoints -scale "(1 20 1)"
12 transformPoints -cylToCart "((0 0 0) (0 0 1) (1 0 0))"
14 # Set 0-directory and create GGI set:
15 cp -r 0_orig 0
16 runApplication setSet -batch setBatchGgi
17 runApplication setsToZones -noFlipMap
19 runApplication $application