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/incompressible/MRFSimpleFoam/axialTurbine_ggi/Allrun

20 lines
483 B
Text
Raw Normal View History

2014-05-28 19:03:09 +00:00
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=`getApplication`
2014-05-28 19:03:09 +00:00
#Create the mesh:
2014-06-01 16:29:30 +00:00
m4 < constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
runApplication blockMesh
transformPoints -scale "(1 20 1)"
2014-06-01 16:29:30 +00:00
transformPoints -cylToCart "((0 0 0) (0 0 1) (1 0 0))"
2014-05-28 19:03:09 +00:00
# Set 0-directory and create GGI set:
cp -r 0_orig 0
runApplication setSet -batch setBatchGgi
runApplication setsToZones -noFlipMap
2014-05-28 19:03:09 +00:00
runApplication $application