mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
wells under zero injection target are also treated as stopped well
when formulating the well control equations
This commit is contained in:
@@ -31,8 +31,10 @@
|
||||
namespace Opm {
|
||||
|
||||
class ParallelWellInfo;
|
||||
struct WellProductionControls;
|
||||
struct WellInjectionControls;
|
||||
enum class WellProducerCMode;
|
||||
class WellProductionControls;
|
||||
enum class WellInjectorCMode;
|
||||
|
||||
namespace wellhelpers {
|
||||
|
||||
@@ -86,8 +88,12 @@ template <class DenseMatrix>
|
||||
DenseMatrix transposeDenseDynMatrix(const DenseMatrix& M);
|
||||
|
||||
/// Helper to check whether the well is under zero production rate control
|
||||
bool rateControlWithZeroTarget(const WellProducerCMode& mode,
|
||||
const WellProductionControls& controls);
|
||||
bool rateControlWithZeroProdTarget(const WellProductionControls& controls,
|
||||
WellProducerCMode mode);
|
||||
|
||||
/// Helper to check whether the well is under zero injection rate control
|
||||
bool rateControlWithZeroInjTarget(const WellInjectionControls& controls,
|
||||
WellInjectorCMode mode);
|
||||
|
||||
} // namespace wellhelpers
|
||||
} // namespace Opm
|
||||
|
||||
Reference in New Issue
Block a user