mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
be3772e351
commit
c4f169e01e
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user