Files
OpenFOAM-6/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun
2018-06-01 10:41:14 +01:00

23 lines
511 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Meshing
runApplication blockMesh
runApplication topoSet
runApplication splitMeshRegions -cellZones -overwrite
runApplication decomposePar -copyZero -allRegions
# Simulation
runParallel $(getApplication)
# Reconstruct
runApplication reconstructPar -allRegions
# Post-process
paraFoam -touchAll
#------------------------------------------------------------------------------