File size: 717 Bytes
5a600cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/bin/sh
# Run from this directory
cd "${0%/*}" || exit 1
# Source tutorial run functions
. "$WM_PROJECT_DIR/bin/tools/RunFunctions"
runApplication snappyHexMeshConfig \
-bounds '(-50 -200 0)(950 200 200)' \
-nCells '(40 16 8)' \
-clearBoundary \
-xMinPatch 'inletWind patch' \
-zMinPatch 'ground wall' \
-defaultPatch 'outlet patch' \
-insidePoint '(0 0 50)' \
-refinementDists '(stack 5 5)' \
-refinementBoxes '
((0 -10 0) (10 10 20) 2)
((-50 -80 0) (950 80 200) 1)
'
runApplication blockMesh
runApplication snappyHexMesh
#------------------------------------------------------------------------------
|