From d005fa29b4414ad48de807d959af10646ad0acc9 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Fri, 7 Jan 2011 12:32:18 +0000
Subject: [PATCH] XiFoam tutorials: Updated alphaSgsJayatillekeWallFunction BC
 and fvSchemes

---
 tutorials/combustion/XiFoam/les/pitzDaily/0/alphaSgs         | 2 ++
 tutorials/combustion/XiFoam/les/pitzDaily/system/fvSchemes   | 2 +-
 tutorials/combustion/XiFoam/les/pitzDaily3D/0/alphaSgs       | 2 ++
 tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes | 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/0/alphaSgs b/tutorials/combustion/XiFoam/les/pitzDaily/0/alphaSgs
index 689c6e4602b..57acb8784a7 100644
--- a/tutorials/combustion/XiFoam/les/pitzDaily/0/alphaSgs
+++ b/tutorials/combustion/XiFoam/les/pitzDaily/0/alphaSgs
@@ -33,12 +33,14 @@ boundaryField
     upperWall
     {
         type            alphaSgsJayatillekeWallFunction;
+        hs              h;
         value           uniform 0;
     }
 
     lowerWall
     {
         type            alphaSgsJayatillekeWallFunction;
+        hs              h;
         value           uniform 0;
     }
 
diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSchemes b/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSchemes
index 6052702ca55..fccafa51dbd 100644
--- a/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSchemes
+++ b/tutorials/combustion/XiFoam/les/pitzDaily/system/fvSchemes
@@ -44,7 +44,7 @@ divSchemes
     div(U)          Gauss linear;
     div((Su*grad(b))) Gauss linear;
     div((U+((Su*Xi)*grad(b)))) Gauss linear;
-    div((muEff*dev2(grad(U).T()))) Gauss linear;
+    div((muEff*dev2(T(grad(U))))) Gauss linear;
 }
 
 laplacianSchemes
diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/alphaSgs b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/alphaSgs
index 5b47895a3e7..8610d61ac46 100644
--- a/tutorials/combustion/XiFoam/les/pitzDaily3D/0/alphaSgs
+++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/0/alphaSgs
@@ -32,11 +32,13 @@ boundaryField
     upperWall
     {
         type            alphaSgsJayatillekeWallFunction;
+        hs              h;
         value           uniform 0;
     }
     lowerWall
     {
         type            alphaSgsJayatillekeWallFunction;
+        hs              h;
         value           uniform 0;
     }
     frontAndBack_half0
diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes
index 6052702ca55..fccafa51dbd 100644
--- a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes
+++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSchemes
@@ -44,7 +44,7 @@ divSchemes
     div(U)          Gauss linear;
     div((Su*grad(b))) Gauss linear;
     div((U+((Su*Xi)*grad(b)))) Gauss linear;
-    div((muEff*dev2(grad(U).T()))) Gauss linear;
+    div((muEff*dev2(T(grad(U))))) Gauss linear;
 }
 
 laplacianSchemes
-- 
GitLab