Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!191Fix/extrusionfactor for outflow
......@@ -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)
......
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