nacaAirfoil

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory

# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

# Get application name
application=`getApplication`

runApplication star3ToFoam prostar/nacaAirfoil

mv constant/polyMesh/boundary temp
sed -e s/”([ ]*type[ ]*)symmetryPlane”/”1empty”/g \r
temp > constant/polyMesh/boundary
rm temp

runApplication $application

# —————————————————————– end-of-file

実行年月:04/15/2014