From 5d0d752d26f5743a84f1ec6fda614dc00884d215 Mon Sep 17 00:00:00 2001
From: graham <g.macpherson@opencfd.co.uk>
Date: Fri, 18 Mar 2011 12:19:47 +0000
Subject: [PATCH] BUG: Tutorial setup correction.

---
 .../wingMotion2D_pimpleDyMFoam/system/fvSchemes     |  1 +
 .../wingMotion2D_pimpleDyMFoam/system/fvSolution    | 13 ++++++++++---
 .../extrudeProperties => system/extrudeMeshDict}    |  0
 3 files changed, 11 insertions(+), 3 deletions(-)
 rename tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/{constant/extrudeProperties => system/extrudeMeshDict} (100%)

diff --git a/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/system/fvSchemes b/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/system/fvSchemes
index f5b6b3d9151..86400ad877e 100644
--- a/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/system/fvSchemes
+++ b/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/system/fvSchemes
@@ -53,6 +53,7 @@ snGradSchemes
 fluxRequired
 {
     default         no;
+    pcorr           ;
     p;
 }
 
diff --git a/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/system/fvSolution b/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/system/fvSolution
index a76bbd4dcdd..90f68beb375 100644
--- a/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/system/fvSolution
+++ b/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_pimpleDyMFoam/system/fvSolution
@@ -16,11 +16,11 @@ FoamFile
 
 solvers
 {
-    p
+    pcorr
     {
         solver           GAMG;
-        tolerance        1e-7;
-        relTol           0.01;
+        tolerance        0.02;
+        relTol           0;
         smoother         GaussSeidel;
         nPreSweeps       0;
         nPostSweeps      2;
@@ -30,6 +30,13 @@ solvers
         mergeLevels      1;
     }
 
+    p
+    {
+        $pcorr
+        tolerance        1e-7;
+        relTol           0.01;
+    }
+
     pFinal
     {
         $p;
diff --git a/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/constant/extrudeProperties b/tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/system/extrudeMeshDict
similarity index 100%
rename from tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/constant/extrudeProperties
rename to tutorials/incompressible/pimpleDyMFoam/wingMotion/wingMotion2D_simpleFoam/system/extrudeMeshDict
-- 
GitLab