intersection with triangle plane for miss
[OpenFOAM-1.5.x.git] / tutorials / lesInterFoam / nozzleFlow2D / Allrun
blob8b76469d5ee58b046cffebce129505c7bba8e35d
1 #!/bin/sh
2 # Source tutorial run functions
3 . $WM_PROJECT_DIR/bin/tools/RunFunctions
5 # Get application name from directory
6 application="lesInterFoam"
8 runRefineMesh ()
10 echo "Running refineMesh on $PWD"
11 refineMesh -dict > log.refineMesh 2>&1
14 runApplication blockMesh
16 i=1
17 if [ -f log.cellSet ] ; then
18 i=3
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
26 runRefineMesh
27 cp -r 1e-08/polyMesh/* constant/polyMesh
28 rm -rf 1e-08
29 i=`expr $i + 1`
30 done
31 cp constant/polyMesh/boundary.org constant/polyMesh/boundary
33 runApplication $application