Commit 1d797b8b authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[box][localResidual] Account for extrusion factor in outflow

*Flux leaving the domain needs to be scaled be extrusion factor
parent b2064578
......@@ -204,6 +204,7 @@ protected:
//calculate outflow fluxes
PrimaryVariables values(0.0);
this->asImp_().computeFlux(values, boundaryFaceIdx, true);
values *= this->curVolVars_(scvIdx).extrusionFactor();
Valgrind::CheckDefined(values);
for (int equationIdx = 0; equationIdx < numEq; ++equationIdx)
......
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