2017-08-17 08:49:54 -05:00
|
|
|
/*
|
|
|
|
Copyright 2017 SINTEF Digital, Mathematics and Cybernetics.
|
|
|
|
Copyright 2017 Statoil ASA.
|
|
|
|
|
|
|
|
This file is part of the Open Porous Media project (OPM).
|
|
|
|
|
|
|
|
OPM is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
OPM is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef OPM_MULTISEGMENTWELL_HEADER_INCLUDED
|
|
|
|
#define OPM_MULTISEGMENTWELL_HEADER_INCLUDED
|
|
|
|
|
2019-05-07 06:06:02 -05:00
|
|
|
#include <opm/simulators/wells/WellInterface.hpp>
|
2021-06-03 08:34:14 -05:00
|
|
|
#include <opm/simulators/wells/MultisegmentWellEval.hpp>
|
2017-08-17 08:49:54 -05:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
namespace Opm {
|
|
|
|
|
2021-05-05 04:22:44 -05:00
|
|
|
class DeferredLogger;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
|
|
|
template<typename TypeTag>
|
2021-06-03 08:34:14 -05:00
|
|
|
class MultisegmentWell : public WellInterface<TypeTag>
|
2021-06-03 08:34:14 -05:00
|
|
|
, public MultisegmentWellEval<GetPropType<TypeTag, Properties::FluidSystem>,
|
2024-02-22 08:17:09 -06:00
|
|
|
GetPropType<TypeTag, Properties::Indices>>
|
2017-08-17 08:49:54 -05:00
|
|
|
{
|
|
|
|
public:
|
2021-06-03 08:34:14 -05:00
|
|
|
using Base = WellInterface<TypeTag>;
|
|
|
|
using MSWEval = MultisegmentWellEval<GetPropType<TypeTag, Properties::FluidSystem>,
|
2024-02-22 08:17:09 -06:00
|
|
|
GetPropType<TypeTag, Properties::Indices>>;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
2017-09-01 10:37:51 -05:00
|
|
|
using typename Base::Simulator;
|
2017-09-08 04:09:54 -05:00
|
|
|
using typename Base::IntensiveQuantities;
|
|
|
|
using typename Base::FluidSystem;
|
2017-09-01 10:37:51 -05:00
|
|
|
using typename Base::ModelParameters;
|
2017-09-08 07:58:57 -05:00
|
|
|
using typename Base::MaterialLaw;
|
2017-12-04 02:14:08 -06:00
|
|
|
using typename Base::Indices;
|
2017-11-23 01:37:30 -06:00
|
|
|
using typename Base::RateConverterType;
|
2019-10-02 05:48:29 -05:00
|
|
|
using typename Base::SparseMatrixAdapter;
|
2020-10-26 11:33:07 -05:00
|
|
|
using typename Base::FluidState;
|
2017-11-23 01:37:30 -06:00
|
|
|
|
2017-10-13 03:16:44 -05:00
|
|
|
using Base::has_solvent;
|
|
|
|
using Base::has_polymer;
|
2017-11-08 06:57:36 -06:00
|
|
|
using Base::Water;
|
|
|
|
using Base::Oil;
|
|
|
|
using Base::Gas;
|
2017-10-13 03:16:44 -05:00
|
|
|
|
2017-08-17 08:49:54 -05:00
|
|
|
using typename Base::Scalar;
|
|
|
|
|
|
|
|
/// the matrix and vector types for the reservoir
|
|
|
|
using typename Base::BVector;
|
|
|
|
using typename Base::Eval;
|
|
|
|
|
2022-12-01 02:23:52 -06:00
|
|
|
using typename MSWEval::Equations;
|
2021-06-03 08:34:14 -05:00
|
|
|
using typename MSWEval::EvalWell;
|
|
|
|
using typename MSWEval::BVectorWell;
|
|
|
|
using MSWEval::SPres;
|
2022-06-10 04:08:24 -05:00
|
|
|
using typename Base::PressureMatrix;
|
|
|
|
|
2020-10-09 08:09:28 -05:00
|
|
|
MultisegmentWell(const Well& well,
|
2024-02-20 08:35:13 -06:00
|
|
|
const ParallelWellInfo<Scalar>& pw_info,
|
2020-10-09 08:09:28 -05:00
|
|
|
const int time_step,
|
2017-11-23 01:37:30 -06:00
|
|
|
const ModelParameters& param,
|
|
|
|
const RateConverterType& rate_converter,
|
2017-11-30 09:31:48 -06:00
|
|
|
const int pvtRegionIdx,
|
2019-10-23 02:09:45 -05:00
|
|
|
const int num_components,
|
|
|
|
const int num_phases,
|
|
|
|
const int index_of_well,
|
2024-02-20 07:37:48 -06:00
|
|
|
const std::vector<PerforationData<Scalar>>& perf_data);
|
2017-08-17 08:49:54 -05:00
|
|
|
|
2024-02-17 11:13:46 -06:00
|
|
|
void init(const PhaseUsage* phase_usage_arg,
|
2024-02-20 15:32:18 -06:00
|
|
|
const std::vector<Scalar>& depth_arg,
|
|
|
|
const Scalar gravity_arg,
|
2024-02-17 11:13:46 -06:00
|
|
|
const int num_cells,
|
|
|
|
const std::vector<Scalar>& B_avg,
|
|
|
|
const bool changed_to_open_this_step) override;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
2022-11-09 06:01:30 -06:00
|
|
|
void initPrimaryVariablesEvaluation() override;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
2018-11-15 03:08:03 -06:00
|
|
|
/// updating the well state based the current control mode
|
2024-02-17 11:13:46 -06:00
|
|
|
void updateWellStateWithTarget(const Simulator& simulator,
|
|
|
|
const GroupState<Scalar>& group_state,
|
|
|
|
WellState<Scalar>& well_state,
|
|
|
|
DeferredLogger& deferred_logger) const override;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
|
|
|
/// check whether the well equations get converged for this well
|
2024-03-19 06:50:34 -05:00
|
|
|
ConvergenceReport getWellConvergence(const Simulator& simulator,
|
2024-02-17 11:13:46 -06:00
|
|
|
const WellState<Scalar>& well_state,
|
2024-02-20 15:32:18 -06:00
|
|
|
const std::vector<Scalar>& B_avg,
|
2024-02-17 11:13:46 -06:00
|
|
|
DeferredLogger& deferred_logger,
|
|
|
|
const bool relax_tolerance) const override;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
|
|
|
/// Ax = Ax - C D^-1 B x
|
2024-02-17 11:13:46 -06:00
|
|
|
void apply(const BVector& x, BVector& Ax) const override;
|
2017-08-17 08:49:54 -05:00
|
|
|
/// r = r - C D^-1 Rw
|
2024-02-17 11:13:46 -06:00
|
|
|
void apply(BVector& r) const override;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
|
|
|
/// using the solution x to recover the solution xw for wells and applying
|
|
|
|
/// xw to update Well State
|
2024-03-19 06:50:34 -05:00
|
|
|
void recoverWellSolutionAndUpdateWellState(const Simulator& simulator,
|
2023-03-22 09:10:00 -05:00
|
|
|
const BVector& x,
|
2024-02-17 11:13:46 -06:00
|
|
|
WellState<Scalar>& well_state,
|
2022-11-09 06:01:30 -06:00
|
|
|
DeferredLogger& deferred_logger) override;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
|
|
|
/// computing the well potentials for group control
|
2024-02-17 11:13:46 -06:00
|
|
|
void computeWellPotentials(const Simulator& simulator,
|
|
|
|
const WellState<Scalar>& well_state,
|
2024-02-20 15:32:18 -06:00
|
|
|
std::vector<Scalar>& well_potentials,
|
2024-02-17 11:13:46 -06:00
|
|
|
DeferredLogger& deferred_logger) override;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
2024-03-19 06:50:34 -05:00
|
|
|
void updatePrimaryVariables(const Simulator& simulator,
|
2024-02-17 11:13:46 -06:00
|
|
|
const WellState<Scalar>& well_state,
|
2023-03-22 09:10:00 -05:00
|
|
|
DeferredLogger& deferred_logger) override;
|
2017-08-17 08:49:54 -05:00
|
|
|
|
2024-03-19 06:50:34 -05:00
|
|
|
void solveEqAndUpdateWellState(const Simulator& simulator,
|
2024-02-17 11:13:46 -06:00
|
|
|
WellState<Scalar>& well_state,
|
|
|
|
DeferredLogger& deferred_logger) override; // const?
|
2023-04-21 02:10:10 -05:00
|
|
|
|
2024-02-17 11:13:46 -06:00
|
|
|
void calculateExplicitQuantities(const Simulator& simulator,
|
|
|
|
const WellState<Scalar>& well_state,
|
|
|
|
DeferredLogger& deferred_logger) override; // should be const?
|
2017-09-05 04:09:58 -05:00
|
|
|
|
2024-02-06 04:55:07 -06:00
|
|
|
void updateIPRImplicit(const Simulator& simulator,
|
2024-02-17 11:13:46 -06:00
|
|
|
WellState<Scalar>& well_state,
|
2023-12-08 11:42:21 -06:00
|
|
|
DeferredLogger& deferred_logger) override;
|
2023-10-26 10:28:05 -05:00
|
|
|
|
2024-02-17 11:13:46 -06:00
|
|
|
void updateProductivityIndex(const Simulator& simulator,
|
2024-02-20 16:39:23 -06:00
|
|
|
const WellProdIndexCalculator<Scalar>& wellPICalc,
|
2024-02-17 11:13:46 -06:00
|
|
|
WellState<Scalar>& well_state,
|
|
|
|
DeferredLogger& deferred_logger) const override;
|
2020-10-09 06:38:33 -05:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
Scalar connectionDensity(const int globalConnIdx,
|
2023-06-06 14:31:17 -05:00
|
|
|
const int openConnIdx) const override;
|
|
|
|
|
2022-11-11 14:41:24 -06:00
|
|
|
void addWellContributions(SparseMatrixAdapter& jacobian) const override;
|
2022-11-01 08:42:23 -05:00
|
|
|
|
2022-11-11 14:41:24 -06:00
|
|
|
void addWellPressureEquations(PressureMatrix& mat,
|
|
|
|
const BVector& x,
|
|
|
|
const int pressureVarIndex,
|
|
|
|
const bool use_well_weights,
|
2024-02-17 11:13:46 -06:00
|
|
|
const WellState<Scalar>& well_state) const override;
|
2019-08-15 04:29:30 -05:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
std::vector<Scalar>
|
|
|
|
computeCurrentWellRates(const Simulator& simulator,
|
|
|
|
DeferredLogger& deferred_logger) const override;
|
2020-10-15 07:15:05 -05:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
std::optional<Scalar>
|
2024-02-06 04:55:07 -06:00
|
|
|
computeBhpAtThpLimitProdWithAlq(const Simulator& simulator,
|
2022-10-19 05:23:02 -05:00
|
|
|
const SummaryState& summary_state,
|
2024-02-20 15:32:18 -06:00
|
|
|
const Scalar alq_value,
|
2022-10-19 05:23:02 -05:00
|
|
|
DeferredLogger& deferred_logger) const override;
|
2022-02-07 04:28:35 -06:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
std::vector<Scalar> getPrimaryVars() const override;
|
2023-06-13 05:58:07 -05:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
int setPrimaryVars(typename std::vector<Scalar>::const_iterator it) override;
|
2023-06-13 05:58:07 -05:00
|
|
|
|
2017-08-17 08:49:54 -05:00
|
|
|
protected:
|
2022-04-06 03:09:21 -05:00
|
|
|
// regularize msw equation
|
|
|
|
bool regularize_;
|
|
|
|
|
2019-02-12 05:48:51 -06:00
|
|
|
// the intial amount of fluids in each segment under surface condition
|
2024-02-20 15:32:18 -06:00
|
|
|
std::vector<std::vector<Scalar> > segment_fluid_initial_;
|
2017-09-05 08:16:04 -05:00
|
|
|
|
2019-11-18 09:33:10 -06:00
|
|
|
mutable int debug_cost_counter_ = 0;
|
|
|
|
|
2017-08-29 10:26:36 -05:00
|
|
|
// updating the well_state based on well solution dwells
|
2024-03-19 06:50:34 -05:00
|
|
|
void updateWellState(const Simulator& simulator,
|
2023-03-22 09:10:00 -05:00
|
|
|
const BVectorWell& dwells,
|
2024-02-17 11:13:46 -06:00
|
|
|
WellState<Scalar>& well_state,
|
2021-05-05 04:22:44 -05:00
|
|
|
DeferredLogger& deferred_logger,
|
2024-02-20 15:32:18 -06:00
|
|
|
const Scalar relaxation_factor = 1.0);
|
2017-08-29 10:26:36 -05:00
|
|
|
|
2017-09-05 04:20:43 -05:00
|
|
|
// computing the accumulation term for later use in well mass equations
|
2024-02-06 04:55:07 -06:00
|
|
|
void computeInitialSegmentFluids(const Simulator& simulator);
|
2017-09-05 08:16:04 -05:00
|
|
|
|
|
|
|
// compute the pressure difference between the perforation and cell center
|
2024-02-06 04:55:07 -06:00
|
|
|
void computePerfCellPressDiffs(const Simulator& simulator);
|
2017-09-05 08:16:04 -05:00
|
|
|
|
2023-05-07 14:56:09 -05:00
|
|
|
template<class Value>
|
|
|
|
void computePerfRate(const IntensiveQuantities& int_quants,
|
|
|
|
const std::vector<Value>& mob_perfcells,
|
2023-11-14 05:45:25 -06:00
|
|
|
const std::vector<Scalar>& Tw,
|
2023-05-07 14:56:09 -05:00
|
|
|
const int seg,
|
|
|
|
const int perf,
|
|
|
|
const Value& segment_pressure,
|
|
|
|
const bool& allow_cf,
|
|
|
|
std::vector<Value>& cq_s,
|
|
|
|
Value& perf_press,
|
2024-02-20 07:18:30 -06:00
|
|
|
PerforationRates<Scalar>& perf_rates,
|
2023-05-07 14:56:09 -05:00
|
|
|
DeferredLogger& deferred_logger) const;
|
2021-09-13 02:36:16 -05:00
|
|
|
|
|
|
|
template<class Value>
|
|
|
|
void computePerfRate(const Value& pressure_cell,
|
|
|
|
const Value& rs,
|
|
|
|
const Value& rv,
|
|
|
|
const std::vector<Value>& b_perfcells,
|
|
|
|
const std::vector<Value>& mob_perfcells,
|
2023-11-14 05:45:25 -06:00
|
|
|
const std::vector<Scalar>& Tw,
|
2021-09-13 02:36:16 -05:00
|
|
|
const int perf,
|
|
|
|
const Value& segment_pressure,
|
|
|
|
const Value& segment_density,
|
|
|
|
const bool& allow_cf,
|
|
|
|
const std::vector<Value>& cmix_s,
|
|
|
|
std::vector<Value>& cq_s,
|
|
|
|
Value& perf_press,
|
2024-02-20 07:18:30 -06:00
|
|
|
PerforationRates<Scalar>& perf_rates,
|
2021-09-13 02:36:16 -05:00
|
|
|
DeferredLogger& deferred_logger) const;
|
2017-09-08 04:09:54 -05:00
|
|
|
|
2017-10-03 09:25:51 -05:00
|
|
|
// compute the fluid properties, such as densities, viscosities, and so on, in the segments
|
2017-09-08 04:09:54 -05:00
|
|
|
// They will be treated implicitly, so they need to be of Evaluation type
|
2024-02-06 04:55:07 -06:00
|
|
|
void computeSegmentFluidProperties(const Simulator& simulator,
|
2022-04-01 01:35:31 -05:00
|
|
|
DeferredLogger& deferred_logger);
|
2017-09-08 04:09:54 -05:00
|
|
|
|
2017-09-08 07:58:57 -05:00
|
|
|
// get the mobility for specific perforation
|
2023-05-07 14:56:09 -05:00
|
|
|
template<class Value>
|
2024-02-06 04:55:07 -06:00
|
|
|
void getMobility(const Simulator& simulator,
|
2023-05-07 14:56:09 -05:00
|
|
|
const int perf,
|
2023-05-12 03:02:05 -05:00
|
|
|
std::vector<Value>& mob,
|
|
|
|
DeferredLogger& deferred_logger) const;
|
2017-09-11 10:31:42 -05:00
|
|
|
|
2024-02-06 04:55:07 -06:00
|
|
|
void computeWellRatesAtBhpLimit(const Simulator& simulator,
|
2024-02-20 15:32:18 -06:00
|
|
|
std::vector<Scalar>& well_flux,
|
2021-05-05 04:22:44 -05:00
|
|
|
DeferredLogger& deferred_logger) const;
|
2019-11-18 09:33:10 -06:00
|
|
|
|
2024-02-06 04:55:07 -06:00
|
|
|
void computeWellRatesWithBhp(const Simulator& simulator,
|
2024-02-20 15:32:18 -06:00
|
|
|
const Scalar& bhp,
|
|
|
|
std::vector<Scalar>& well_flux,
|
2022-02-07 04:28:35 -06:00
|
|
|
DeferredLogger& deferred_logger) const override;
|
2019-11-18 09:33:10 -06:00
|
|
|
|
2024-02-06 04:55:07 -06:00
|
|
|
void computeWellRatesWithBhpIterations(const Simulator& simulator,
|
2021-09-13 03:58:50 -05:00
|
|
|
const Scalar& bhp,
|
2024-02-20 15:32:18 -06:00
|
|
|
std::vector<Scalar>& well_flux,
|
2023-05-12 04:57:48 -05:00
|
|
|
DeferredLogger& deferred_logger) const override;
|
2021-09-13 03:58:50 -05:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
std::vector<Scalar>
|
2024-02-17 11:13:46 -06:00
|
|
|
computeWellPotentialWithTHP(const WellState<Scalar>& well_state,
|
|
|
|
const Simulator& simulator,
|
|
|
|
DeferredLogger& deferred_logger) const;
|
2019-04-23 06:30:12 -05:00
|
|
|
|
2024-02-06 04:55:07 -06:00
|
|
|
bool computeWellPotentialsImplicit(const Simulator& simulator,
|
2024-02-20 15:32:18 -06:00
|
|
|
std::vector<Scalar>& well_potentials,
|
|
|
|
DeferredLogger& deferred_logger) const;
|
|
|
|
|
|
|
|
Scalar getRefDensity() const override;
|
|
|
|
|
|
|
|
bool iterateWellEqWithControl(const Simulator& simulator,
|
|
|
|
const double dt,
|
|
|
|
const Well::InjectionControls& inj_controls,
|
|
|
|
const Well::ProductionControls& prod_controls,
|
|
|
|
WellState<Scalar>& well_state,
|
|
|
|
const GroupState<Scalar>& group_state,
|
|
|
|
DeferredLogger& deferred_logger) override;
|
|
|
|
|
|
|
|
bool iterateWellEqWithSwitching(const Simulator& simulator,
|
|
|
|
const double dt,
|
|
|
|
const Well::InjectionControls& inj_controls,
|
|
|
|
const Well::ProductionControls& prod_controls,
|
|
|
|
WellState<Scalar>& well_state,
|
|
|
|
const GroupState<Scalar>& group_state,
|
|
|
|
DeferredLogger& deferred_logger,
|
|
|
|
const bool fixed_control = false,
|
|
|
|
const bool fixed_status = false) override;
|
|
|
|
|
|
|
|
void assembleWellEqWithoutIteration(const Simulator& simulator,
|
|
|
|
const double dt,
|
|
|
|
const Well::InjectionControls& inj_controls,
|
|
|
|
const Well::ProductionControls& prod_controls,
|
|
|
|
WellState<Scalar>& well_state,
|
|
|
|
const GroupState<Scalar>& group_state,
|
|
|
|
DeferredLogger& deferred_logger) override;
|
|
|
|
|
|
|
|
void updateWaterThroughput(const double dt, WellState<Scalar>& well_state) const override;
|
2019-02-12 05:48:51 -06:00
|
|
|
|
2024-02-06 04:55:07 -06:00
|
|
|
EvalWell getSegmentSurfaceVolume(const Simulator& simulator, const int seg_idx) const;
|
2019-02-12 05:48:51 -06:00
|
|
|
|
2019-11-07 07:01:21 -06:00
|
|
|
// turn on crossflow to avoid singular well equations
|
|
|
|
// when the well is banned from cross-flow and the BHP is not properly initialized,
|
|
|
|
// we turn on crossflow to avoid singular well equations. It can result in wrong-signed
|
|
|
|
// well rates, it can cause problem for THP calculation
|
|
|
|
// TODO: looking for better alternative to avoid wrong-signed well rates
|
2024-02-06 04:55:07 -06:00
|
|
|
bool openCrossFlowAvoidSingularity(const Simulator& simulator) const;
|
2019-11-07 07:01:21 -06:00
|
|
|
|
|
|
|
// for a well, when all drawdown are in the wrong direction, then this well will not
|
|
|
|
// be able to produce/inject .
|
2024-02-06 04:55:07 -06:00
|
|
|
bool allDrawDownWrongDirection(const Simulator& simulator) const;
|
2019-11-07 07:01:21 -06:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
std::optional<Scalar>
|
2024-02-17 11:13:46 -06:00
|
|
|
computeBhpAtThpLimitProd(const WellState<Scalar>& well_state,
|
2024-02-20 15:32:18 -06:00
|
|
|
const Simulator& ebos_simulator,
|
2024-02-17 11:13:46 -06:00
|
|
|
const SummaryState& summary_state,
|
|
|
|
DeferredLogger& deferred_logger) const;
|
2020-02-19 04:02:13 -06:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
std::optional<Scalar>
|
|
|
|
computeBhpAtThpLimitInj(const Simulator& ebos_simulator,
|
2024-02-17 11:13:46 -06:00
|
|
|
const SummaryState& summary_state,
|
|
|
|
DeferredLogger& deferred_logger) const;
|
2019-11-18 09:33:10 -06:00
|
|
|
|
2024-02-20 15:32:18 -06:00
|
|
|
Scalar maxPerfPress(const Simulator& simulator) const;
|
2019-11-24 04:11:50 -06:00
|
|
|
|
2020-11-27 00:57:55 -06:00
|
|
|
// check whether the well is operable under BHP limit with current reservoir condition
|
2024-02-17 11:13:46 -06:00
|
|
|
void checkOperabilityUnderBHPLimit(const WellState<Scalar>& well_state,
|
|
|
|
const Simulator& ebos_simulator,
|
2024-02-06 04:55:07 -06:00
|
|
|
DeferredLogger& deferred_logger) override;
|
2020-11-27 00:57:55 -06:00
|
|
|
|
|
|
|
// check whether the well is operable under THP limit with current reservoir condition
|
2024-02-17 11:13:46 -06:00
|
|
|
void checkOperabilityUnderTHPLimit(const Simulator& ebos_simulator,
|
|
|
|
const WellState<Scalar>& well_state,
|
2024-02-06 04:55:07 -06:00
|
|
|
DeferredLogger& deferred_logger) override;
|
2020-11-27 00:57:55 -06:00
|
|
|
|
|
|
|
// updating the inflow based on the current reservoir condition
|
2024-02-17 11:13:46 -06:00
|
|
|
void updateIPR(const Simulator& ebos_simulator,
|
2024-02-06 04:55:07 -06:00
|
|
|
DeferredLogger& deferred_logger) const override;
|
2017-09-27 11:16:45 -05:00
|
|
|
};
|
2017-09-13 10:10:34 -05:00
|
|
|
|
2017-08-17 08:49:54 -05:00
|
|
|
}
|
|
|
|
|
2024-02-23 01:45:25 -06:00
|
|
|
#ifndef OPM_MULTISEGMENTWELL_IMPL_HEADER_INCLUDED
|
2017-08-17 08:49:54 -05:00
|
|
|
#include "MultisegmentWell_impl.hpp"
|
2024-02-23 01:45:25 -06:00
|
|
|
#endif
|
2017-08-17 08:49:54 -05:00
|
|
|
|
|
|
|
#endif // OPM_MULTISEGMENTWELL_HEADER_INCLUDED
|