Commit afb7bfef authored by Nicolas Schwenck's avatar Nicolas Schwenck
Browse files

Changed signs in fluxes.

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4739 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent f0ca5fca
......@@ -154,14 +154,14 @@ public:
(1 - upwindAlpha)*dn.concentration(1)/dn.viscosity());
// diffusive flux of second component
flux[transEqIdx] +=
flux[transEqIdx] -=
fluxVars.porousDiffCoeff() *
(fluxVars.concentrationGrad(1) * fluxVars.face().normal);
// dispersive flux of second component
Vector normalDisp;
fluxVars.dispersionTensor().mv(fluxVars.face().normal, normalDisp);
flux[transEqIdx] +=
flux[transEqIdx] -=
(normalDisp * fluxVars.concentrationGrad(1));
}
......
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