mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Post review update
This commit is contained in:
parent
62ac4dc663
commit
62de832e8b
@ -772,8 +772,8 @@ pressureDropValve(const int seg,
|
||||
const SummaryState& summary_state,
|
||||
const bool extra_reverse_flow_derivatives /*false*/) const
|
||||
{
|
||||
Opm::WellSegments& segment_set = well_.wellEcl().getSegments();
|
||||
Valve& valve = segment_set[seg].valve();
|
||||
const Opm::WellSegments& segment_set = well_.wellEcl().getSegments();
|
||||
const Valve& valve = segment_set[seg].valve();
|
||||
|
||||
EvalWell mass_rate = mass_rates_[seg];
|
||||
const int seg_upwind = upwinding_segments_[seg];
|
||||
@ -815,7 +815,7 @@ pressureDropValve(const int seg,
|
||||
const EvalWell friction_pressure_loss =
|
||||
mswellhelpers::frictionPressureLoss(additional_length, diameter, area, roughness, density, mass_rate, visc);
|
||||
|
||||
const ValveUDAEval uda_eval {summary_state, this->well_.name(), static_cast<size_t>(seg)};
|
||||
const ValveUDAEval uda_eval {summary_state, this->well_.name(), segment_set[seg].segmentNumber()};
|
||||
const double area_con = valve.conCrossArea(uda_eval);
|
||||
const double cv = valve.conFlowCoefficient();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user