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.
16 lines
342 B
Bash
Executable File
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
|