From fea3993e792ef1fa3b6fab119c431d783cb1080a Mon Sep 17 00:00:00 2001 From: Kilian <kilian.weishaupt@iws.uni-stuttgart.de> Date: Sat, 11 Jan 2020 20:33:44 +0100 Subject: [PATCH] [navierstokes][staggered][velocitygradients] Use new Beavers-Jospeh interface --- .../navierstokes/staggered/velocitygradients.hh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/dumux/freeflow/navierstokes/staggered/velocitygradients.hh b/dumux/freeflow/navierstokes/staggered/velocitygradients.hh index f9d7a58edc..6dd2bce862 100644 --- a/dumux/freeflow/navierstokes/staggered/velocitygradients.hh +++ b/dumux/freeflow/navierstokes/staggered/velocitygradients.hh @@ -272,8 +272,11 @@ public: return velocityGradIJ(problem, element, fvGeometry, scvf, faceVars, currentScvfBoundaryTypes, lateralFaceBoundaryTypes, localSubFaceIdx); }(); - return problem.beaversJosephVelocity(element, fvGeometry.scv(scvf.insideScvIdx()), - scvf, innerLateralVelocity, + return problem.beaversJosephVelocity(element, + fvGeometry.scv(scvf.insideScvIdx()), + lateralScvf, + scvf, /*on boundary*/ + innerLateralVelocity, tangentialVelocityGradient); } @@ -329,9 +332,11 @@ public: return velocityGradJI(problem, element, fvGeometry, scvf, faceVars, currentScvfBoundaryTypes, lateralFaceBoundaryTypes, localSubFaceIdx); }(); - - return problem.beaversJosephVelocity(element, fvGeometry.scv(scvf.insideScvIdx()), - lateralScvf, innerParallelVelocity, + return problem.beaversJosephVelocity(element, + fvGeometry.scv(scvf.insideScvIdx()), + scvf, + lateralScvf, /*on boundary*/ + innerParallelVelocity, tangentialVelocityGradient); } -- GitLab