Commit a3a49bad authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[navierstokes][localresidual] Include extrusion factor for Neumann BC

parent d7182b6c
......@@ -221,6 +221,7 @@ protected:
if (scvf.boundary())
{
auto boundaryFlux = computeFluxForCellCenter(problem, element, fvGeometry, elemVolVars, elemFaceVars, scvf, elemFluxVarsCache);
const auto& scv = fvGeometry.scv(scvf.insideScvIdx());
// handle the actual boundary conditions:
const auto bcTypes = problem.boundaryTypes(element, scvf);
......@@ -242,7 +243,7 @@ protected:
residual += boundaryFlux;
asImp_().setFixedCell_(residual, problem, fvGeometry.scv(scvf.insideScvIdx()), elemVolVars, bcTypes);
asImp_().setFixedCell_(residual, problem, scv, elemVolVars, bcTypes);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment