22 #ifndef RATIO_CALCULATOR_HPP 23 #define RATIO_CALCULATOR_HPP 25 #include <opm/material/densead/Math.hpp> 28 #include <string_view> 34 template<
class Scalar>
struct PerforationRates;
40 using Scalar = decltype(getValue(Value{}));
45 std::string_view name);
47 void disOilVapWatVolumeRatio(Value& volumeRatio,
50 const Value& pressure,
51 const std::vector<Value>& cmix_s,
52 const std::vector<Value>& b_perfcells_dense,
55 void gasOilPerfRateInj(
const std::vector<Value>& cq_s,
59 const Value& pressure,
61 const bool waterActive,
64 void gasOilPerfRateProd(std::vector<Value>& cq_s,
69 const bool waterActive,
70 const bool isProducer)
const;
72 void gasOilVolumeRatio(Value& volumeRatio,
75 const Value& pressure,
76 const std::vector<Value>& cmix_s,
77 const std::vector<Value>& b_perfcells_dense,
80 void gasWaterPerfRateInj(
const std::vector<Value>& cq_s,
84 const Value& pressure,
87 void gasWaterPerfRateProd(std::vector<Value>& cq_s,
91 const bool isProducer)
const;
102 #endif // RATIO_CALCULATOR_HPP This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
Definition: PerforationData.hpp:40
Definition: DeferredLogger.hpp:56
Definition: RatioCalculator.hpp:37