diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allclean b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allclean new file mode 100755 index 0000000000..4ae717f917 --- /dev/null +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allclean @@ -0,0 +1,11 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # run from this directory + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +cleanSamples +rm -rf constant/polyMesh/boundary + +# ----------------------------------------------------------------- end-of-file diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allrun b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allrun new file mode 100755 index 0000000000..ca832252d8 --- /dev/null +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allrun @@ -0,0 +1,34 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # run from this directory + +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +moveTimeMeshToConstant() +{ + DT=`foamInfoExec -times | tail -1` + if [ "$DT" != 0 ] + then + mv ${DT}/polyMesh/* constant/polyMesh + rm -rf ${DT} + fi +} + +runApplication blockMesh + +runApplication datToFoam grid256.dat + +CONST="constant" +cat $CONST/pointsHeader $CONST/points.tmp > $CONST/polyMesh/points +runApplication collapseEdges "2e-07" 5 +moveTimeMeshToConstant + +echo "Changing patch type to wedge type in boundary file" +mv $CONST/polyMesh/boundary $CONST/polyMesh/boundary.bak +sed -f $CONST/wedgeScr $CONST/polyMesh/boundary.bak > $CONST/polyMesh/boundary +rm $CONST/polyMesh/boundary.bak + +runApplication `getApplication` + + +# ----------------------------------------------------------------- end-of-file diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/Allclean b/tutorials/compressible/rhoCentralFoam/shockTube/Allclean new file mode 100755 index 0000000000..d0d6907e3a --- /dev/null +++ b/tutorials/compressible/rhoCentralFoam/shockTube/Allclean @@ -0,0 +1,12 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # run from this directory + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +rm -rf 0 +cp -r 0.org 0 +cleanCase +cleanSamples + +# ----------------------------------------------------------------- end-of-file diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/Allrun b/tutorials/compressible/rhoCentralFoam/shockTube/Allrun new file mode 100755 index 0000000000..f764e70798 --- /dev/null +++ b/tutorials/compressible/rhoCentralFoam/shockTube/Allrun @@ -0,0 +1,11 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # run from this directory + +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +runApplication blockMesh +runApplication setFields +runApplication `getApplication` + +# ----------------------------------------------------------------- end-of-file