openfoam/tutorials/multiphase/interFoam/RAS/waterChannel/Allrun.pre
2020-04-14 16:30:44 +01:00

17 lines
541 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # 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
#------------------------------------------------------------------------------