48 using Scalar =
typename FluidSystem::Scalar;
49 using EvalWell =
typename PrimaryVariables::EvalWell;
56 void computeFluidProperties(
const EvalWell& temperature,
57 const EvalWell& saltConcentration,
65 EvalWell getHydroPressureLoss(
const int seg,
72 EvalWell getSurfaceVolume(
const EvalWell& temperature,
73 const EvalWell& saltConcentration,
78 EvalWell getFrictionPressureLoss(
const int seg,
82 EvalWell pressureDropSpiralICD(
const int seg,
86 EvalWell pressureDropAutoICD(
const int seg,
91 EvalWell pressureDropValve(
const int seg,
96 EvalWell accelerationPressureLossContribution(
const int seg,
100 const std::vector<std::vector<int>>& inlets()
const
105 const std::vector<int>& inlets(
const int seg)
const
110 const std::vector<std::vector<int>>& perforations()
const
112 return perforations_;
115 int upwinding_segment(
const int seg)
const
117 return upwinding_segments_[
seg];
120 Scalar getRefDensity()
const
122 return densities_[0].value();
125 const EvalWell& density(
const int seg)
const
127 return densities_[
seg];
148 std::vector<std::vector<int>> perforations_;
156 std::vector<Scalar> local_perforation_depth_diffs_;
159 std::vector<std::vector<int>> inlets_;
161 std::vector<Scalar> depth_diffs_;
165 std::vector<EvalWell> densities_;
168 std::vector<EvalWell> mass_rates_;
171 std::vector<EvalWell> viscosities_;
174 std::vector<int> upwinding_segments_;
176 std::vector<std::vector<EvalWell>> phase_densities_;
177 std::vector<std::vector<EvalWell>> phase_fractions_;
178 std::vector<std::vector<EvalWell>> phase_viscosities_;
182 void copyPhaseDensities(
const unsigned phaseIdx,
186 Scalar mixtureDensity(
const int seg)
const;
187 Scalar mixtureDensityWithExponents(
const int seg)
const;
188 Scalar mixtureDensityWithExponents(
const AutoICD&
aicd,
const int seg)
const;
Scalar getPressureDiffSegLocalPerf(const int seg, const int local_perf_index) const
Pressure difference between segment and perforation.
Definition MultisegmentWellSegments.cpp:350
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242