Track Per-Region Cumulative Oil Production From Wells - #7293
Draft
bska wants to merge 3 commits into
Draft
Conversation
Member
Author
|
I'm creating this PR in draft mode for two reasons:
I will keep the PR a draft state until such time as it is ready for review and merging. |
bska
force-pushed
the
roew-no-copt
branch
2 times, most recently
from
August 7, 2026 11:45
64cb25d to
a730569
Compare
This commit introduces an MPI-aware version of class
Opm::data::RegionsetVariableDescriptor
The primary extension to the base class is that this version
implements a non-trivial communicateGlobalRegsetMaxIDs() member
function that calculates maximum region IDs for all region sets
across MPI ranks. The same features and restrictions that apply to
the base class also apply to this derived type.
This commit introduces an MPI-aware version of class
Opm::data::RegionVariableValues
The primary extension to the base class is that this version
implements a non-trivial communicateIncrement() member function that
incorporates cross-rank value contributions to all variables for all
regions in all region sets. The same features and restrictions that
apply to the base class also apply to this derived type.
This commit maintains a record of the cumulative produced volume of oil attributable to each region of each defined region set. To this end, we define a special purpose "ConnOPT" region-level summary variable and update this at the end of each converged time step as needed. The variable is defined only if the run requests any of the *OEW* recovery factor summary vectors. In that case, we forward the dynamic values to the summary vector calculation engine in the I/O layer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR maintains a record of the cumulative produced volume of oil attributable to each region of each defined region set. To this end, we define a special purpose
ConnOPTregion-level summary variable (OPM/opm-common#5279) and update this at the end of each converged time step as needed. The variable is defined only if the run requests any of the*OEW*recovery factor summary vectors.In that case, we forward the dynamic values to the summary vector calculation engine in the I/O layer.