initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / tutorials / compressible / sonicFoam / ras / nacaAirfoil / Allrun
blob29cc29abd53a0b7cd6506cbaa037e9dc112923fc
1 #!/bin/sh
2 # Source tutorial run functions
3 . $WM_PROJECT_DIR/bin/tools/RunFunctions
5 # Get application name
6 application=`getApplication`
8 runStarToFoam ()
10 if [ -f log.starToFoam ] ; then
11 echo "starToFoam already run on $PWD: remove log file to run"
12 else
13 echo "starToFoam: converting mesh $1"
14 starToFoam $1 > log.starToFoam 2>&1
18 runStarToFoam prostar/nacaAirfoil
19 mv constant/polyMesh/boundary temp
20 sed -e s/"\([\t ]*type[\t ]*\)symmetryPlane"/"\1empty"/g \
21 temp > constant/polyMesh/boundary
22 rm temp
23 runApplication $application