From a34e98ba901abaec0c791b9ab8136c9b2608b965 Mon Sep 17 00:00:00 2001 From: "Bernhard F.W. Gschaider" Date: Mon, 25 Oct 2010 23:07:32 +0200 Subject: [PATCH] Test for icoLagrangianFoam should work now --HG-- branch : porousLagrangianBranch rename : tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/Allrun => tutorials/lagrangian/icoLagrangianFoam/channelParticles/Allrun --- tutorials/lagrangian/icoLagrangianFoam/Allclean | 15 --------------- tutorials/lagrangian/icoLagrangianFoam/Allrun | 14 -------------- .../icoLagrangianFoam/channelParticles/Allrun | 12 ++++++++++++ .../channelParticles/system/controlDict | 2 +- 4 files changed, 13 insertions(+), 30 deletions(-) delete mode 100755 tutorials/lagrangian/icoLagrangianFoam/Allclean delete mode 100755 tutorials/lagrangian/icoLagrangianFoam/Allrun create mode 100755 tutorials/lagrangian/icoLagrangianFoam/channelParticles/Allrun 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;