openfoam/tutorials/mesh/stitchMesh/simple-cube1/Allrun-args
2021-06-08 20:14:09 +00:00

17 lines
537 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
runApplication ./Allmesh
# Use stitchMesh with command arguments (no dictionary)
for dir in x y z
do
runApplication -s dir-"$dir" stitchMesh -partial outer"$dir" inner"$dir"
done
runApplication checkMesh
# -----------------------------------------------------------------------------