2 # Source tutorial run functions
3 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
5 # Get application name from directory
6 application
="lesInterFoam"
10 echo "Running refineMesh on $PWD"
11 refineMesh
-dict > log.refineMesh
2>&1
14 runApplication blockMesh
17 if [ -f log.cellSet
] ; then
20 while [ "$i" -lt 3 ] ; do
21 if [ -f log.cellSet
] ; then
22 mv log.cellSet log.cellSet
.1
24 cp system
/cellSetDict.
${i} system
/cellSetDict
25 runApplication cellSet
27 cp -r 1e-08/polyMesh
/* constant
/polyMesh
31 cp constant
/polyMesh
/boundary.org constant
/polyMesh
/boundary
33 runApplication
$application