2 cd ${0%/*} ||
exit 1 # run from this directory
4 # Source tutorial run functions
5 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
8 application
=`getApplication`
12 if [ -f log.ansysToFoam
]
14 echo "ansysToFoam already run on $PWD: remove log file to re-run"
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