openfoam/tutorials/basic/potentialFoam/cylinder/Allrun
Henry c28036665d potentialFoam: No longer executes functionObjects by default
Use the new -withFunctionObjects command-line option to execute functionObjects
2015-04-25 21:56:14 +01:00

15 lines
399 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=`getApplication`
cp -r 0.org 0 > /dev/null 2>&1
runApplication blockMesh
runApplication $application -withFunctionObjects -writePhi -writep
runApplication streamFunction
# ----------------------------------------------------------------- end-of-file