diff --git a/dumux/freeflow/navierstokes/staggered/velocitygradients.hh b/dumux/freeflow/navierstokes/staggered/velocitygradients.hh index f9d7a58edce996cda5d763c232cb17706a30c0ad..6dd2bce86249df1b6fe13fae49dc807c9ae143b7 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); }