24#ifndef OPM_WELLINTERFACE_FLUID_SYSTEM_HEADER_INCLUDED
25#define OPM_WELLINTERFACE_FLUID_SYSTEM_HEADER_INCLUDED
27#include <opm/simulators/wells/WellInterfaceGeneric.hpp>
29#include <opm/simulators/utils/BlackoilPhases.hpp>
37namespace RateConverter
39 template <
class Flu
idSystem,
class Region>
class SurfaceToReservoirVoidage;
43template<
class Scalar>
class GroupState;
45struct RatioLimitCheckReport;
46template<
class Scalar>
class SingleWellState;
47template<
class Scalar>
class WellState;
49template<
class Flu
idSystem>
54 SurfaceToReservoirVoidage<FluidSystem, std::vector<int>>;
56 static constexpr int INVALIDCOMPLETION = std::numeric_limits<int>::max();
59 using Scalar =
typename FluidSystem::Scalar;
62 int flowPhaseToModelPhaseIdx(
const int phaseIdx)
const;
64 static constexpr int Water = BlackoilPhases::Aqua;
65 static constexpr int Oil = BlackoilPhases::Liquid;
66 static constexpr int Gas = BlackoilPhases::Vapour;
70 return rateConverter_;
77 const ModelParameters& param,
79 const int pvtRegionIdx,
91 const std::optional<Well::InjectionControls>&
inj_controls = std::nullopt,
92 const std::optional<Well::ProductionControls>&
prod_controls = std::nullopt)
const;
106 std::optional<Scalar>
107 getGroupInjectionTargetRate(
const Group& group,
117 getGroupProductionTargetRate(
const Group& group,
Definition DeferredLogger.hpp:57
Definition GroupState.hpp:38
Class encapsulating some information about parallel wells.
Definition ParallelWellInfo.hpp:186
Convert component rates at surface conditions to phase (voidage) rates at reservoir conditions.
Definition RateConverter.hpp:71
Definition SingleWellState.hpp:42
Definition WellInterfaceFluidSystem.hpp:51
Definition WellInterfaceGeneric.hpp:52
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:62
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
Solver parameters for the BlackoilModel.
Definition BlackoilModelParameters.hpp:162
Static data associated with a well perforation.
Definition PerforationData.hpp:30