Skip to content
Snippets Groups Projects
Commit 33467dce authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[tpfa][darcyslaw] use outside density on Dirichlet boundaries

parent 8b2a0fea
No related branches found
No related tags found
Loading
......@@ -130,9 +130,9 @@ public:
// do averaging for the density over all neighboring elements
const auto rho = [&]()
{
// boundaries
// use "Dirichlet" density on boundaries
if (scvf.boundary())
return insideVolVars.density(phaseIdx);
return outsideVolVars.density(phaseIdx);
// inner faces with two neighboring elements
else if (scvf.numOutsideScvs() == 1)
......
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