From f5aa277982850b31a92dd442b5b888ef1a826399 Mon Sep 17 00:00:00 2001
From: henry <Henry Weller h.weller@opencfd.co.uk>
Date: Fri, 30 Oct 2009 17:22:55 +0000
Subject: [PATCH] Minor clean-up.

---
 .../motorBike/constant/polyMesh/boundary      | 144 +++++++++---------
 .../simpleFoam/motorBike/system/fvSchemes     |   8 +-
 .../simpleFoam/motorBike/system/fvSolution    |   5 +
 3 files changed, 81 insertions(+), 76 deletions(-)

diff --git a/tutorials/incompressible/simpleFoam/motorBike/constant/polyMesh/boundary b/tutorials/incompressible/simpleFoam/motorBike/constant/polyMesh/boundary
index b79c6ad432a..3c2a064fff0 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/constant/polyMesh/boundary
+++ b/tutorials/incompressible/simpleFoam/motorBike/constant/polyMesh/boundary
@@ -21,433 +21,433 @@ FoamFile
     {
         type            patch;
         nFaces          320;
-        startFace       1016586;
+        startFace       1016673;
     }
     inlet
     {
         type            patch;
         nFaces          64;
-        startFace       1016906;
+        startFace       1016993;
     }
     outlet
     {
         type            patch;
         nFaces          64;
-        startFace       1016970;
+        startFace       1017057;
     }
     lowerWall
     {
         type            wall;
         nFaces          5330;
-        startFace       1017034;
+        startFace       1017121;
     }
     upperWall
     {
         type            patch;
         nFaces          160;
-        startFace       1022364;
+        startFace       1022451;
     }
     motorBike_frt-fairing:001%1
     {
         type            wall;
         nFaces          6626;
-        startFace       1022524;
+        startFace       1022611;
     }
     motorBike_windshield:002%2
     {
         type            wall;
         nFaces          50;
-        startFace       1029150;
+        startFace       1029237;
     }
     motorBike_rr-wh-rim:005%5
     {
         type            wall;
         nFaces          181;
-        startFace       1029200;
+        startFace       1029287;
     }
     motorBike_rr-wh-rim:010%10
     {
         type            wall;
         nFaces          340;
-        startFace       1029381;
+        startFace       1029468;
     }
     motorBike_fr-wh-rim:011%11
     {
         type            wall;
         nFaces          474;
-        startFace       1029721;
+        startFace       1029808;
     }
     motorBike_fr-wh-brake-disk:012%12
     {
         type            wall;
         nFaces          54;
-        startFace       1030195;
+        startFace       1030282;
     }
     motorBike_frame:016-shadow%13
     {
         type            wall;
         nFaces          131;
-        startFace       1030249;
+        startFace       1030336;
     }
     motorBike_rear-susp:014%14
     {
         type            wall;
         nFaces          1073;
-        startFace       1030380;
+        startFace       1030467;
     }
     motorBike_rear-susp:014-shadow%15
     {
         type            wall;
         nFaces          159;
-        startFace       1031453;
+        startFace       1031540;
     }
     motorBike_frame:016%16
     {
         type            wall;
         nFaces          20;
-        startFace       1031612;
+        startFace       1031699;
     }
     motorBike_rr-wh-rim:005-shadow%17
     {
         type            wall;
         nFaces          25;
-        startFace       1031632;
+        startFace       1031719;
     }
     motorBike_rr-wh-chain-hub:022%22
     {
         type            wall;
         nFaces          141;
-        startFace       1031657;
+        startFace       1031744;
     }
     motorBike_rearseat%24
     {
         type            wall;
         nFaces          432;
-        startFace       1031798;
+        startFace       1031885;
     }
     motorBike_frt-fairing%25
     {
         type            wall;
         nFaces          626;
-        startFace       1032230;
+        startFace       1032317;
     }
     motorBike_windshield%26
     {
         type            wall;
         nFaces          428;
-        startFace       1032856;
+        startFace       1032943;
     }
     motorBike_headlights%27
     {
         type            wall;
         nFaces          161;
-        startFace       1033284;
+        startFace       1033371;
     }
     motorBike_driversseat%28
     {
         type            wall;
         nFaces          367;
-        startFace       1033445;
+        startFace       1033532;
     }
     motorBike_rear-body%29
     {
         type            wall;
         nFaces          2076;
-        startFace       1033812;
+        startFace       1033899;
     }
     motorBike_fuel-tank%30
     {
         type            wall;
         nFaces          912;
-        startFace       1035888;
+        startFace       1035975;
     }
     motorBike_exhaust%31
     {
         type            wall;
         nFaces          2391;
-        startFace       1036800;
+        startFace       1036887;
     }
     motorBike_rr-wh-rim%32
     {
         type            wall;
         nFaces          1430;
-        startFace       1039191;
+        startFace       1039278;
     }
     motorBike_fr-mud-guard%33
     {
         type            wall;
         nFaces          767;
-        startFace       1040621;
+        startFace       1040708;
     }
     motorBike_fr-wh-rim%34
     {
         type            wall;
         nFaces          592;
-        startFace       1041388;
+        startFace       1041475;
     }
     motorBike_fr-wh-brake-disk%35
     {
         type            wall;
         nFaces          533;
-        startFace       1041980;
+        startFace       1042067;
     }
     motorBike_fr-brake-caliper%36
     {
         type            wall;
         nFaces          164;
-        startFace       1042513;
+        startFace       1042600;
     }
     motorBike_fr-wh-tyre%37
     {
         type            wall;
         nFaces          1118;
-        startFace       1042677;
+        startFace       1042764;
     }
     motorBike_hbars%38
     {
         type            wall;
         nFaces          535;
-        startFace       1043795;
+        startFace       1043882;
     }
     motorBike_fr-forks%39
     {
         type            wall;
         nFaces          1144;
-        startFace       1044330;
+        startFace       1044417;
     }
     motorBike_chain%40
     {
         type            wall;
         nFaces          474;
-        startFace       1045474;
+        startFace       1045561;
     }
     motorBike_rr-wh-tyre%41
     {
         type            wall;
         nFaces          1785;
-        startFace       1045948;
+        startFace       1046035;
     }
     motorBike_square-dial%42
     {
         type            wall;
         nFaces          6;
-        startFace       1047733;
+        startFace       1047820;
     }
     motorBike_round-dial%43
     {
         type            wall;
         nFaces          18;
-        startFace       1047739;
+        startFace       1047826;
     }
     motorBike_dial-holder%44
     {
         type            wall;
         nFaces          87;
-        startFace       1047757;
+        startFace       1047844;
     }
     motorBike_rear-susp%45
     {
         type            wall;
         nFaces          1787;
-        startFace       1047844;
+        startFace       1047931;
     }
     motorBike_rear-brake-lights%46
     {
         type            wall;
         nFaces          54;
-        startFace       1049631;
+        startFace       1049718;
     }
     motorBike_rear-light-bracket%47
     {
         type            wall;
         nFaces          163;
-        startFace       1049685;
+        startFace       1049772;
     }
     motorBike_frame%48
     {
         type            wall;
         nFaces          2040;
-        startFace       1049848;
+        startFace       1049935;
     }
     motorBike_rear-mud-guard%49
     {
         type            wall;
         nFaces          804;
-        startFace       1051888;
+        startFace       1051975;
     }
     motorBike_rear-susp-spring-damp%50
     {
         type            wall;
         nFaces          125;
-        startFace       1052692;
+        startFace       1052779;
     }
     motorBike_fairing-inner-plate%51
     {
         type            wall;
         nFaces          446;
-        startFace       1052817;
+        startFace       1052904;
     }
     motorBike_clutch-housing%52
     {
         type            wall;
         nFaces          966;
-        startFace       1053263;
+        startFace       1053350;
     }
     motorBike_radiator%53
     {
         type            wall;
         nFaces          48;
-        startFace       1054229;
+        startFace       1054316;
     }
     motorBike_water-pipe%54
     {
         type            wall;
         nFaces          103;
-        startFace       1054277;
+        startFace       1054364;
     }
     motorBike_water-pump%55
     {
         type            wall;
         nFaces          74;
-        startFace       1054380;
+        startFace       1054467;
     }
     motorBike_engine%56
     {
         type            wall;
         nFaces          2384;
-        startFace       1054454;
+        startFace       1054541;
     }
     motorBike_rear-shock-link%57
     {
         type            wall;
         nFaces          29;
-        startFace       1056838;
+        startFace       1056925;
     }
     motorBike_rear-brake-fluid-pot-bracket%58
     {
         type            wall;
         nFaces          59;
-        startFace       1056867;
+        startFace       1056954;
     }
     motorBike_rear-brake-fluid-pot%59
     {
         type            wall;
         nFaces          53;
-        startFace       1056926;
+        startFace       1057013;
     }
     motorBike_footpeg%60
     {
         type            wall;
         nFaces          87;
-        startFace       1056979;
+        startFace       1057066;
     }
     motorBike_rr-wh-chain-hub%61
     {
         type            wall;
         nFaces          145;
-        startFace       1057066;
+        startFace       1057153;
     }
     motorBike_rear-brake-caliper%62
     {
         type            wall;
         nFaces          142;
-        startFace       1057211;
+        startFace       1057298;
     }
     motorBike_rider-helmet%65
     {
         type            wall;
         nFaces          583;
-        startFace       1057353;
+        startFace       1057440;
     }
     motorBike_rider-visor%66
     {
         type            wall;
         nFaces          95;
-        startFace       1057936;
+        startFace       1058023;
     }
     motorBike_rider-boots%67
     {
         type            wall;
         nFaces          1025;
-        startFace       1058031;
+        startFace       1058118;
     }
     motorBike_rider-gloves%68
     {
         type            wall;
         nFaces          320;
-        startFace       1059056;
+        startFace       1059143;
     }
     motorBike_rider-body%69
     {
         type            wall;
         nFaces          4555;
-        startFace       1059376;
+        startFace       1059463;
     }
     motorBike_frame:0%70
     {
         type            wall;
         nFaces          37;
-        startFace       1063931;
+        startFace       1064018;
     }
     motorBike_frt-fairing:001-shadow%74
     {
         type            wall;
         nFaces          1274;
-        startFace       1063968;
+        startFace       1064055;
     }
     motorBike_windshield-shadow%75
     {
         type            wall;
         nFaces          101;
-        startFace       1065242;
+        startFace       1065329;
     }
     motorBike_fr-mud-guard-shadow%81
     {
         type            wall;
         nFaces          129;
-        startFace       1065343;
+        startFace       1065430;
     }
     motorBike_fr-wh-brake-disk-shadow%83
     {
         type            wall;
         nFaces          77;
-        startFace       1065472;
+        startFace       1065559;
     }
     motorBike_rear-mud-guard-shadow%84
     {
         type            wall;
         nFaces          138;
-        startFace       1065549;
+        startFace       1065636;
     }
     motorBike_rear-susp-spring-damp-shadow%85
     {
         type            wall;
         nFaces          15;
-        startFace       1065687;
+        startFace       1065774;
     }
     motorBike_radiator-shadow%86
     {
         type            wall;
         nFaces          12;
-        startFace       1065702;
+        startFace       1065789;
     }
     motorBike_rear-shock-link-shadow%87
     {
         type            wall;
         nFaces          7;
-        startFace       1065714;
+        startFace       1065801;
     }
     motorBike_rear-brake-fluid-pot-bracket-shadow%88
     {
         type            wall;
         nFaces          6;
-        startFace       1065721;
+        startFace       1065808;
     }
     motorBike_rr-wh-chain-hub-shadow%89
     {
         type            wall;
         nFaces          24;
-        startFace       1065727;
+        startFace       1065814;
     }
 )
 
diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes b/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes
index 50814119794..72974933474 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes
+++ b/tutorials/incompressible/simpleFoam/motorBike/system/fvSchemes
@@ -24,13 +24,13 @@ gradSchemes
     default         Gauss linear;
     grad(p)         Gauss linear;
     grad(U)         Gauss linear;
-//    grad(U)         cellLimited Gauss linear 1;
+    //grad(U)         cellLimited Gauss linear 1;
 }
 
 divSchemes
 {
     default         none;
-    div(phi,U)      Gauss linearUpwindV Gauss linear;
+    div(phi,U)      Gauss linearUpwind grad(U);
     div(phi,k)      Gauss upwind;
     div(phi,omega)  Gauss upwind;
     div((nuEff*dev(grad(U).T()))) Gauss linear;
@@ -39,8 +39,8 @@ divSchemes
 laplacianSchemes
 {
     default         Gauss linear corrected;
-//    default         Gauss linear limited 0.5;
-//    default         Gauss linear limited 0.333;
+    //default         Gauss linear limited 0.5;
+    //default         Gauss linear limited 0.333;
 }
 
 interpolationSchemes
diff --git a/tutorials/incompressible/simpleFoam/motorBike/system/fvSolution b/tutorials/incompressible/simpleFoam/motorBike/system/fvSolution
index 3b0a3e35b67..e99098b5b9c 100644
--- a/tutorials/incompressible/simpleFoam/motorBike/system/fvSolution
+++ b/tutorials/incompressible/simpleFoam/motorBike/system/fvSolution
@@ -71,4 +71,9 @@ relaxationFactors
     omega           0.7;
 }
 
+cache
+{
+    grad(U);
+}
+
 // ************************************************************************* //
-- 
GitLab