openfoam/tutorials/heatTransfer/chtMultiRegionSimpleFoam/cpuCabinet/Allrun
2021-08-06 11:15:31 -07:00

27 lines
702 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
./Allrun.pre
# Run
runParallel $(getApplication)
# Reconstruct
reconstructParMesh -allRegions -constant
reconstructPar -allRegions
# Reconstruct
#for region in $(foamListRegions)
#do
# runParallel -s reconstruct-$region \
# redistributePar -reconstruct -region $region
#done
echo
echo "Use paraFoam -touch-all to create files for paraview post-processing"
echo
#------------------------------------------------------------------------------