-
Notifications
You must be signed in to change notification settings - Fork 105
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
Bug fix/hyd cond #436
Bug fix/hyd cond #436
Conversation
Could we simply set the conductivity to zero in this case? And maybe issue a warning? |
@arbennett : Which conductivity would be set to 0? Wouldn't it be easier to set the
|
@bartnijssen yes, this is a good idea. A better solution. It means that the model does not stop. |
Yeah, I agree, @bartnijssen that sounds like a good solution. |
Yeah, that was my suggestion earlier too ...
…On Thu, Dec 3, 2020 at 3:15 PM Andrew Bennett ***@***.***> wrote:
Yeah, I agree, @bartnijssen <https://github.com/bartnijssen> that sounds
like a good solution.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#436 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABIKARN2IIMFPMGURCXHLRTSTAEWZANCNFSM4SS3FGPA>
.
|
I would also expand the message, to "hydraulic conductivity for macropores
(VALUE) is less than the hydraulic conductivity for micropores (VALUE):
resetting macropore conductivity to equal micropore value" and even give
the gru/hru id if that's handy in the routine.
…On Fri, Dec 4, 2020 at 8:55 AM Andrew Wood ***@***.***> wrote:
Yeah, that was my suggestion earlier too ...
On Thu, Dec 3, 2020 at 3:15 PM Andrew Bennett ***@***.***>
wrote:
> Yeah, I agree, @bartnijssen <https://github.com/bartnijssen> that sounds
> like a good solution.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#436 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABIKARN2IIMFPMGURCXHLRTSTAEWZANCNFSM4SS3FGPA>
> .
>
|
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.
It seems @andywood, @bartnijssen, and myself all would like to see the workaround so that this doesn't stop the simulation. I think what we really want to ensure is that at line 1031 of soilLiqFlxf.90
:
scalarHydCond = max(hydCond_noIce*iceImpedeFac + scalarHydCondMP, 0.0_dp) # or maybe some tiny value
Though, doing the above is just treating a symptom. I remember when running into this previously I had seen very divergent matric head values, so that might be worth tracking down.
Implemented changes in a separate PR |
The code to compute hydraulic conductivity in macropores is
which means that the hydraulic conductivity for macropores will be negative if the conductivity for macropores is greater than for micropores.
The total hydraulic conductivity is
and the total conductivity can be negative if there is substantial ice impedance.
It is a good idea to require that the conductivity for macropores be greater than for micropores.