diff --git a/tutorials/incompressible/adjointOptimisationFoam/Allrun b/tutorials/incompressible/adjointOptimisationFoam/Allrun index 1bbb9f1fd8b9acf12873169422ea3097f07a6b2e..0912ec72bb2008c9e87f1dc7bd2c7498b71c3279 100755 --- a/tutorials/incompressible/adjointOptimisationFoam/Allrun +++ b/tutorials/incompressible/adjointOptimisationFoam/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory if notTest $@ then - foamRunTutorials + foamRunTutorials -skipFirst else echo "--- Skipping testing of tutorials in : $PWD" 1>&2 fi diff --git a/tutorials/verificationAndValidation/turbulentInflow/Allclean b/tutorials/verificationAndValidation/turbulentInflow/Allclean index 213d289a42bbdbc84d4e706a957c61b15f5b6100..de07eb05c40b544342b5fa5a79749ba381e60424 100755 --- a/tutorials/verificationAndValidation/turbulentInflow/Allclean +++ b/tutorials/verificationAndValidation/turbulentInflow/Allclean @@ -5,4 +5,4 @@ cd ${0%/*} || exit 1 # run from this directory . $WM_PROJECT_DIR/bin/tools/CleanFunctions # Tutorial clean functions cleanCase0 -\rm -r results +\rm -rf results diff --git a/tutorials/verificationAndValidation/turbulentInflow/Allrun b/tutorials/verificationAndValidation/turbulentInflow/Allrun index e2679d94ec952707b521dea7e1b5b41b61dc49bd..1ba4a4e189587eccefad36323ab62772d639fdd0 100755 --- a/tutorials/verificationAndValidation/turbulentInflow/Allrun +++ b/tutorials/verificationAndValidation/turbulentInflow/Allrun @@ -21,7 +21,7 @@ runApplication blockMesh for val in ${Models[@]}; do echo "Running the case with the model: $val" \cp 0/U.$val 0/U - \rm -r constant/boundaryData/inlet + \rm -rf constant/boundaryData/inlet \cp -r constant/boundaryData/inlet.$val constant/boundaryData/inlet runApplication pimpleFoam gnuplot plot.patch diff --git a/tutorials/verificationAndValidation/turbulentInflow/Allrunparallel b/tutorials/verificationAndValidation/turbulentInflow/Allrun-parallel similarity index 94% rename from tutorials/verificationAndValidation/turbulentInflow/Allrunparallel rename to tutorials/verificationAndValidation/turbulentInflow/Allrun-parallel index 78f16766c6bdb30a7d74ebc5686927eedea8f3e9..c759ba89508f9503f39e4c9df4e893e40bd795c1 100755 --- a/tutorials/verificationAndValidation/turbulentInflow/Allrunparallel +++ b/tutorials/verificationAndValidation/turbulentInflow/Allrun-parallel @@ -20,9 +20,9 @@ runApplication blockMesh # Compute parallel and collect data for val in ${Models[@]}; do echo "Running the case with the model: $val" - \rm 0/U* + \rm -f 0/U* \cp 0.orig/U.$val 0/U - \rm -r constant/boundaryData/inlet + \rm -rf constant/boundaryData/inlet \cp -r constant/boundaryData/inlet.$val constant/boundaryData/inlet runApplication decomposePar runParallel pimpleFoam @@ -34,4 +34,3 @@ for val in ${Models[@]}; do cleanTimeDirectories \rm -rf processor* > /dev/null 2>&1 done -