openfoam/tutorials/multiphase/interFoam/RAS/waterChannel/Allmesh

16 lines
445 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
runApplication blockMesh
echo "Creating channel"
for i in 1 2
do
cp system/extrudeMeshDict.${i} system/extrudeMeshDict
echo "Running extrudeMesh, instance" ${i}
extrudeMesh > log.extrudeMesh.${i}
done
#------------------------------------------------------------------------------