From 13cc1d0dd7c24ea3a41b32807b19cc12018eb673 Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Wed, 13 Apr 2011 11:54:28 +0100
Subject: [PATCH] bubbleFoam: Corrected the velocity used in the wall-functions
 to be that of the continuous-phase

---
 applications/solvers/multiphase/bubbleFoam/wallFunctions.H | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/solvers/multiphase/bubbleFoam/wallFunctions.H b/applications/solvers/multiphase/bubbleFoam/wallFunctions.H
index a998d4c3ddc..bc9e93c63df 100644
--- a/applications/solvers/multiphase/bubbleFoam/wallFunctions.H
+++ b/applications/solvers/multiphase/bubbleFoam/wallFunctions.H
@@ -34,7 +34,7 @@
         {
             const scalarField& nuw = nutb.boundaryField()[patchi];
 
-            scalarField magFaceGradU(mag(U.boundaryField()[patchi].snGrad()));
+            scalarField magFaceGradU(mag(Ub.boundaryField()[patchi].snGrad()));
 
             forAll(currPatch, facei)
             {
-- 
GitLab