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

bug:SSM Package Incorrectly Assigned in Model Splitter #2474

Open
vharilal025 opened this issue Mar 13, 2025 · 1 comment
Open

bug:SSM Package Incorrectly Assigned in Model Splitter #2474

vharilal025 opened this issue Mar 13, 2025 · 1 comment
Labels

Comments

@vharilal025
Copy link

vharilal025 commented Mar 13, 2025

Describe the bug
I was trying to run a seawater intrusion model simulation using MODFLOW 6.
In my setup: The left boundary represents freshwater inflow, modeled using the Well (WEL) package.
The right boundary represents tidal fluctuations, simulated using the General-Head Boundary (GHB) package.
When using mf6split.split_multi_model() to divide the model into subdomains, the Sink and Source Mixing (SSM) package does not correctly update source/sink assignments in the split models.

After splitting, the left model should retain only the WEL package, and the right model should retain only the GHB package.
Actual Behavior: The right model incorrectly contains WEL, and the left model incorrectly contains GHB, even though these boundary conditions should belong to separate subdomains.
This leads to errors like flow package cannot be found in each model as

ERROR REPORT:

  1. Flow package cannot be found: GHB-1

UNIT ERROR REPORT:

  1. Error occurred while reading file 'trans_0.ssm'

and

ERROR REPORT:

  1. Flow package cannot be found: WEL-1

UNIT ERROR REPORT:

  1. Error occurred while reading file `'trans_1.ssm'`

To Reproduce
tide_0.095_meter_parallel (1).zip

Run the jupyterscript for the seawater intrusion model.

Screenshots
The generated SSM files looks as.
Image

Desktop :

  • OS: Windows
  • flopy version 3.9.2
@jlarsen-usgs
Copy link
Contributor

jlarsen-usgs commented Mar 14, 2025

PR #2465 includes updates for SSM package remapping which fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants