Skip to content
Snippets Groups Projects
Commit fea3993e authored by Kilian Weishaupt's avatar Kilian Weishaupt Committed by Ned Coltman
Browse files

[navierstokes][staggered][velocitygradients] Use new Beavers-Jospeh interface

parent 9fa29108
1 merge request!1833Feature/improve beavers joseph
...@@ -272,8 +272,11 @@ public: ...@@ -272,8 +272,11 @@ public:
return velocityGradIJ(problem, element, fvGeometry, scvf, faceVars, currentScvfBoundaryTypes, lateralFaceBoundaryTypes, localSubFaceIdx); return velocityGradIJ(problem, element, fvGeometry, scvf, faceVars, currentScvfBoundaryTypes, lateralFaceBoundaryTypes, localSubFaceIdx);
}(); }();
return problem.beaversJosephVelocity(element, fvGeometry.scv(scvf.insideScvIdx()), return problem.beaversJosephVelocity(element,
scvf, innerLateralVelocity, fvGeometry.scv(scvf.insideScvIdx()),
lateralScvf,
scvf, /*on boundary*/
innerLateralVelocity,
tangentialVelocityGradient); tangentialVelocityGradient);
} }
...@@ -329,9 +332,11 @@ public: ...@@ -329,9 +332,11 @@ public:
return velocityGradJI(problem, element, fvGeometry, scvf, faceVars, currentScvfBoundaryTypes, lateralFaceBoundaryTypes, localSubFaceIdx); return velocityGradJI(problem, element, fvGeometry, scvf, faceVars, currentScvfBoundaryTypes, lateralFaceBoundaryTypes, localSubFaceIdx);
}(); }();
return problem.beaversJosephVelocity(element,
return problem.beaversJosephVelocity(element, fvGeometry.scv(scvf.insideScvIdx()), fvGeometry.scv(scvf.insideScvIdx()),
lateralScvf, innerParallelVelocity, scvf,
lateralScvf, /*on boundary*/
innerParallelVelocity,
tangentialVelocityGradient); tangentialVelocityGradient);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment