From a412bb43ceaa53537aabebdf6672d24f87561983 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Sat, 6 Aug 2011 21:29:53 +0100
Subject: [PATCH] motorBike tutorial: Added "value" entries to allow
 post-processing of 0

---
 .../incompressible/simpleFoam/motorBike/0.org/k   |  2 ++
 .../simpleFoam/motorBike/0.org/omega              |  2 ++
 .../simpleFoam/motorBike/system/controlDict       | 15 ++++-----------
 .../simpleFoam/motorBike/system/fvSchemes         |  2 +-
 4 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/tutorials/incompressible/simpleFoam/motorBike/0.org/k b/tutorials/incompressible/simpleFoam/motorBike/0.org/k
index e4f69db0d10..19af4ae07c2 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/0.org/k
+++ b/tutorials/incompressible/simpleFoam/motorBike/0.org/k
@@ -34,11 +34,13 @@ boundaryField
     lowerWall
     {
         type            kqRWallFunction;
+        value           $internalField;
     }
 
     "motorBike_.*"
     {
         type            kqRWallFunction;
+        value           $internalField;
     }
 
     #include "include/frontBackUpperPatches"
diff --git a/tutorials/incompressible/simpleFoam/motorBike/0.org/omega b/tutorials/incompressible/simpleFoam/motorBike/0.org/omega
index 55c76a488ec..1d0b5ae1957 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/0.org/omega
+++ b/tutorials/incompressible/simpleFoam/motorBike/0.org/omega
@@ -34,11 +34,13 @@ boundaryField
     lowerWall
     {
         type            omegaWallFunction;
+        value           $internalField;
     }
 
     "motorBike_.*"
     {
         type            omegaWallFunction;
+        value           $internalField;
     }
 
     #include "include/frontBackUpperPatches"
diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/controlDict b/tutorials/incompressible/simpleFoam/motorBike/system/controlDict
index fc5893222c0..f32b280ac97 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/system/controlDict
+++ b/tutorials/incompressible/simpleFoam/motorBike/system/controlDict
@@ -16,19 +16,19 @@ FoamFile
 
 application     simpleFoam;
 
-startFrom        latestTime;
+startFrom       latestTime;
 
 startTime       0;
 
-stopAt           nextWrite;
+stopAt          endTime;
 
 endTime         500;
 
 deltaT          1;
 
-writeControl     timeStep;
+writeControl    timeStep;
 
-writeInterval    1;
+writeInterval   100;
 
 purgeWrite      0;
 
@@ -44,13 +44,6 @@ timePrecision   6;
 
 runTimeModifiable true;
 
-libs
-(
-    "libOpenFOAM.so"
-    "libcompressibleTurbulenceModels.so"
-    "libcompressibleRASModels.so"
-);
-
 functions
 {
     #include "readFields"
diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes b/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes
index d0475c2bdde..6ab2d2a107d 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes
+++ b/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes
@@ -27,7 +27,7 @@ gradSchemes
 divSchemes
 {
     default         none;
-    div(phi,U)      Gauss linearUpwind grad(U);
+    div(phi,U)      Gauss linearUpwindV grad(U);
     div(phi,k)      Gauss upwind;
     div(phi,omega)  Gauss upwind;
     div((nuEff*dev(T(grad(U))))) Gauss linear;
-- 
GitLab