#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions# create mesh
runApplication blockMeshcp -r 0.org 0
# initialise with potentialFoam solution
runApplication potentialFoamrm -f 0/phi
# run the solver
runApplication `getApplication`# —————————————————————– end-of-file
実行年月:12/20/2015