openfoam/tutorials/incompressible/lumpedPointMotion/bridge/steady/Allrun
Mark Olesen 7db868b509 TUT: bridge using external lumped point motion (#1341)
- see its accompanying README for additional setup instructions
2020-06-17 15:16:27 +02:00

26 lines
510 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
./Allrun.pre
unset parallel
parallel=true
if [ "${parallel:-false}" = false ]
then
# Serial
runApplication simpleFoam
else
# Parallel
runParallel simpleFoam
fi
#------------------------------------------------------------------------------