hstepsize and nstepsize #150
Replies: 3 comments
-
|
Hi @Hydrogeologist, If possible, could you maybe share some figures showing the differences you are seeing? You're right about nstepmax. I thought TimML would tell you when a trace reaches nstepmax by printing a message but turns out it only does so if You can always inspect the traces yourself by setting w = timml.Well(...)
# ... solve model etc.
traces = w.plotcapzone(
nt=20, # number of pathlines
tmax=20 * 365.25, # maximum time, days
color="C1",
return_traces=True,
metadata=True
)
[i["message"] for i in traces] # show termination messagesAs for hstepmax, I'm not entirely sure about all the details as to how its used, but it represents the maximum horizontal step a pathline can take, so I think your analysis is correct and it should be based on your domain size. Smaller is more accurate but requires more computation time. So maybe a bit of trial and error is needed to find a good value for your problem. I guess once you find something that looks realistic, you could check by halving Hope that helps a little. And maybe @mbakker7 has some more insights. |
Beta Was this translation helpful? Give feedback.
-
|
A pathline will also terminate when This can all be better explained in the docs. Maybe a 'HowTo' for pathlines and capture zones would be useful. Feel free to submit a notebook with such a HowTo if you want! Thanks for a good question! |
Beta Was this translation helpful? Give feedback.
-
|
Please note that I converted this from an Issue to a Discussion |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m using TimML to generate capture zones, and I’m seeing that the capture-zone shape changes noticeably when I modify hstepmax and nstepmax.
What is the recommended way to choose optimal values for these two parameters?
Should hstepmax be treated like a numerical tolerance (e.g., based on domain size), and should nstepmax simply be set large enough to avoid premature termination?
Any guidance or rule-of-thumb values would be appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions