1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
runApplication blockMesh
runApplication topoSet
# Restore initial fields
restore0Dir
runApplication splitMeshRegions -cellZonesOnly -overwrite
runApplication setFields -region water
echo
echo "Use paraFoam -touch-all to create files for paraview post-processing"
echo
echo "End"
#------------------------------------------------------------------------------
|