-
Notifications
You must be signed in to change notification settings - Fork 3
Issue #798 partition ssm packages #819
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
Issue #798 partition ssm packages #819
Conversation
…gwt_exchanges # Conflicts: # imod/mf6/multimodel/exchange_creator.py # imod/mf6/simulation.py # imod/tests/test_mf6/test_multimodel/test_mf6_modelsplitter_transport.py
…ition_ssm_packages
…ition_ssm_packages
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.
One comment!
@@ -146,7 +146,7 @@ def from_flow_model( | |||
aux_var_names.append(species) | |||
|
|||
if len(names) == 0: | |||
raise ValueError("flow model does not contain boundary conditions") |
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 this appropriate behavior? Or required?
We can log a warning?
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.
before we implemented partitioning, this was a red flag. But now, we can have a partition which is not on the boundary, and it will not have flow boundaries, so it is not a red flag anymore.
Now we check if the model is being split. If it is split, then it is fine to not have flow boundary conditions in this transport domain, but when it is not split, an exception is thrown if this happens
review comment Co-authored-by: Joeri van Engelen <[email protected]>
Fixes #798
When we split a simulation of both flow and transport models, the ssm package of the transport simulation is re-generated after splitting, because not every flow boundary will be present in every partition.
Issue #nr
, e.g.Issue #737