Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / tutorials / basic / laplacianFoam / flange / Allrun
bloba14f03b415804053975ce263d34fbd05293e9efb
1 #!/bin/sh
2 cd ${0%/*} || exit 1 # run from this directory
4 # Source tutorial run functions
5 . $WM_PROJECT_DIR/bin/tools/RunFunctions
7 # Get application name
8 application=`getApplication`
10 runAnsysToFoam()
12 if [ -f log.ansysToFoam ]
13 then
14 echo "ansysToFoam already run on $PWD: remove log file to re-run"
15 else
16 echo "ansysToFoam: converting mesh $1"
17 ansysToFoam $1 -scale $2 > log.ansysToFoam 2>&1
21 runAnsysToFoam flange.ans 0.001
22 runApplication $application
23 runApplication foamToFieldview9
24 runApplication foamToEnsight
25 runApplication foamToVTK
27 # ----------------------------------------------------------------- end-of-file