mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-14 02:23:27 -06:00
This commit adds support for reporting the simulator's guiderate values at the well and group levels to the output layer through the wellData() and groupData() member functions. We add several new member functions that collectively assemble the values and assign them to objects of type Opm::data::GuideRateValue for subsequent output to the summary and restart files. In particular getGuideRateValues(const Well&) const getGuideRateValues(const Group&) const retrieve the guiderate values for all phases for those individual wells and groups for which the guideRate_ data member defines a value. The most complicated function of this commit is calculateAllGroupGuideRates which aggregates those individual contributions from the well (leaf) level up to the root of the group tree (the FIELD group). This process uses an ancillary array ('up') to keep track of the parent groups of all wells and all groups, and to ensure that we only visit each parent group once (sort+unique on subsets of the 'up' array). We do not currently support outputting guiderates for reservoir voidage volume (GuideRateModel::Target::RES). |
||
---|---|---|
.. | ||
BlackoilWellModel_impl.hpp | ||
BlackoilWellModel.hpp | ||
MSWellHelpers.hpp | ||
MultisegmentWell_impl.hpp | ||
MultisegmentWell.hpp | ||
PerforationData.hpp | ||
RateConverter.hpp | ||
SimFIBODetails.hpp | ||
StandardWell_impl.hpp | ||
StandardWell.hpp | ||
TargetCalculator.hpp | ||
VFPHelpers.hpp | ||
VFPInjProperties.cpp | ||
VFPInjProperties.hpp | ||
VFPProdProperties.cpp | ||
VFPProdProperties.hpp | ||
VFPProperties.hpp | ||
WellConnectionAuxiliaryModule.hpp | ||
WellGroupHelpers.cpp | ||
WellGroupHelpers.hpp | ||
WellHelpers.hpp | ||
WellInterface_impl.hpp | ||
WellInterface.hpp | ||
WellState.hpp | ||
WellStateFullyImplicitBlackoil.hpp |