#!/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 kivaToFoam -file otape17
cp system/controlDict.1st system/controlDict
runApplication $application
mv log.$application log.$application.1cp system/controlDict.2nd system/controlDict
runApplication $application
mv log.$application log.$application.2# —————————————————————– end-of-file
実行年月:01/30/2015