33 lines
776 B
Bash
Executable File
33 lines
776 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
runApplication blockMesh
|
|
runApplication topoSet
|
|
|
|
# remove empty patches
|
|
runApplication createPatch -overwrite
|
|
|
|
# split mesh into 2 regions at the AMI coupled patch
|
|
runApplication mergeOrSplitBaffles -overwrite
|
|
|
|
echo "Copying 0.org to 0"
|
|
cp -r 0.org 0
|
|
|
|
runApplication setFields
|
|
|
|
runApplication decomposePar
|
|
|
|
(cd processor0/constant/polyMesh/ && ln -s ../../../include/meshModifiers .)
|
|
(cd processor1/constant/polyMesh/ && ln -s ../../../include/meshModifiers .)
|
|
|
|
runParallel $(getApplication)
|
|
|
|
runApplication reconstructParMesh
|
|
|
|
runApplication reconstructPar
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|