2 cd ${0%/*} ||
exit 1 # run from this directory
4 # Source tutorial run functions
5 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
8 application
=`getApplication`
12 echo "Running refineMesh on $PWD"
13 refineMesh
-dict > log.refineMesh
2>&1
16 runApplication blockMesh
19 if [ -f log.topoSet
] ; then
22 while [ "$i" -lt 3 ] ; do
23 if [ -f log.topoSet
] ; then
24 mv log.topoSet log.topoSet
.1
26 cp system
/topoSetDict.
${i} system
/topoSetDict
27 runApplication topoSet
29 cp -r 1e-08/polyMesh
/* constant
/polyMesh
33 cp constant
/polyMesh
/boundary.org constant
/polyMesh
/boundary
35 runApplication
$application
37 # ----------------------------------------------------------------- end-of-file