22 lines
570 B
Bash
Executable File
22 lines
570 B
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
runApplication blockMesh
|
|
|
|
# Select cellSets
|
|
runApplication topoSet
|
|
|
|
runApplication subsetMesh box -patch hole -overwrite
|
|
|
|
# Select cellSets
|
|
runApplication -s zoneID topoSet
|
|
|
|
restore0Dir
|
|
|
|
# Use cellSets to write zoneID
|
|
runApplication setFields
|
|
|
|
#------------------------------------------------------------------------------
|