From d733099abb4b2588eb2232f712ea142f9bb03032 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 28 May 2014 20:03:09 +0100 Subject: [PATCH] Automatic test loop fix --- .../MRFSimpleFoam/axialTurbine/Allrun | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 tutorials/incompressible/MRFSimpleFoam/axialTurbine/Allrun diff --git a/tutorials/incompressible/MRFSimpleFoam/axialTurbine/Allrun b/tutorials/incompressible/MRFSimpleFoam/axialTurbine/Allrun new file mode 100755 index 000000000..8445c32c2 --- /dev/null +++ b/tutorials/incompressible/MRFSimpleFoam/axialTurbine/Allrun @@ -0,0 +1,24 @@ +#!/bin/sh + +# Source tutorial run functions +. $WM_PROJECT_DIR/bin/tools/RunFunctions + +application="MRFSimpleFoam" +#application="simpleFoam" + +#Create the mesh: +./makeMesh + +# Set 0-directory and create GGI set: +cp -r 0_orig 0 +setSet -batch setBatchGgi +setsToZones -noFlipMap + +#Fix constant/boundary: +cp system/changeDictionaryDict_ggi system/changeDictionaryDict +changeDictionary + +#Pick settings: +cp system/fvSolution_ggi system/fvSolution + +runApplication $application