Files
OpenFOAM-12/tutorials/heatTransfer/chtMultiRegionFoam/shellAndTubeHeatExchanger/Allmesh.noLayers
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

16 lines
342 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Create the initial block mesh and decompose
runApplication blockMesh
runApplication decomposePar -copyZero
# Run snappy
runParallel snappyHexMesh -overwrite
# Split the mesh into regions
runParallel splitMeshRegions -cellZones -defaultRegionName solid -overwrite