22 lines
572 B
Text
22 lines
572 B
Text
|
#!/bin/bash
|
||
|
# Source tutorial run functions
|
||
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||
|
|
||
|
# Get application from system/controlDict
|
||
|
application=`getApplication`
|
||
|
|
||
|
# make sure the application is compiled
|
||
|
#wmake ../$application
|
||
|
|
||
|
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:
|
||
|
cp -r 0_orig 0
|
||
|
runApplication setSet -batch setBatchGgi
|
||
|
runApplication setsToZones -noFlipMap
|
||
|
|
||
|
runApplication $application
|