-
Notifications
You must be signed in to change notification settings - Fork 2
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
Constant PVT Table #416
base: master
Are you sure you want to change the base?
Constant PVT Table #416
Conversation
ac427ae
to
175f770
Compare
0962be3
to
79b381b
Compare
707e8e7
to
eb832ef
Compare
9243a0b
to
eb832ef
Compare
dcbfd0f
to
8982476
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work @caio-ramos.
oil_specific_heat = attrib_scalar(default=Scalar(4181.3, "J/kg.K")) | ||
water_specific_heat = attrib_scalar(default=Scalar(4181.3, "J/kg.K")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are specific heat values really identical for oil and water?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I'm not sure. To define these values, I adopted the values already available in the arguments of the create_constant function
gas_oil_surface_tension = attrib_scalar(default=Scalar(7.197e-2, "N/m")) | ||
gas_water_surface_tension = attrib_scalar(default=Scalar(7.197e-2, "N/m")) | ||
oil_water_surface_tension = attrib_scalar(default=Scalar(7.197e-2, "N/m")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there some motive to consider the same value for surface tension for all the phases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, the reason why these values are here is the same as for oil_specific_heat
and water_specific_heat
:"kW.h/tonUK": kilowatt hours/U.S. ton | ||
:"kW.h/tonUS": kilowatt hours/U.S. ton |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are descriptions for tonUK
and tonUS
identical?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These descriptions are defined based on the barril
repository. Looking at the specific energy
unit database ( barril/units/posc), we can see that they are identical, which I believe is incorrect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created the issue ESSS/barril#165 in the barril
repository to report this problem..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI we do not look at the repository issues when we plan our sprints, so if you want to see that fixed eventually, you need to create a JIRA issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
a020699
to
c0d1796
Compare
Quality Gate passedIssues Measures |
Here are the features required to allow https://github.com/ESSS/alfasim/pull/796 work properly.
A new PVT model description is added, so user-defined properties can be stored and used to generate a PVT Table with constant properties.