This is a CHT case which uses snappyHexMesh. It is a tutorial, in the traditional sense, in that it has been designed for training purposes. It does not rely on changeDictionary, surface utilities, or extensive scripting. This work was supported by Colin Moughton, at Strix
16 lines
356 B
Bash
Executable File
16 lines
356 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd ${0%/*} || exit 1
|
|
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
rm -rf constant/polyMesh/sets
|
|
|
|
runApplication blockMesh
|
|
runApplication snappyHexMesh -overwrite
|
|
runApplication splitMeshRegions -cellZones -overwrite
|
|
runApplication decomposePar -allRegions
|
|
runParallel $(getApplication)
|
|
runApplication reconstructPar -allRegions
|
|
paraFoam -touchAll
|