Commit 030a27d3 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

remove unused variable, correct indentation

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11522 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 4563c069
......@@ -464,9 +464,6 @@ void FvMpfaO2dPressureVelocity2p<TypeTag>::calculateVelocityOnBoundary(const Int
pressNwBound = pressBound;
}
//get temperature at current position
Scalar temperature = problem_.temperature(*element);
Scalar lambdaWBound = MaterialLaw::krw(problem_.spatialParams().materialLawParams(*element), satW)
/ viscosity_[wPhaseIdx];
Scalar lambdaNwBound = MaterialLaw::krn(problem_.spatialParams().materialLawParams(*element), satW)
......@@ -476,9 +473,8 @@ void FvMpfaO2dPressureVelocity2p<TypeTag>::calculateVelocityOnBoundary(const Int
Scalar potentialDiffNw = cellData.fluxData().upwindPotential(nPhaseIdx, isIndex);
//calculate potential gradient
potentialDiffW = (cellData.pressure(wPhaseIdx) - pressWBound);
potentialDiffNw = (cellData.pressure(nPhaseIdx) - pressNwBound);
potentialDiffW = (cellData.pressure(wPhaseIdx) - pressWBound);
potentialDiffNw = (cellData.pressure(nPhaseIdx) - pressNwBound);
potentialDiffW += density_[wPhaseIdx] * (distVec * problem_.gravity());
potentialDiffNw += density_[nPhaseIdx] * (distVec * problem_.gravity());
......
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