Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing running with CO2Store + water + gas + AquiferCarterTracy #4580

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

GitPaean
Copy link
Member

@GitPaean GitPaean commented Apr 3, 2023

No description provided.

@GitPaean
Copy link
Member Author

GitPaean commented Apr 3, 2023

jenkins build this please

Scalar rsw = 0.;
waterViscosity = FluidSystem::waterPvt().viscosity(pvtRegionIdx(), temp, press, rsw, salt);
} else {
OPM_THROW(std::runtime_error, "water or oil phase is needed to run CO2Store.");
Copy link
Member Author

Choose a reason for hiding this comment

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

I tried to do some sanity checking in the constructor functions for AquiferInterface, but somehow FluidSystem::phaseIsActive() does not work there. Not sure why.

@bska bska requested a review from totto82 April 3, 2023 10:47
@GitPaean
Copy link
Member Author

GitPaean commented Apr 3, 2023

It needs some update from the opm-common.

@GitPaean
Copy link
Member Author

GitPaean commented Apr 3, 2023

jenkins build this please

@totto82
Copy link
Member

totto82 commented Apr 11, 2023

Thanks. The code looks reasonable and it fixes the problem.

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.

2 participants