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

use DENSITY in CO2STORE runs #3879

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

totto82
Copy link
Member

@totto82 totto82 commented Jan 29, 2024

In the current implementation the surface density is computed internally using pressure and temperature at stcond and thus DENSITY is ignored. Sometimes it may be beneficial for the user to set the surface density themselves. For instance to make sure that injection rates are consistent etc. This PR changes the behavior of the CO2STORE such that it reads and uses the given surface density from the DENSITY keyword and only compute it internally if DENSITY is not given.

@totto82
Copy link
Member Author

totto82 commented Jan 30, 2024

jenkins build this please

1 similar comment
@totto82
Copy link
Member Author

totto82 commented Feb 2, 2024

jenkins build this please

@totto82
Copy link
Member Author

totto82 commented Apr 15, 2024

jenkins build this please

@totto82 totto82 requested a review from alfbr April 15, 2024 07:31
const Scalar MmNaCl = 58.44e-3; // molar mass of NaCl [kg/mol]
// convert to mass fraction
salinity_[regionIdx] = 1 / ( 1 + 1 / (molality*MmNaCl));

Copy link
Member Author

Choose a reason for hiding this comment

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

This sets the salinity used by the brine module to compute the fraction of vaporized water in the gas phase. This makes the brine module consistent with the CO2 module. Test is also the reason for the test failure.

@totto82 totto82 modified the milestone: Release 2024.04 Apr 15, 2024
@atgeirr
Copy link
Member

atgeirr commented Apr 19, 2024

In the current version, what is the value of surface density that is calculated?

@totto82
Copy link
Member Author

totto82 commented Apr 19, 2024

In the current version, what is the value of surface density that is calculated?

It is shown in the top of the .PRT file. (It computes it from pressure and temperature in STCOND(usually defaulted))

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.

None yet

2 participants