mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use well index for brine perf rates
This commit is contained in:
@@ -845,7 +845,7 @@ namespace Opm
|
||||
cq_s_sm *= extendEval(intQuants.fluidState().saltConcentration());
|
||||
}
|
||||
// Note. Efficiency factor is handled in the output layer
|
||||
auto * perf_rate_brine = &well_state.perfRateBrine()[this->first_perf_];
|
||||
auto * perf_rate_brine = well_state.perfRateBrine(this->index_of_well_);
|
||||
perf_rate_brine[perf] = cq_s_sm.value();
|
||||
|
||||
cq_s_sm *= well_efficiency_factor_;
|
||||
|
||||
Reference in New Issue
Block a user