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

Fix wetting phase hysteresis #4160

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Fix wetting phase hysteresis #4160

merged 1 commit into from
Aug 16, 2024

Conversation

totto82
Copy link
Member

@totto82 totto82 commented Aug 12, 2024

Follow the formulation as in Killough 1976 more naivly

Most importantly the nonwetting phase saturation is used to determine the turning points.

@totto82
Copy link
Member Author

totto82 commented Aug 12, 2024

jenkins build this please

@totto82
Copy link
Member Author

totto82 commented Aug 13, 2024

jenkins build this please

@totto82 totto82 requested a review from bska August 13, 2024 15:14
Copy link
Member

@bska bska left a comment

Choose a reason for hiding this comment

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

I have no particular opinion on the code itself, but the PR description leaves a little something to be desired in my opinion

Follow the formulation as in Killough 1976 more naivly

What does "naively" mean in this context? Did you mean "closely" or some other adjective adverb?

@totto82
Copy link
Member Author

totto82 commented Aug 15, 2024

"Accuracy " or "correctly" is maybe better. I misunderstood some details in the first implementation and mixed-up the formulation when I tried to simplify it a bit. This time I just "naively" implement it as written in the paper.

@bska
Copy link
Member

bska commented Aug 15, 2024

I misunderstood some details in the first implementation and mixed-up the formulation when I tried to simplify it a bit. This time I just "naively" implement it as written in the paper.

Ah, okay, so maybe "faithfully" would be a more accurate description?

@totto82
Copy link
Member Author

totto82 commented Aug 16, 2024

I have no particular opinion on the code itself

Should I interpret this as an approval. I.e. Can I merge this?

@bska
Copy link
Member

bska commented Aug 16, 2024

I have no particular opinion on the code itself

Should I interpret this as an approval. I.e. Can I merge this?

Please amend the commit message with a more descriptive word than "naively". Then this is good to go.

Follow the formulation as in Killough 1976 more faithfully

The earlier implementation contained some bugs and simplifications
that this commit fixes.

Most importantly the nonwetting phase saturation is used to determine
the turning points also for the wetting phase hysteresis.
@totto82
Copy link
Member Author

totto82 commented Aug 16, 2024

jenkins build this please

2 similar comments
@bska
Copy link
Member

bska commented Aug 16, 2024

jenkins build this please

@bska
Copy link
Member

bska commented Aug 16, 2024

jenkins build this please

Copy link
Member

@bska bska left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the updates. This looks good to me now and I'll merge into master.

@bska bska merged commit 30af12d into OPM:master Aug 16, 2024
1 check passed
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