diff --git a/tutorials/lagrangian/icoLagrangianFoam/Allclean b/tutorials/lagrangian/icoLagrangianFoam/Allclean deleted file mode 100755 index 4787204ee..000000000 --- a/tutorials/lagrangian/icoLagrangianFoam/Allclean +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -currDir=`pwd` -application=`basename $currDir` -cases="channelParticles" - -tutorialPath=`dirname $0`/.. -. $WM_PROJECT_DIR/bin/tools/CleanFunctions - -for case in $cases -do - (cd $case; cleanCase) -done - - diff --git a/tutorials/lagrangian/icoLagrangianFoam/Allrun b/tutorials/lagrangian/icoLagrangianFoam/Allrun deleted file mode 100755 index 0d128b94d..000000000 --- a/tutorials/lagrangian/icoLagrangianFoam/Allrun +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -currDir=`pwd` -application=`basename $currDir` -case="channelParticles" - -tutorialPath=`dirname $0`/.. -. $WM_PROJECT_DIR/bin/tools/RunFunctions - -compileApplication icoLagrangianFoam - -(cd $case; runApplication blockMesh) -(cd $case; runApplication $application) - diff --git a/tutorials/lagrangian/icoLagrangianFoam/channelParticles/Allrun b/tutorials/lagrangian/icoLagrangianFoam/channelParticles/Allrun new file mode 100755 index 000000000..d1cf77d18 --- /dev/null +++ b/tutorials/lagrangian/icoLagrangianFoam/channelParticles/Allrun @@ -0,0 +1,12 @@ +#!/bin/bash +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +# Get application from system/controlDict +application=`getApplication` + +# make sure the application is compiled +wmake ../$application + +runApplication blockMesh +runApplication $application diff --git a/tutorials/lagrangian/icoLagrangianFoam/channelParticles/system/controlDict b/tutorials/lagrangian/icoLagrangianFoam/channelParticles/system/controlDict index 83d31cf1f..8ee4ed160 100644 --- a/tutorials/lagrangian/icoLagrangianFoam/channelParticles/system/controlDict +++ b/tutorials/lagrangian/icoLagrangianFoam/channelParticles/system/controlDict @@ -24,7 +24,7 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -application icoFoam; +application icoLagrangianFoam; startFrom firstTime;