-
Notifications
You must be signed in to change notification settings - Fork 117
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(UzfCellGroup): SQUARE_GWET option records ET as inflow instead of outflow #1951
base: develop
Are you sure you want to change the base?
Conversation
Some further notes on GWET as calculated by UZF: For the
Also, note that in the call to
the last line will always be trhs (shorthand for "total uzf rhs contribution to GWF model") minus 0.0 since thcof will remain at its initialized value of |
47da2ef
to
c7b5b1c
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.
Nice job digging this out. Couple of comments included in this review.
@@ -875,18 +877,19 @@ subroutine simgwet(this, igwetflag, icell, hgwf, trhs, thcof, det) | |||
this%celtop(icell), this%celbot(icell)) | |||
else if (igwetflag == 2) then | |||
et = etfunc_nlin(s, x, c, det, trhs, thcof, hgwf) |
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 any way to adjust etfunc_lin
and etfunc_nlin
so that they return hcof
, rhs
, and rate
in a way that is consistent with one another? It's unfortunate that there has to be sign shenanigans on the outside of the calls to these routines. Just a thought.
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.
Have shifted etfunc_lin
and etfunc_nlin
over to a dedicated file that is included in the unit testing.
27b869e
to
b9e7a00
Compare
08f6c61
to
32257db
Compare
5026191
to
5a61c2b
Compare
a7ba206
to
cba0802
Compare
cba0802
to
0ace324
Compare
0ace324
to
f7e1a16
Compare
4d6e43b
to
eca2a78
Compare
e03ff70
to
6a306d5
Compare
Added a new test problem with checks to ensure the |
6a306d5
to
60363e5
Compare
GWET values calculated using the SQUARE_GWET option in the UZF options block had the wrong sign.
ruff
on new and modified python scripts in autotests subdirectory.fprettify