From b476b56afb769b512825929120c25d4fe776777a Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Wed, 19 Dec 2018 16:29:10 +0000
Subject: [PATCH] BUG: meanVelictyForce: missing correctBoundaryConditions

---
 .../sources/derived/meanVelocityForce/meanVelocityForce.C     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.C b/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.C
index 699897668a2..8c631bf717a 100644
--- a/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.C
+++ b/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.C
@@ -3,7 +3,7 @@
   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
    \\    /   O peration     |
     \\  /    A nd           | Copyright (C) 2011-2016 OpenFOAM Foundation
-     \\/     M anipulation  |
+     \\/     M anipulation  | Copyright (C) 2018 OpenCFD Ltd.
 -------------------------------------------------------------------------------
 License
     This file is part of OpenFOAM.
@@ -178,6 +178,8 @@ void Foam::fv::meanVelocityForce::correct(volVectorField& U)
         U[celli] += flowDir_*rAU[celli]*dGradP_;
     }
 
+    U.correctBoundaryConditions();
+
     scalar gradP = gradP0_ + dGradP_;
 
     Info<< "Pressure gradient source: uncorrected Ubar = " << magUbarAve
-- 
GitLab