openfoam/tutorials/heatTransfer/chtMultiRegionTwoPhaseEulerFoam/solidQuenching2D/Allrun.pre
2021-05-26 11:35:49 +00:00

23 lines
611 B
Bash
Executable File

#!/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"
#------------------------------------------------------------------------------