openfoam/tutorials/mhdFoam/Allrun
2009-01-05 22:18:19 +00:00

12 lines
325 B
Bash
Executable File

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application="mhdFoam"
(cd hartmann && runApplication blockMesh)
(cd hartmann && runApplication $application)
(cd hartmann && runApplication foamCalc components U)
(cd hartmann && runApplication sample)