ECL peaceman well: use the grid to get an initial estimate of the BHP

more concretely, we now use the pressure of an arbitrary phase of an
arbitrary DOF contained in the well.
This commit is contained in:
Andreas Lauser 2015-01-15 12:17:46 +01:00
parent be3772e351
commit c4f169e01e

View File

@ -941,7 +941,7 @@ public:
int wellGlobalDof = AuxModule::localToGlobalDof(/*localDofIdx=*/0);
// retrieve the bottom hole pressure from the global system of equations
actualBottomHolePressure_ = sol[wellGlobalDof][0];
actualBottomHolePressure_ = dofVariables_.begin()->second.pressure[0];
actualBottomHolePressure_ = computeRateEquivalentBhp_();
sol[wellGlobalDof][0] = actualBottomHolePressure_;