Files
OpenFOAM-12/tutorials/heatTransfer/chtMultiRegionFoam/shellAndTubeHeatExchanger/Allclean
Will Bainbridge 6d4960e36c chtMultiRegionFoam: Added shell-and-tube heat exchanger tutorial
This tutorial serves as a reference of how to create a multi-region
mesh with layer addition.

The multiRegionHeater tutorial and it's variants have been removed as
the geometry is not meaningful and the functionality is now all
represented elsewhere.
2019-02-04 12:27:11 +00:00

15 lines
275 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -f 0/cellToRegion
for region in shell tube solid
do
rm -rf 0/${region}/cellToRegion constant/${region}/polyMesh
done