Skip to content

Add Aquifer Category#1639

Merged
joakim-hove merged 1 commit intoOPM:masterfrom
wito:add-aquifer-category
Mar 26, 2020
Merged

Add Aquifer Category#1639
joakim-hove merged 1 commit intoOPM:masterfrom
wito:add-aquifer-category

Conversation

@wito
Copy link
Contributor

@wito wito commented Mar 26, 2020

This feature adds ::Aquifer to Opm::EclIO::SummaryNode::Category (and, by extension, to Opm::SummaryConfigNode::Category.

This PR requires the resolution of #1609.


case Opm::EclIO::SummaryNode::Category::Block:
case Opm::EclIO::SummaryNode::Category::Aquifer: [[fallthrough]];
case Opm::EclIO::SummaryNode::Category::Block: [[fallthrough]];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This corrects an oversight where [[fallthrough]] was originally omitted from this case.

@wito
Copy link
Contributor Author

wito commented Mar 26, 2020

jenkins build this please

@@ -819,6 +820,7 @@ SummaryConfigNode::Category parseKeywordCategory(const std::string& keyword) {
if (is_special(keyword)) { return Cat::Miscellaneous; }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of the keywords checked in is_special currently start with A; is this because aquifer keywords have not been supported, or is this because there are no keywords in SUMMARY that can start with A other than aquifer keywords?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this because there are no keywords in SUMMARY that can start with A other than aquifer keywords?

Until proven otherwise I would say it is like this - i.e. all legal SUMMARY keywords starting with 'A' are aquifer keywords.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this because aquifer keywords have not been supported, or is this because there are no keywords in SUMMARY that can start with A other than aquifer keywords?

Both. Flow does not create any kind of aquifer-related output—neither to the summary nor to the restart files. We have (very) limited support for reading parameters of the Fetkovich analytic model from a restart file—I needed that in a different project—but writing is unsupported at present. There is a lot of work ahead of us before we can reasonably claim to fully support aquifer workflows.

Writing restart data for aquifers is on my plate.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I will at this time leave is_special() as is.

@wito wito force-pushed the add-aquifer-category branch from 8705a7b to 4e08ff7 Compare March 26, 2020 10:36
@wito wito marked this pull request as ready for review March 26, 2020 10:36
@wito
Copy link
Contributor Author

wito commented Mar 26, 2020

jenkins build this please

@joakim-hove joakim-hove merged commit 6ffb588 into OPM:master Mar 26, 2020
@wito wito deleted the add-aquifer-category branch March 26, 2020 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants