openfoam/tutorials/multiphase/interFoam/LES/nozzleFlow2D/Allrun
2020-04-14 16:30:44 +01:00

22 lines
580 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
restore0Dir
runApplication blockMesh
for i in 1 2
do
runApplication -s $i \
topoSet -dict system/topoSetDict.${i}
runApplication -s $i \
refineMesh -dict system/refineMeshDict -overwrite
done
runApplication $(getApplication)
#------------------------------------------------------------------------------