From 67540322358ef2391eeecfdf1573e699a6d7d215 Mon Sep 17 00:00:00 2001 From: mattijs <m.janssens@opencfd.co.uk> Date: Tue, 6 May 2008 16:37:29 +0100 Subject: [PATCH] Inserted interDyMFoam testcase into testloop --- tutorials/interDyMFoam/Allclean | 13 +++++++++++++ tutorials/interDyMFoam/Allrun | 18 ++++++++++++++++++ .../damBreakWithObstacle/system/controlDict | 2 +- .../system/decomposeParDict | 15 ++++----------- 4 files changed, 36 insertions(+), 12 deletions(-) create mode 100755 tutorials/interDyMFoam/Allclean create mode 100755 tutorials/interDyMFoam/Allrun diff --git a/tutorials/interDyMFoam/Allclean b/tutorials/interDyMFoam/Allclean new file mode 100755 index 00000000000..acf465ac32a --- /dev/null +++ b/tutorials/interDyMFoam/Allclean @@ -0,0 +1,13 @@ +#!/bin/sh + +currDir=`pwd` +application=`basename $currDir` +cases="damBreakWithObstacle" + +tutorialPath=`dirname $0`/.. +. $tutorialPath/CleanFunctions + +for case in $cases +do + cleanCase $case +done diff --git a/tutorials/interDyMFoam/Allrun b/tutorials/interDyMFoam/Allrun new file mode 100755 index 00000000000..6ef2ffbf920 --- /dev/null +++ b/tutorials/interDyMFoam/Allrun @@ -0,0 +1,18 @@ +#!/bin/sh + +currDir=`pwd` +application=`basename $currDir` +cases="damBreakWithObstacle" + +tutorialPath=`dirname $0`/.. +. $tutorialPath/RunFunctions +. $tutorialPath/CleanFunctions + +for case in $cases +do + runApplication blockMesh $case + runApplication setSet $case -batch createObstacle.setSet + runApplication subsetMesh $case c0 -patch walls + runApplication setFields $case -latestTime + runApplication $application $case +done diff --git a/tutorials/interDyMFoam/damBreakWithObstacle/system/controlDict b/tutorials/interDyMFoam/damBreakWithObstacle/system/controlDict index 0dbfd9b902a..e1313279fd0 100644 --- a/tutorials/interDyMFoam/damBreakWithObstacle/system/controlDict +++ b/tutorials/interDyMFoam/damBreakWithObstacle/system/controlDict @@ -24,7 +24,7 @@ FoamFile application interFoam; -startFrom startTime; +startFrom latestTime; startTime 0; diff --git a/tutorials/interDyMFoam/damBreakWithObstacle/system/decomposeParDict b/tutorials/interDyMFoam/damBreakWithObstacle/system/decomposeParDict index ef1ee29d037..88569a8784a 100644 --- a/tutorials/interDyMFoam/damBreakWithObstacle/system/decomposeParDict +++ b/tutorials/interDyMFoam/damBreakWithObstacle/system/decomposeParDict @@ -25,7 +25,8 @@ FoamFile numberOfSubdomains 4; -method simple; +//method metis; +method hierarchical; simpleCoeffs { @@ -35,21 +36,13 @@ simpleCoeffs hierarchicalCoeffs { - n (1 1 1); + n (2 2 1); delta 0.001; order xyz; } metisCoeffs -{ - processorWeights - ( - 1 - 1 - 1 - 1 - ); -} +{} manualCoeffs { -- GitLab