ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / tutorials / compressible / sonicFoam / ras / nacaAirfoil / Allrun
blob6142b9557c81a05d64dd43de4b095a5d0b21493f
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 runStarToFoam()
12 if [ -f log.star3ToFoam -o -f log.starToFoam ]
13 then
14 echo "star3ToFoam already run on $PWD: remove log file to re-run"
15 else
16 echo "star3ToFoam: converting mesh $1"
17 star3ToFoam $1 > log.star3ToFoam 2>&1
21 runStarToFoam prostar/nacaAirfoil
22 mv constant/polyMesh/boundary temp
23 sed -e s/"\([\t ]*type[\t ]*\)symmetryPlane"/"\1empty"/g \
24 temp > constant/polyMesh/boundary
25 rm temp
26 runApplication $application
28 # end-of-file
30 # ----------------------------------------------------------------- end-of-file