OpenFOAM-2.4.x/applications/test/hexRef8/block/Allrun
2014-02-17 16:00:08 +00:00

23 lines
489 B
Bash
Executable file

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name
application=Test-hexRef8
# Compile
runApplication wmake ..
runApplication blockMesh
# Run with inflation
runApplication $application true
mv "log.$application" "log.$application-inflate"
# Run without inflation
runApplication $application false
# ----------------------------------------------------------------- end-of-file