From 4f736b5c419273ef906feac322b15365c888cfd7 Mon Sep 17 00:00:00 2001
From: sergio <sergio>
Date: Fri, 10 Feb 2017 11:40:15 -0800
Subject: [PATCH] temperatureCoupledBase: alphaAni set to none by default
 boundaryRadiationProperties: updating to new format dynamicMeshDict and
 snappyHexMeshDict in utorials/multiphase/interDyMFoam/RAS/motorBike to follow
 Mattijs Git lab id 381

---
 .../temperatureCoupledBase.C                  |  2 +-
 .../constant/boundaryRadiationProperties      | 19 +++++--------------
 .../RAS/motorBike/constant/dynamicMeshDict    |  2 +-
 .../RAS/motorBike/system/snappyHexMeshDict    |  2 +-
 4 files changed, 8 insertions(+), 17 deletions(-)

diff --git a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C
index be069684f36..8a7027a59c9 100644
--- a/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C
+++ b/src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/temperatureCoupledBase/temperatureCoupledBase.C
@@ -78,7 +78,7 @@ Foam::temperatureCoupledBase::temperatureCoupledBase
     patch_(patch),
     method_(KMethodTypeNames_.read(dict.lookup("kappaMethod"))),
     kappaName_(dict.lookupOrDefault<word>("kappa", "none")),
-    alphaAniName_(dict.lookupOrDefault<word>("alphaAni","Anialpha"))
+    alphaAniName_(dict.lookupOrDefault<word>("alphaAni","none"))
 {}
 
 
diff --git a/tutorials/combustion/fireFoam/LES/simplePMMApanel/constant/boundaryRadiationProperties b/tutorials/combustion/fireFoam/LES/simplePMMApanel/constant/boundaryRadiationProperties
index 20a028ae667..36db108b2d4 100644
--- a/tutorials/combustion/fireFoam/LES/simplePMMApanel/constant/boundaryRadiationProperties
+++ b/tutorials/combustion/fireFoam/LES/simplePMMApanel/constant/boundaryRadiationProperties
@@ -9,25 +9,16 @@ FoamFile
 {
     version     2.0;
     format      ascii;
-    class       volScalarField;
+    class       dictionary;
+    location    "constant";
     object      boundaryRadiationProperties;
 }
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
 
-dimensions      [0 0 0 0 0 0 0];
-
-internalField   uniform 0;
-
-boundaryField
+".*"
 {
-    ".*"
-    {
-        type            boundaryRadiation;
-        mode            lookup;
-        emissivity      uniform 1.0;
-        absorptivity    uniform 0.0;
-        value           uniform 0.0;
-    }
+    mode            lookup;
+    emissivity      1.0;
 }
 
 // ************************************************************************* //
diff --git a/tutorials/multiphase/interDyMFoam/RAS/motorBike/constant/dynamicMeshDict b/tutorials/multiphase/interDyMFoam/RAS/motorBike/constant/dynamicMeshDict
index 444d6103916..e8ee89cf0e1 100644
--- a/tutorials/multiphase/interDyMFoam/RAS/motorBike/constant/dynamicMeshDict
+++ b/tutorials/multiphase/interDyMFoam/RAS/motorBike/constant/dynamicMeshDict
@@ -29,7 +29,7 @@ dynamicRefineFvMeshCoeffs
     // Have slower than 2:1 refinement
     nBufferLayers   1;
     // Refine cells only up to maxRefinement levels
-    maxRefinement   3;
+    maxRefinement   4;
     // Stop refinement if maxCells reached
     maxCells        2000000;
     // Flux field and corresponding velocity field. Fluxes on changed
diff --git a/tutorials/multiphase/interDyMFoam/RAS/motorBike/system/snappyHexMeshDict b/tutorials/multiphase/interDyMFoam/RAS/motorBike/system/snappyHexMeshDict
index 3dac7f631f3..b7ce19ef33b 100644
--- a/tutorials/multiphase/interDyMFoam/RAS/motorBike/system/snappyHexMeshDict
+++ b/tutorials/multiphase/interDyMFoam/RAS/motorBike/system/snappyHexMeshDict
@@ -38,7 +38,7 @@ geometry
 
 //// Optional: avoid patch-face merging. Allows mesh to be used for
 ////           refinement/unrefinement
-//mergePatchFaces off; // default on
+mergePatchFaces on; // default on
 
 
 
-- 
GitLab